[Bug 363750] Re: Installer removes many unrelated packages!
dinexi
363750 at bugs.launchpad.net
Fri May 25 11:52:05 UTC 2012
Same things are going on here, aptitude 0.6.6-1ubuntu1:
root at home:/home/stanis# aptitude remove apache2-mpm-worker
The following packages will be REMOVED:
apache2-mpm-worker
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 56.3 kB will be freed.
The following packages have unmet dependencies:
libapache2-mod-wsgi : Depends: apache2 but it is not going to be installed.
Internal error: the solver Install(ghostscript:i386 9.05~dfsg-0ubuntu4 <gs-cjk-resource:amd64 1.20100103-3 -> {ghostscript:amd64 9.05~dfsg-0ubuntu4 ghostscript:i386 9.05~dfsg-0ubuntu4}>) of a supposedly unresolved dependency is already installed in step 466
Internal error: the solver Install(ghostscript:i386 9.05~dfsg-0ubuntu4 <ghostscript-x:amd64 9.05~dfsg-0ubuntu4 -> {ghostscript:amd64 9.05~dfsg-0ubuntu4 ghostscript:i386 9.05~dfsg-0ubuntu4}>) of a supposedly unresolved dependency is already installed in step 466
Internal error: the solver Install(bamfdaemon:i386 0.2.114-0ubuntu1 <libbamf3-0:amd64 0.2.114-0ubuntu1 -> {bamfdaemon:amd64 0.2.114-0ubuntu1 bamfdaemon:i386 0.2.114-0ubuntu1}>) of a supposedly unresolved dependency is already installed in step 594
Internal error: the solver Install(bamfdaemon:i386 0.2.114-0ubuntu1 <libbamf0:amd64 0.2.114-0ubuntu1 -> {bamfdaemon:amd64 0.2.114-0ubuntu1 bamfdaemon:i386 0.2.114-0ubuntu1}>) of a supposedly unresolved dependency is already installed in step 594
The following actions will resolve these dependencies:
Remove the following packages:
1) libapache2-mod-wsgi
2) libasound2:i386
3) libasound2-plugins:i386
4) libasyncns0:i386
5) libaudio2:i386
6) libavahi-client3:i386
7) libavahi-common3:i386
8) libc6:i386
9) libcomerr2:i386
10) libcups2:i386
11) libdbus-1-3:i386
12) libdbusmenu-qt2:i386
13) libelf1:i386
14) libexpat1:i386
15) libffi6:i386
16) libflac8:i386
17) libfontconfig1:i386
18) libfreetype6:i386
19) libgcc1:i386
20) libgcrypt11:i386
21) libglib2.0-0:i386
22) libgnutls26:i386
23) libgpg-error0:i386
24) libgssapi-krb5-2:i386
25) libice6:i386
26) libjack-jackd2-0:i386
27) libjpeg-turbo8:i386
28) libjpeg8:i386
29) libjson0:i386
30) libk5crypto3:i386
31) libkeyutils1:i386
32) libkrb5-3:i386
33) libkrb5support0:i386
34) liblcms1:i386
35) libmng1:i386
36) libmysqlclient18:i386
37) libogg0:i386
38) libp11-kit0:i386
39) libpcre3:i386
40) libpng12-0:i386
41) libpulse0:i386
42) libqt4-dbus:i386
43) libqt4-declarative:i386
44) libqt4-network:i386
45) libqt4-script:i386
46) libqt4-sql:i386
47) libqt4-sql-mysql:i386
48) libqt4-xml:i386
49) libqt4-xmlpatterns:i386
50) libqtcore4:i386
51) libqtgui4:i386
52) libsamplerate0:i386
53) libselinux1:i386
54) libsm6:i386
55) libsndfile1:i386
56) libspeexdsp1:i386
57) libstdc++6:i386
58) libtasn1-3:i386
59) libtiff4:i386
60) libuuid1:i386
61) libvorbis0a:i386
62) libvorbisenc2:i386
63) libwrap0:i386
64) libx11-6:i386
65) libxau6:i386
66) libxcb1:i386
67) libxdmcp6:i386
68) libxext6:i386
69) libxi6:i386
70) libxrender1:i386
71) libxss1:i386
72) libxt6:i386
73) libxv1:i386
74) skype
75) skype-bin:i386
76) sni-qt:i386
77) zlib1g:i386
Leave the following dependencies unresolved:
78) libqt4-dbus:i386 recommends qdbus:i386 (= 4:4.8.1-0ubuntu4.1)
79) libqtgui4:i386 recommends libcups2:i386
80) skype-bin:i386 recommends libasound2-plugins:i386
Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
root at home:/home/stanis# apt-get remove apache2-mpm-worker
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apache2-utils apache2.2-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
apache2-mpm-worker libapache2-mod-wsgi
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 285 kB disk space will be freed.
Do you want to continue [Y/n]? q
Abort.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/363750
Title:
Installer removes many unrelated packages!
Status in HP Linux Imaging and Printing:
Fix Released
Status in “aptitude” package in Ubuntu:
New
Bug description:
The HPLIP installer, in automatic mode, removes existing hplip and
hpijs packages. As a side effect, the installer also removed lots of
unrelated, but important packages. This could seriously damage the
entire Linux installation !
Explanation of the error: In Ubuntu 8.04, packages hplip and hpijs are
installed as dependencies under an important parent package, called
'ubuntu-desktop'. Although these dependencies don't have priority
'depends' but only 'recommends', the use of flag '--assume-yes' seems
to trigger the removal of the parent package 'ubuntu-desktop'.
In a cascade-like fashion, dozens of other packages that are
dependencies of the parent package are also removed. This includes
packages like: Xorg, brasero, tomboy, f-spot, compiz, network-manager,
tracker, mono-runtime, pulseaudio and lots of library and support
packages related to these packages.
The HPLIP installer gives absolutely NO on-screen indication that all
those packages are removed. I only found out what was going on when I
manually checked the package install log file to see why the removal
of two packages (hplip and hpijs) was taking so long...
Shocked, I immediately interrupted the HPLIP installer and have tried
to reinstall all removed packages. It looks like I was quick enough,
and don't have to restore a backup.
Root cause of problem: IMHO, the Ubuntu install utility reacts in an
unexpected manner on the removal of two non-mandatory dependencies of
an important parent package. Strictly, this is not only the
responsibility of the HPLIP team, but also of the Ubuntu team. I
linked this bug report to their project as well.
To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/363750/+subscriptions
More information about the foundations-bugs
mailing list