Public bug reported:

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

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
autoclean to ingore CD-ROM/DVD Repositories
https://bugs.launchpad.net/bugs/200536
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to