Package: dpkg
Version: 1.14.18
Severity: important

It's the second time that someone is reporting me such problems, so they
are worth investigating IMO.

After some operation, they end up with a system where the status file has
a package with a status "install ok triggers-awaited":
(sid)[EMAIL PROTECTED]:~$ dpkg -s debianutils
Package: debianutils
Essential: yes
Status: install ok triggers-awaited
Priority: required
Section: utils
Installed-Size: 276
Maintainer: Clint Adams <[EMAIL PROTECTED]>
Architecture: mips
Version: 2.30
Pre-Depends: libc6 (>= 2.7-1)
Description: Miscellaneous utilities specific to Debian
 This package provides a number of small utilities which are used
 primarily by the installation scripts of Debian packages, although
 you may use them directly.
 .
 The specific utilities included are: installkernel mkboot run-parts
 savelog sensible-browser sensible-editor sensible-pager tempfile
 which.
Triggers-Awaited: man-db

But the corresponding package has no triggers-pending:
(sid)[EMAIL PROTECTED]:~$ dpkg -s man-db 
Package: man-db
Status: install ok installed
Priority: important
Section: doc
Installed-Size: 2816
Maintainer: Colin Watson <[EMAIL PROTECTED]>
Architecture: mips
Version: 2.5.2-1
Replaces: man, manpages-de (<< 0.5-4), nlsutils
Provides: man, man-browser
Depends: groff-base (>= 1.17.2-2), bsdmainutils, debconf (>= 1.2.0) | 
debconf-2.0, dpkg (>= 1.9.0), libc6 (>= 2.7-1), libgdbm3, zlib1g (>= 1:1.1.4)
Suggests: groff, less, www-browser
Conflicts: man, suidmanager (<< 0.50)
Conffiles:
 /etc/cron.weekly/man-db abb6867338adafff84d4474adf36bbc1
 /etc/manpath.config 220ffd7853c7c0c7fb71e6c25d15ab97
 /etc/cron.daily/man-db f0ee460b382f31d76813da3c68d5b7e5
Description: on-line manual pager
 This package provides the man command, the primary way of examining the
 on-line help files (manual pages). Other utilities provided include the
 whatis and apropos commands for searching the manual page database, the
 manpath utility for determining the manual page search path, and the
 maintenance utilities mandb, catman and zsoelim. man-db uses the groff
 suite of programs to format and display the manual pages.

"dpkg --configure debianutils" will fail but not "dpkg --configure -a" (it
simply skips the package presumably because it's not in a state where it can be
configured).

Here's the log given to me by weasel:
[sid] casals:/# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  cpp cpp-3.4 cpp-4.3 devscripts file g++ g++-4.3 gcc gcc-3.4 gcc-3.4-base
  gcc-4.3 gcc-4.3-base libcurl3 libgcc1 libgcj-bc libgcj-common libgcj9-jar
  libgd2-noxpm libgd2-noxpm-dev libgfortran3 libgomp1 libkpathsea4 libmagic1
  libncurses5 libncurses5-dev libncursesw5 libncursesw5-dev libpango1.0-common
  libpoppler3 libstdc++6 libstdc++6-4.3-dev linux-headers-2.6.25-2-4kc-malta
  linux-headers-2.6.25-2-5kc-malta linux-headers-2.6.25-2-all
  linux-headers-2.6.25-2-all-mips linux-headers-2.6.25-2-common
  linux-headers-2.6.25-2-r4k-ip22 linux-headers-2.6.25-2-r5k-ip32
  linux-headers-2.6.25-2-sb1-bcm91250a linux-headers-2.6.25-2-sb1a-bcm91480b
  linux-libc-dev manpages ncurses-base ncurses-bin ncurses-term python-support
  texlive-base-bin texlive-doc-base wget
49 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/39.4MB of archives.
After this operation, 20.5kB disk space will be freed.
Do you want to continue [Y/n]?
Extracting templates from packages: 100%
dpkg: error processing debianutils (--configure):
 package debianutils is not ready for configuration
 cannot configure (current status `triggers-awaited')
Errors were encountered while processing:
 debianutils
E: Sub-process /usr/bin/dpkg returned an error code (1)
[sid] casals:/# dpkg --configure -a
[sid] casals:/# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  cpp cpp-3.4 cpp-4.3 devscripts file g++ g++-4.3 gcc gcc-3.4 gcc-3.4-base
  gcc-4.3 gcc-4.3-base libcurl3 libgcc1 libgcj-bc libgcj-common libgcj9-jar
  libgd2-noxpm libgd2-noxpm-dev libgfortran3 libgomp1 libkpathsea4 libmagic1
  libncurses5 libncurses5-dev libncursesw5 libncursesw5-dev libpango1.0-common
  libpoppler3 libstdc++6 libstdc++6-4.3-dev linux-headers-2.6.25-2-4kc-malta
  linux-headers-2.6.25-2-5kc-malta linux-headers-2.6.25-2-all
  linux-headers-2.6.25-2-all-mips linux-headers-2.6.25-2-common
  linux-headers-2.6.25-2-r4k-ip22 linux-headers-2.6.25-2-r5k-ip32
  linux-headers-2.6.25-2-sb1-bcm91250a linux-headers-2.6.25-2-sb1a-bcm91480b
  linux-libc-dev manpages ncurses-base ncurses-bin ncurses-term python-support
  texlive-base-bin texlive-doc-base wget
49 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/39.4MB of archives.
After this operation, 20.5kB disk space will be freed.
Do you want to continue [Y/n]? 
Extracting templates from packages: 100%
dpkg: error processing debianutils (--configure):
 package debianutils is not ready for configuration
 cannot configure (current status `triggers-awaited')
Errors were encountered while processing:
 debianutils
E: Sub-process /usr/bin/dpkg returned an error code (1)

The work-around to get out of this situation is to dpkg -i debianutils_*.deb
again to force a come-back to status unpacked and let dpkg process trigger
correctly this time.

Funnily dpkg --audit recommends to run dpkg --configure --pending:
(sid)[EMAIL PROTECTED]:~$ dpkg -C      
The following packages are awaiting processing of triggers that they
have activated in other packages.  This processing can be requested using
dselect or dpkg --configure --pending (or dpkg --triggers-only):
 debianutils          Miscellaneous utilities specific to Debian

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to