[Bug 200536] Re: autoclean to ingore CD-ROM/DVD Repositories
Thomas Hotz
thomas.hotz at gmail.com
Fri Oct 12 06:53:31 UTC 2012
** Changed in: apt (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/200536
Title:
autoclean to ingore CD-ROM/DVD Repositories
Status in “apt” package in Ubuntu:
Confirmed
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/200536/+subscriptions
More information about the foundations-bugs
mailing list