FS#6420 - downgrading support
Attached to Project:
Pacman
Opened by Roman Kyrylych (Romashka) - Wednesday, 14 February 2007, 22:52 GMT
Last edited by Xavier (shining) - Monday, 19 October 2009, 11:07 GMT
Opened by Roman Kyrylych (Romashka) - Wednesday, 14 February 2007, 22:52 GMT
Last edited by Xavier (shining) - Monday, 19 October 2009, 11:07 GMT
|
Details
pacman doesn't have support for downgrading. Yes, it is
possible to do as described in
http://wiki.archlinux.org/index.php/Downgrade_packages, but it's not a nice solution.
FR #1: support downgrading to versions in cache (will need improved -Sc too) FR #2: support for replacing newer local versions with older from current/extra (very useful when switching off from testing or unstable). |
This task depends upon
Closed by Xavier (shining)
Monday, 19 October 2009, 11:07 GMT
Reason for closing: Implemented
Additional comments about closing: #2 was implemented in 3.3.0 with the new -Suu option
Monday, 19 October 2009, 11:07 GMT
Reason for closing: Implemented
Additional comments about closing: #2 was implemented in 3.3.0 with the new -Suu option
#2 sounds easier, and I do think I like it.
Regarding both of these, however, downgrading is an edge case, it is not common behavior. If it _is_ common behavior, we need to look at WHY this is so. We do not want users using old packages, and making it easier to do so gives them that ability (especially newbies).
#2 sounds nicer, and it's very useful when switching off from testing indeed (but why unstable?), even if it doesn't have much use outside that particular case. And I don't think users should enable/disable testing all the time.
Tuned #2:
Earlier ftp.estpak.ee hosted older versions of packages (yes, sometimes packages in extra/current were unusuable and thus I had to downgrade); I found this very useful, so I downloaded and installed (-U) older packages by hand from there.
So it would be nice if multiple versions of packages would be allowed in sync repos [to not to confuse dependency resolving and such things the older packages could be placed in a separate place, such as in the .old subdirectory of the repo; this would be used in case of explicit 'pacman -S package-2.0-1' request only]
This may be a theoretical FR because our mirrors probably syncs their dbs from ftp.al.org not _generate_ them (but this can be changed).
Referring to the testing/extra question: you can specify the repo by '-S extra/foo', pacman should downgrade after confirmation.
PS: With the notation above -Sud could install all version-not-matching packages.