Your message dated Tue, 31 May 2016 13:55:37 +0200
with message-id <[email protected]>
and subject line Re: Bug#825918: dpkg enters infinite loop upon installing some 
packages
has caused the Debian Bug report #825918,
regarding dpkg enters infinite loop upon installing some packages
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 [email protected]
immediately.)


-- 
825918: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825918
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg
Version: 1.18.7
Severity: grave

Please try installing this version of imagemagick.

Dpkg will enter an infinite loop.

# dpkg -i imagemagick_8%3a6.9.2.10+dfsg-2_all.deb
Selecting previously unselected package imagemagick.
(Reading database ... 148492 files and directories currently installed.)
Preparing to unpack imagemagick_8%3a6.9.2.10+dfsg-2_all.deb ...
dpkg-query: no packages found matching imagemagick:all
dpkg-query: package 'imagemagick' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'imagemagick' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
...

As you can guess this pretty much ruins it for installing any other
package with apt, as they will get stuck trying to configure this first.

--- End Message ---
--- Begin Message ---
Control: severity -1 minor

On Tue, 2016-05-31 at 19:15:54 +0800, 積丹尼 Dan Jacobson wrote:
> Package: dpkg
> Version: 1.18.7
> Severity: grave

This is definitely not grave, even if there was an infinite loop
involved.

> Please try installing this version of imagemagick.

> Dpkg will enter an infinite loop.

I did, and I don't see any infinite loop:

,---
(Reading database ... 144327 files and directories currently installed.)
Preparing to unpack .../libmagickwand-6.q16-2_8%3a6.9.2.10+dfsg-2+b1_amd64.deb 
...
Unpacking libmagickwand-6.q16-2:amd64 (8:6.9.2.10+dfsg-2+b1) over 
(8:6.8.9.9-7+b2) ...
Preparing to unpack .../libmagickcore-6.q16-2_8%3a6.9.2.10+dfsg-2+b1_amd64.deb 
...
Unpacking libmagickcore-6.q16-2:amd64 (8:6.9.2.10+dfsg-2+b1) over 
(8:6.8.9.9-7+b2) ...
Processing triggers for libc-bin (2.22-9) ...
(Reading database ... 144334 files and directories currently installed.)
Removing imagemagick-common (8:6.8.9.9-7) ...
Purging configuration files for imagemagick-common (8:6.8.9.9-7) ...
Selecting previously unselected package imagemagick-6-common.
(Reading database ... 144312 files and directories currently installed.)
Preparing to unpack .../imagemagick-6-common_8%3a6.9.2.10+dfsg-2_all.deb ...
Unpacking imagemagick-6-common (8:6.9.2.10+dfsg-2) ...
Preparing to unpack .../imagemagick_8%3a6.9.2.10+dfsg-2_all.deb ...
dpkg-query: no packages found matching imagemagick:all
dpkg-query: package 'imagemagick' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'imagemagick' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'imagemagick' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'imagemagick' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'imagemagick' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-query: package 'imagemagick' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg-maintscript-helper: error: directory '/usr/share/doc/imagemagick' contains 
files not owned by package imagemagick:all, cannot switch to symlink
dpkg: error processing archive 
/var/cache/apt/archives/imagemagick_8%3a6.9.2.10+dfsg-2_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Preparing to unpack .../imagemagick-6.q16_8%3a6.9.2.10+dfsg-2+b1_amd64.deb ...
Unpacking imagemagick-6.q16 (8:6.9.2.10+dfsg-2+b1) over (8:6.8.9.9-7+b2) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/imagemagick_8%3a6.9.2.10+dfsg-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
`---

> # dpkg -i imagemagick_8%3a6.9.2.10+dfsg-2_all.deb
> Selecting previously unselected package imagemagick.
> (Reading database ... 148492 files and directories currently installed.)
> Preparing to unpack imagemagick_8%3a6.9.2.10+dfsg-2_all.deb ...
> dpkg-query: no packages found matching imagemagick:all
> dpkg-query: package 'imagemagick' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> dpkg-query: package 'imagemagick' is not installed
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> ...
> 
> As you can guess this pretty much ruins it for installing any other
> package with apt, as they will get stuck trying to configure this first.

I think you just were too quick to abort the installation, please
before concluding that something is an infinite loop, wait for several
screenfuls of output. In this case the output is confusing and might
make it look like that, but it's checking for different files.
Although I could perhaps silence the output, that would make it more
difficult to detect wrong usage. Instead I'm closing this non-bug, and
hope to fix the root cause when handling the automatic arch-qualification.

Regards,
Guillem

--- End Message ---

Reply via email to