FS#12775 - Pacman: Add feature to switch between testing and stable
Attached to Project:
Pacman
Opened by Erwin Van de Velde (evdvelde) - Tuesday, 13 January 2009, 10:37 GMT
Last edited by Dan McGee (toofishes) - Thursday, 23 July 2009, 02:39 GMT
Opened by Erwin Van de Velde (evdvelde) - Tuesday, 13 January 2009, 10:37 GMT
Last edited by Dan McGee (toofishes) - Thursday, 23 July 2009, 02:39 GMT
|
Details
Summary and Info:
I know that downgrading is not supported in archlinux, but it would be nice to have an option to move forward and backward between testing and stable. That way, I could test something and if it fails so hard that it renders working impossible, I could (perhaps with live CD) return to stable. Meaning thus that all packages from testing should be downgraded if they exist in core/extra. In my opinion it would make the group of test users bigger, since they always have a safety net to catch them when it really goes wrong. E.g. I do not have the time to test on a separate system but would occasionaly upgrade to testing for exciting new features IF the way back was easy too. |
This task depends upon
Closed by Dan McGee (toofishes)
Thursday, 23 July 2009, 02:39 GMT
Reason for closing: Implemented
Additional comments about closing: Commit 1d19f0896ccc1560a7e2f5b93cfe095b4aefe84a
Thursday, 23 July 2009, 02:39 GMT
Reason for closing: Implemented
Additional comments about closing: Commit 1d19f0896ccc1560a7e2f5b93cfe095b4aefe84a
Anyway, yaourt has a --downgrade feature that handles this for the user. Maybe we could add such an option to pacman.
Then the downgrade feature would be much easier to implement.
pacman -S $(pacman -Q --desynced)
Even better would be pacman -S --desynced
As always, I hesitate about a very minor thing before creating a patch:
1. Shall I implement -S --downgrade (-So / -Sn) or
2. -Suu (upgrade+downgrade, ie. install if the version doesn't match).
I prefer the 2nd, because downgrade-only doesn't make sense to me (it may break more things than it fixes), but -Suu may sound fool here (extra --sysupgrade for downgrade?).
Opinions?
P.S. If my today's ML patch will be accepted, the implementation will be trivial. (One more reason for dropping the use of sync_newversion() from _alpm_sync_sysupgrade.)