Your message dated Thu, 23 Oct 2014 00:34:00 +0000
with message-id <e1xh6lo-0005z9...@franck.debian.org>
and subject line Bug#766242: fixed in dpkg 1.17.20
has caused the Debian Bug report #766242,
regarding circular dependencies causes "dpkg --configure -a" to go into a tight
loop
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
766242: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766242
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dpkg
Version: 1.17.19
Severity: critical
Justification: breaks unrelated software
Dear Maintainer,
The problem is manifest when I run the command "dpkg --configure -a". Doing
this, the command produces no output but I see that it running flat-out on a
single core, consuming 100% of that core's CPU.
I attempted to diagnose the problem using gdb, but there's no symbolic/debug
data in the dpkg command and no package that provide this missing data.
Enabling debug output, I can see some activity from dpkg. Adding -D40 to the
command yields a stream of two-line outputs like:
D000040: checking dependencies of [package] (- <none>)
D000040: ok 1 msgs >><<
where [package] is the name of a package.
Initially the package names ("[package]" above) cover many packages, but in
successive output lines, the package "sgml-base:all" comes to dominate until
almost all lines are:
D000040: checking dependencies of sgml-base:all (- <none>)
D000040: ok 1 msgs >><<
If I filter out these two specific lines:
dpkg --configure -D40 -a 2>&1 | egrep -v "sgml-base:all|ok 1 msgs"
I see packages other than "sgml-base:all" are still mentioned, but the rate at
which they appear decreases. After a few seconds the rate of other package
names appearing is (~5 Hz). After a minute or so, the average rate drops to
(~1 Hz).
Running the command with debug set to 440 (-D440), I see that these sgml-
base:all has a dependency on perl. I've captured the output for a few seconds
(some 780,000 lines) and will try to attach this to the bug as a compressed
file.
I noticed that both perl and perl-modules are not configured and that they have
a circular dependency. Because of this, both perl and perl-modules must be
configured at the same time:
zitpcx6184:~# dpkg --configure perl
dpkg: dependency problems prevent configuration of perl:
perl depends on perl-modules (>= 5.20.1-2); however:
Package perl-modules is not configured yet.
dpkg: error processing package perl (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
perl
zitpcx6184:~#
zitpcx6184:~# dpkg --configure perl-modules
dpkg: dependency problems prevent configuration of perl-modules:
perl-modules depends on perl (>= 5.20.1-1); however:
Package perl is not configured yet.
dpkg: error processing package perl-modules (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
perl-modules
zitpcx6184:~#
zitpcx6184:~# dpkg --configure perl-modules perl
Setting up perl-modules (5.20.1-2) ...
Setting up perl (5.20.1-2) ...
zitpcx6184:~#
After configuring perl and perl-modules, "dpkg --configure -a" worked as
expected.
My suspicion is that the circular dependency between perl and perl-modules
confused dpkg so it couldn't compute the dependency graph.
HTH,
Paul.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.16-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dpkg depends on:
ii libbz2-1.0 1.0.6-7
ii libc6 2.19-11
ii liblzma5 5.1.1alpha+20120614-2
ii libselinux1 2.3-2
ii tar 1.27.1-2
ii zlib1g 1:1.2.8.dfsg-2
dpkg recommends no packages.
Versions of packages dpkg suggests:
ii apt 1.0.9.3
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.17.20
We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 766...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillem Jover <guil...@debian.org> (supplier of updated dpkg package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 23 Oct 2014 00:43:05 +0200
Source: dpkg
Binary: libdpkg-dev dpkg dpkg-dev libdpkg-perl dselect
Architecture: source all
Version: 1.17.20
Distribution: unstable
Urgency: low
Maintainer: Dpkg Developers <debian-d...@lists.debian.org>
Changed-By: Guillem Jover <guil...@debian.org>
Description:
dpkg - Debian package management system
dpkg-dev - Debian package development tools
dselect - Debian package management front-end
libdpkg-dev - Debian package management static library
libdpkg-perl - Dpkg perl modules
Closes: 759478 766242 766322
Changes:
dpkg (1.17.20) unstable; urgency=low
.
[ Guillem Jover ]
* Add a requeueing insertion protection for process_queue().
* Make sure to always switch to the next dependtry after we have made no
progress for a while. Regression stemming from non future proof changes
introduced with the initial triggers implementation in dpkg 1.14.17
combined with changes in dpkg 1.17.19. Closes: #766242, #766322
* Make the initial dependtry be 1 instead of 0. This gets rid of an unused
dependtry step, which got accidentally introduced when the perl dpkg was
rewritten in C, ages ago.
* Allow detached upstream signatures for upstream orig.tar files in the
.dsc file. Suggested by Daniel Kahn Gillmor <d...@fifthhorseman.net>.
Closes: #759478
* Inline alternative status description into translatable string in
update-alternatives. Required-by: #766311
* Reword description for installed status in dpkg(1) man page.
.
[ Updated programs translations ]
* German (Sven Joachim).
* Simplified Chinese (Zhou Mo).
* Vietnamese (Trần Ngọc Quân).
Checksums-Sha1:
2913685b96a413097bb648e1a9176f67fc69375e 2057 dpkg_1.17.20.dsc
58e917240bbe982687c56f87e94e2bc06c4a2423 4334196 dpkg_1.17.20.tar.xz
095994bd7e92b0f6401ef0f2f70b5bd68ef68d9c 1504392 dpkg-dev_1.17.20_all.deb
8d371ca44e263ce23700b4507cf2a221a450bd5b 1034494 libdpkg-perl_1.17.20_all.deb
Checksums-Sha256:
c706ad3f5db11968086ab2e0767f87d6e3522b13ebf136ae46f7722a82f645f6 2057
dpkg_1.17.20.dsc
c497362aa2e481ca6decdab67aaef912bad32539ffb336bf6c23040b5133fcdd 4334196
dpkg_1.17.20.tar.xz
fbe33d7180fb04febc6351ce324cf54ab94dc240c19478b23e31afb2933d7f06 1504392
dpkg-dev_1.17.20_all.deb
902b66ece2e439ba29ea196b5756ac5d75e383f54591510ae80f3bf932e71f0e 1034494
libdpkg-perl_1.17.20_all.deb
Files:
027122d4ae958edc66c64b19f3d4afcd 2057 admin required dpkg_1.17.20.dsc
dca053cdf52e17c4a2c1a9c13d107248 4334196 admin required dpkg_1.17.20.tar.xz
4084ee2bb8bca1f7383b1bf80c1ceb7b 1504392 utils optional
dpkg-dev_1.17.20_all.deb
9525e9fb2cb9416de093c3d6923a5916 1034494 perl optional
libdpkg-perl_1.17.20_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJUSEdxAAoJELlyvz6krlejzl8P/iDoQitvKsVywPYFAxy3x57S
JRj3SlJNc4NO7iVLXLP7lv48l1WWnAcZBE8440b7N2yDnuki0UvMm4N/iDJZIgfg
nhpP+v4V7eF36bRhO3XC2vHpc+/1rjpvhy+fmzbJPSUWBbu1G+Cx2evy4O8/LIK4
rbD6siPuXfOlNjPnY/ROtHWzBbMHdCN8mRLdSiFbvgZLTMmh4Udp30NlpLi6mbob
+ixdpo8PSGddNDevBbNILhQgf/7FaYvV1GbxeavTelCjTlpNLDrO1BH+d85aytIX
H4bCh1YlkmPzSUZj1TWoEwj+QaSqdsS+WuLMDIULvyGP2JK+lFqjxNlc9gJVcPfe
Toxuth5ksdOzA1OZ+CPoV3+eOwRidHEI5FCLh+cRCW5Yn4Y07lDPafGNjoo2WrPn
rzWvAcr4Ljp48EcJu1fqkE4VwmMebQN5nZYyGjEJxbd3/+0sNRvK0/qMQ7OmhGyg
bSlPwrpjFN4vRyacGVhnBUBnVlPvC3dmx7pIYCxssNvcO47g8tQIItQCwB9DPbzB
E4eI81x0bs2ZxGOgrwU83yOZHVmyE1to3WXy9XCbe5MijNvKXLF8NEVgjsBrJ+F0
ttwgeAY8/tWyyi74Qxuo2qc8RC8qk4ZAGW44awCnO+tbE32thCBhEHL5Wlj8zRlO
YMoI/i6p1fFlZXbyocHT
=6Xlg
-----END PGP SIGNATURE-----
--- End Message ---