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

Bug#599336: marked as done (apt-get removes other packages than requested)



Your message dated Wed, 6 Oct 2010 20:47:19 +0200
with message-id <AANLkTikYzYs85U_pLok4JzCYeKCd+vc3XU_NZv_5iM86@mail.gmail.com>
and subject line Re: Bug#599336: apt-get removes other packages than requested
has caused the Debian Bug report #599336,
regarding apt-get removes other packages than requested
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 owner@bugs.debian.org
immediately.)


-- 
599336: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599336
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.8.6
Severity: serious

Okay, this was a WTF moment here. I was playing with python-visual on my HTPC
and when done wanted to remove all the cruft again. So I ran 
 apt-get remove --purge "... the packages ..."
and it removed me half of my system (and as apt ignores ^C at the moemnt,
i was not amused :()

Here is what happens when I try to re-remove the packages from my system:

eiga:~# apt-get remove --purge   libblas3gf libboost-python1.42.0 libboost-signals1.42.0 libboost-thread1.42.0 libcairomm-1.0-1 libgfortran3 libglade2-0 libglademm-2.4-1c2a libglibmm-2.4-1c2a libgtkglext1  libgtkglextmm-x11-1.2-0 libgtkmm-2.4-1c2a liblapack3gf libmpfr4 libpangomm-1.4-1 python-numpy python-visual
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libblas3gf is not installed, so not removed
Package libboost-python1.42.0 is not installed, so not removed
Package libboost-signals1.42.0 is not installed, so not removed
Package libboost-thread1.42.0 is not installed, so not removed
Package libcairomm-1.0-1 is not installed, so not removed
Package libgfortran3 is not installed, so not removed
Package libglibmm-2.4-1c2a is not installed, so not removed
Package libgtkglext1 is not installed, so not removed
Package libgtkglextmm-x11-1.2-0 is not installed, so not removed
Package libgtkmm-2.4-1c2a is not installed, so not removed
Package liblapack3gf is not installed, so not removed
Package libglade2-0 is not installed, so not removed
Package libglademm-2.4-1c2a is not installed, so not removed
Package libpangomm-1.4-1 is not installed, so not removed
Package python-numpy is not installed, so not removed
Package python-visual is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libsmbclient libts-0.0-0 libtalloc2 libswscale0 libcdio10 python-bluez python2.5-minimal libusplash0 libavutil50 liblcms1 libidn11 libsamplerate0 libx264-104 ttf-liberation
  libsvga1 libsdl-mixer1.2 libglew1.5 libcap2 libspeex1 libapr1 libwbclient0 libboost-iostreams1.40.0 python-central libass4 libmpfr1ldbl python2.5 libsdl1.2debian-alsa
  libwavpack1 libmysqlclient16 libavcodec52 libdirectfb-1.2-9 libx264-88 liblog4cxx10 libx264-98 libsdl-image1.2 python-qt3 libmp3lame0 libenca0 libsdl1.2debian python-sip
  libcurl3 libmikmod2 libvpx0 libssh2-1 libtheora0 liba52-0.7.4 libpostproc51 liblzo2-2 libvorbisfile3 libflac8 liborc-0.4-0 libgsm1 libvorbisenc2 linux-headers-2.6.32-3-common
  libasyncns0 libschroedinger-1.0-0 libavformat52 libxvidcore4 tsconf libmad0 libdb4.5 libsysfs2 libopencore-amrnb0 openssl libapt-pkg-perl libpulse0 libcurl3-gnutls libqt3-mt
  libdirac-encoder0 usplash-theme-debian libglu1-mesa librtmp0 libvorbis0a libopenjpeg2 libaudio2 libaprutil1 mysql-common libopencore-amrwb0 ca-certificates lsb-release dpatch
  libsndfile1 libmng1 libmpeg2-4 libmms0 libogg0 libfaac0 libfaad2 libsmpeg0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  build-essential* cpp* cpp-4.3* cpp-4.4* dkms* g++* g++-4.4* gcc* gcc-4.3* gcc-4.4* libmpfr4* libstdc++6-4.4-dev* linux-headers-2.6-amd64* linux-headers-2.6.32-5-amd64*
  nvidia-glx* nvidia-kernel-dkms* x11-utils* xbmc* xbmc-bin* xbmc-data* xbmc-skin-confluence* xbmc-standalone*
0 upgraded, 0 newly installed, 22 to remove and 0 not upgraded.
After this operation, 136 MB disk space will be freed.
Do you want to continue [Y/n]? ^C

None of the requested packages are installed and apt still tries to remove
something completelly different (rendering the system unusable as its only
purpose is running xbmc :))

Report not written on the machine failing, thus no apt configuration files
included. These are all default on "eiga".

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring  2010.08.28       GnuPG archive keys of the Debian a
ii  gnupg                   1.4.10-4         GNU privacy guard - a free PGP rep
ii  libc6                   2.11.2-6         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.5-2        GCC support library
ii  libstdc++6              4.4.5-2          The GNU Standard C++ Library v3
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc                       <none>     (no description available)
pn  aptitude | synaptic | wajig   <none>     (no description available)
ii  bzip2                         1.0.5-6    high-quality block-sorting file co
ii  dpkg-dev                      1.15.8.5   Debian package development tools
ii  lzma                          4.43-14    Compression method of 7z format in
ii  python-apt                    0.7.98.1   Python interface to libapt-pkg

-- no debconf information



--- End Message ---
--- Begin Message ---
2010/10/6 Evgeni Golov <evgeni@debian.org>:
> and it removed me half of my system (and as apt ignores ^C at the moemnt,
> i was not amused :()

I was near to the point to say that this is a feature rather than a bug -
its not a good idea to kill a running dpkg process and APT prints out
what it does in all glory details BEFORE doing it and even asks for
confirmation… its not like a "rm -r --no-preserve-root /" or some dd
style stuff…

( In my humble opinion it is way cleaner to let dpkg do its dirty job if it is
already running and just installing all i need again after dpkg finishes, but
maybe my problem is that i am not so fast at typing a 'y'… )


> Here is what happens when I try to re-remove the packages from my system:
>
> eiga:~# apt-get remove --purge   libblas3gf libboost-python1.42.0 libboost-signals1.42.0 libboost-thread1.42.0 libcairomm-1.0-1 libgfortran3 libglade2-0 libglademm-2.4-1c2a libglibmm-2.4-1c2a libgtkglext1  libgtkglextmm-x11-1.2-0 libgtkmm-2.4-1c2a liblapack3gf libmpfr4 libpangomm-1.4-1 python-numpy python-visual

> The following packages will be REMOVED:
>  build-essential* cpp* cpp-4.3* cpp-4.4* dkms* g++* g++-4.4* gcc* gcc-4.3* gcc-4.4* libmpfr4* libstdc++6-4.4-dev* linux-headers-2.6-amd64* linux-headers-2.6.32-5-amd64*
>  nvidia-glx* nvidia-kernel-dkms* x11-utils* xbmc* xbmc-bin* xbmc-data* xbmc-skin-confluence* xbmc-standalone*
> 0 upgraded, 0 newly installed, 22 to remove and 0 not upgraded.
> After this operation, 136 MB disk space will be freed.
> Do you want to continue [Y/n]? ^C

Don't shoot the messenger!

You requested to remove libmpfr4 which is a hard-dependency of the gcc-family.
x11-utils depends on cpp, which is a dependency of xbmc-bin from which you
can properly guess why the rest of xbmc is removed.

The option -o Debug::pkgProblemResolver=1 will tell you all the glory
details if you are really interested in the complete dependency chain.

If the dependency chain is a sane one is another point, but completely out of
scope for APT, it does what it was asked for so i close this serious PEBKAC now…


Best regards

David Kalnischkies


--- End Message ---

Reply to: