FS#22653 - CleanMethod Bug
Attached to Project:
Pacman
Opened by x33a (x33a) - Saturday, 29 January 2011, 07:47 GMT
Last edited by Allan McRae (Allan) - Sunday, 30 January 2011, 13:13 GMT
Opened by x33a (x33a) - Saturday, 29 January 2011, 07:47 GMT
Last edited by Allan McRae (Allan) - Sunday, 30 January 2011, 13:13 GMT
|
Details
Summary and Info: Hello, i would like the developers to look
into the current behaviour of the CleanMethod option of
pacman.conf.
I have CleanMethod = KeepInstalled The issue at hand is that i have some packages added to IgnorePkg, and pacman -Sc cleans the currently installed version of the packages from the pacman cache, if there is an update available in the repository. For e.g. I have vlc 1.1.5-2 installed currently and have added vlc to IgnorePkg. The latest version of vlc is 1.1.6-1. pacman -Sc cleaned vlc-1.1.5-2-i686.pkg.tar.xz, and so i have no installer package available if i need to re-install vlc. Steps to Reproduce: Add a package to IgnorePkg, wait for an update to appear in the repositories. Now try pacman -Sc. This should delete the package from the cache. |
This task depends upon
I was able to hack pactest to be able to verify this; I will try to clean that up enough to include it. However, this report seems a tad iffy- are you absolutely positive it was pacman that removed it? Do you use a shared cache? We need some more details. The test case is attached I used for this, although it needs the pactest modifications as noted to actually run, but if someone could verify it is testing this case that would be great.
EDIT: Damn, i am an idiot. I just remembered that a few months ago i had changed CleanMethod = KeepCurrent, but reverted back after some time. Now i probably ran pacman -Sc during that period, and that lead to the deletion of the packages from the cache. Sorry for the false alarm, please discard this ticket.
http://mailman.archlinux.org/pipermail/pacman-dev/2011-January/012320.html