autoclean to ingore CD-ROM/DVD Repositories

Bug #200536 reported by Aliby
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Binary package hint: apt

I actually can't think of a reason to keep ANY packages in the archive that are listed on a CD-ROM/DVD repository?

It would be great to have the default, or an option/ flag, to ignore CD-ROM/DVD repositories when performing "apt-get autoclean"

WHY?
1. I autoclean to keep delete old packages to reduce storage space
2. These packages are available on the CD anyway (I don't have to keep them on the hard drive)
3. It seems apt-get sees the "old" files in the CD-ROM lists thus does not delete them.
4. Most of the time online REPOS are also included, which have the latest packages listed anyway. (One option would be to ingore the CD-ROM repos, unless they are the only repos?)

I thought it would delete ALL old versions, but it deletes unlisted versions. So I currently achieve the above by:
* Temporarily removing the "CD-ROM/DVD" repositories from the lists
* Then doing a "apt-get autoclean". Older versions are now deleted from the archive (they no longer appear in active package lists)
* Adding the "CD-ROM/DVD" repositories again so new installs can access these packages if they are the latest versions and doesn't need to download them - saving bandwidth.

------------
Ubuntu-Studio 7.10 _Gutsy Gibbon_ - Release i386 (20071015)
apt 0.7.6ubuntu14 0

Changed in apt:
importance: Undecided → Wishlist
Changed in apt (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.