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

Bug#598452: apt-get autoremove wants to remove essential packages



Package: apt
Version: 0.8.0
Severity: critical
Justification: breaks the whole system



-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (/etc/apt/sources.list present, but not submitted) --


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

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
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.4-8        GCC support library
ii  libstdc++6              4.4.4-8          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.4   Debian package development tools
ii  lzma                          4.43-14    Compression method of 7z format in
ii  python-apt                    0.7.97.1   Python interface to libapt-pkg

-- no debconf information

After upgrading the following packages:

The following packages will be upgraded:
  apt apt-utils bsdutils dpkg dpkg-dev libblkid1 libdpkg-perl libedit-dev
  libedit2 libuuid1 mount util-linux uuid-dev

Setting up apt (0.8.5) ...
Setting up dpkg (1.15.8.5) ...
Setting up apt-utils (0.8.5) ...
Setting up libdpkg-perl (1.15.8.5) ...
Setting up dpkg-dev (1.15.8.5) ...
etc.

the "apt-get autoremove" command now considers the running
kernel and other essential packages as removable:

apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  firmware-linux-free linux-base linux-image-2.6.32-3-amd64
  linux-image-2.6.32-5-amd64 linux-image-2.6.32-trunk-amd64
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 294MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.

dpkg -l | grep linux-image
ii  linux-image-2. 2.6.32-9       Linux 2.6.32 for 64-bit PCs
ii  linux-image-2. 2.6.32-23      Linux 2.6.32 for 64-bit PCs
ii  linux-image-2. 2.6.32-5       Linux 2.6.32 for 64-bit PCs

I doubt that this is the intended behavior.



Reply to: