Package: apt Version: 0.6.43.2 Severity: critical Justification: causes serious data loss
I intended to purge dbus-1 so I could make sure that the config files were the Debian defaults. I intended to re-install dbus-1 immediately afterwards. So, I did apt-get --purge dbus-1 I expected this to purge dbus-1. I expected that other packages would be removed (because they depend on dbus-1), but not purged. Lo and Behold, a dozen packages were purged. The darn thing didn't even stop to ask me! This is an annoying loss of config files for the other packages. It could be a critical loss sometimes. Because the user does not know all the dependencies, the user may not intend for everything to be purged. This is a critical error because a minor error could easily disable many packages in a way that cannot be simply repaired and causes an unexpected loss of data for other packages. To fix this: Apt-get --purge should not purge any packages that are not mentioned on the command line without asking permission! -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "i386"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Authentication ""; APT::Authentication::TrustCDROM "true"; Dir "/"; Dir::State "var/lib/apt/"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::userstatus "status.user"; 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::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::dpkg "/usr/bin/dpkg"; DPkg ""; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; DPkg::Post-Invoke ""; DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi"; -- (no /etc/apt/preferences present) -- -- /etc/apt/sources.list -- deb http://mirror.ox.ac.uk/debian/ testing main non-free contrib deb-src http://mirror.ox.ac.uk/debian/ testing main non-free contrib deb http://security.debian.org/ testing/updates main contrib non-free -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686 Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) Versions of packages apt depends on: ii libc6 2.3.5-8 GNU C Library: Shared libraries an ii libgcc1 1:4.0.2-5 GCC support library ii libstdc++6 4.0.2-5 The GNU Standard C++ Library v3 Versions of packages apt recommends: ii debian-archive-keyring 2006.01.18 GnuPG archive keys of the Debian a -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]