[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#614298: multiarch: apt-get remove of foreign-arch package removes wrong one



Package: apt
Version: 0.8.11.3
Severity: grave
User: vorlon@debian.org
Usertags: multiarch

Feel free to downgrade the bug severity if you think that's appropriate; but
this is definitely a bug that needs to be fixed before we can roll out
multiarch. :-)

# apt-get remove libselinux1:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libselinux1:i386
0 upgraded, 0 newly installed, 1 to remove and 84 not upgraded.
Need to get 0 B/764 kB of archives.
After this operation, 6214 kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Preconfiguring packages ...
(Reading database ... 28974 files and directories currently installed.)
Removing libselinux1 ...
dpkg: libselinux1: dependency problems, but removing anyway as you requested:
 libglib2.0-0 depends on libselinux1 (>= 1.32).
 util-linux depends on libselinux1 (>= 1.32).
 sysvinit-utils depends on libselinux1 (>= 1.32).
 dpkg depends on libselinux1 (>= 1.32).
 libpam-modules-bin depends on libselinux1 (>= 1.32).
 sysvinit depends on libselinux1 (>= 1.32).
 passwd depends on libselinux1 (>= 1.32).
 sed depends on libselinux1 (>= 1.32).
 mount depends on libselinux1 (>= 2.0.15).
 libpam-modules depends on libselinux1 (>= 2.0.85).
 coreutils depends on libselinux1 (>= 1.32).
Removing libselinux1 ...
dpkg: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
/usr/bin/dpkg: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (127)
#

So, apt told dpkg to remove the wrong package.  The commandline passed is:

/usr/bin/dpkg --status-fd 15 --force-depends --force-remove-essential --remove libselinux1

It should be asking for the removal of libselinux1:i386 instead.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: