Bug#45973: apt: apt-get autoclean should not delete 'obsolete' files which aren't broken
Package: apt
Version: 0.3.13
Severity: normal
The autoclean option should not delete packages that are installed
correctly, but have a never version available.
Example: local version a2ps is 4.12 and in the debian ftp 4.12a, then the
4.12 will be deleted. In some cases the version in unstable is broken and
then the none-broken local versions are deleted and you doesn't have a
version to install anymore.
The files should thus only be deleted if a newer version is also local
available. Maybe this could be added under a switch.
-- System Information
Debian Release: potato
Kernel Version: Linux cooldown 2.2.12 #2 Thu Aug 26 07:00:49 CEST 1999 i686 unknown
Versions of the packages apt depends on:
hi libc6 2.1.2-2 GNU C Library: Shared libraries and timezone
ii libstdc++2.10 2.95.2-0pre2 The GNU stdc++ library
Reply to: