package dpkg
tags 526774 - moreinfo unreproducible
found 526774 1.15.4
thanks

As APT with 0.7.24 now also include some experimental options to
make more aggressive use of the dpkg triggers you can now reproduce
it also with APT.  (it avoids the problem by running
dpkg --triggers-only --pending all the time but i added that more
as workaround than as a proper solution (see apt.conf (5) for details))

The "problem" is:
"Packages in `triggers-awaited' do not satisfy Depends dependencies."
(/usr/share/doc/dpkg/triggers.txt.gz - Details - triggering package)
[I suspect this also applies to Pre-Depends.]

--configure currently handles that as it run the triggers of the
dependencies before configuring the package itself, but
--unpack doesn't do that for the Pre-Depends of the package.

A simple transcript how to reproduce it with diff and diffutils:
(but as Eugene V. Lyubimkin already said you can reproduce it
 with any master-pre-depends-on-slave combination.)

r...@dsklap:/var/cache/apt/archives# export PS1="root# "
root# export LANG=C
root# dpkg --audit
root# dpkg -l dpkg diff diffutils
ii  diff       1:2.8.1-17  dummy transitional package for diff -> diffutils
ii  diffutils  1:2.8.1-17  File comparison utilities
ii  dpkg       1.15.4      Debian package management system
root#
root# dpkg --unpack --no-triggers diffutils_1%3a2.8.1-18_i386.deb
(Reading database ... 321105 files and directories currently installed.)
Preparing to replace diffutils 1:2.8.1-17 (using
diffutils_1%3a2.8.1-18_i386.deb) ...
Unpacking replacement diffutils ...
root#
root# dpkg --configure diffutils
Setting up diffutils (1:2.8.1-18) ...
root#
root# dpkg -l dpkg diff diffutils
ii  diff       1:2.8.1-17  dummy transitional package for diff -> diffutils
iW  diffutils  1:2.8.1-18  File comparison utilities
ii  dpkg       1.15.4      Debian package management system
root#
root# dpkg --audit
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):
 diffutils            File comparison utilities

The following packages have been triggered, but the trigger processing
has not yet been done.  Trigger processing can be requested using
dselect or dpkg --configure --pending (or dpkg --triggers-only):
 man-db               on-line manual pager

root#
root# dpkg --unpack diff_1%3a2.8.1-18_all.deb
dpkg: regarding diff_1%3a2.8.1-18_all.deb containing diff,
pre-dependency problem:
 diff pre-depends on diffutils
  diffutils is unpacked, but has never been configured.
dpkg: error processing diff_1%3a2.8.1-18_all.deb (--unpack):
 pre-dependency problem - not installing diff
Errors were encountered while processing:
 diff_1%3a2.8.1-18_all.deb


(Note that APT would add --no-triggers to all these calls as suggested
 in triggers.txt, but as only the first call needs the flag to setup the
 problem-condition i have omitted the flag for the rest of the calls.)


Best regards / Mit freundlichen Grüßen,

David "DonKult" Kalnischkies



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to