Bug#605751: apt autoremove (still) tries to remove essential packages
Package: apt
Version: 0.8.8
Severity: critical
Justification: breaks the whole system
Bug 598452 fixes a problem like mine, but with that present, apt is trying to
remove grub-pc and others that I'm sure I need.
I've marked ones I think I still need with a '*' prefix in the apt-get autoremove
output below. I don't know which others I might really need from this list.
======================
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
*console-setup *console-terminus cpufrequtils djvulibre-desktop empathy
empathy-common gconf-defaults-service gnome-session-bin *grub-pc gvfs-bin
hamster-applet *isc-dhcp-client *isc-dhcp-common *isc-dhcp-server
latex-xft-fonts libass1 libass3 libavahi-core6 libbeagle1 libbind9-50
libcelt0 libclutter-0.8-0 libclutter-cairo-0.8-0 libclutter-gtk-0.8-0
libcolamd-3.2.0 libdb4.6-java libdb4.6-java-gcj libdes425-3 libevince1
libffado1 libgmythupnp0 libgnome-desktop-2-11 libgnomekbd3 libgssdp-1.0-1
libgupnp-1.0-2 libgupnp-igd-1.0-2 libicu40 libicu42 libisccc50 libisccfg50
libjinglebase0.3-0 libjinglep2p0.3-0 libjinglexmllite0.3-0
libjinglexmpp0.3-0 libloudmouth1-0 liblwres50 libmagickcore2 libmagickwand2
libmikmod2 libmission-control-plugins0 libmissioncontrol-client0
libmissioncontrol-server1 libopal3.6.1 libopal3.6.4 libparted1.8-12
libpolkit-dbus2 libpolkit-gnome0 libpoppler4 libpt2.6.1 libpt2.6.4
libpt2.6.4-plugins librasqal1 libsamplerate0 libsane-hpaio libsdl-mixer1.2
libsmbios2 libsmi2-common libsmpeg0 libswfdec-0.8-0 libtelepathy-farsight0
libtelepathy2 libtotem-plparser12 libupnp3 libwebkit-1.0-1 libwildmidi0
libxml++2.6-2 linux-kbuild-2.6.26 linux-kbuild-2.6.30
nautilus-sendto-empathy python-evince python-evolution python-gdl
python-gksu2 python-gtkspell python-gtop python-mediaprofiles
python-metacity python-rsvg python-totem-plparser raptor-utils redland-utils
rhino seahorse-plugins shorewall-common telepathy-gabble telepathy-salut
0 upgraded, 0 newly installed, 96 to remove and 5 not upgraded.
After this operation, 144 MB disk space will be freed.
Do you want to continue [Y/n]? Abort.
====================
The listing of /etc/apt/preferences below seems to have <cr><lf> EOL... I hope that isn't a problem...
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
APT::Periodic "";
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Update "";
APT::Update::Post-Invoke "";
APT::Update::Post-Invoke:: "touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";
APT::Archives "";
APT::Archives::MaxAge "30";
APT::Archives::MinAge "2";
APT::Archives::MaxSize "500";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Unattended-Upgrade "";
Unattended-Upgrade::Allowed-Origins "";
Unattended-Upgrade::Allowed-Origins:: "${distro_id} stable";
Unattended-Upgrade::Allowed-Origins:: "${distro_id} ${distro_codename}-security";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi; if [ -e /var/lib/update-notifier/updates-available ]; then echo > /var/lib/update-notifier/updates-available; fi ";
Acquire "";
Acquire::::Proxy "false";
CommandLine "";
CommandLine::AsString "apt-config dump";
-- /etc/apt/preferences --
Package: *
Pin: release a=testing
Pin-Priority: 800
Package: *
Pin: release a=unstable
Pin-Priority: 700
Package: *
Pin: release a=experimental
Pin-Priority: 400
Package: *
Pin: release o=Debian
Pin-Priority: -10
-- /etc/apt/sources.list --
#
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060314)]/ etch main
deb http://ftp.us.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.us.debian.org/debian/ testing main non-free contrib
deb http://ftp.us.debian.org/debian/ unstable main non-free contrib
deb-src http://ftp.us.debian.org/debian/ unstable main non-free contrib
deb http://ftp.us.debian.org/debian/ experimental main non-free contrib
deb-src http://ftp.us.debian.org/debian/ experimental main non-free contrib
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (800, 'testing'), (700, 'unstable'), (400, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
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-7 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.5-8 GCC support library
ii libstdc++6 4.4.5-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)
ii aptitude 0.6.3-3.2 terminal-based package manager (te
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
Reply to: