[pacman-dev] [PATCH] Introduce -Suu
Nagy Gabor
ngaba at bibl.u-szeged.hu
Thu May 14 13:51:31 EDT 2009
> >From 449d53df4a41f3856a5dba967e2eb186aa64914a Mon Sep 17 00:00:00 2001
> From: Nagy Gabor <ngaba at bibl.u-szeged.hu>
> Date: Thu, 14 May 2009 18:25:16 +0200
> Subject: [PATCH] Introduce -Suu
>
> If the user switches from unstable repo to a stable one, it is quite hard to
> sync its system with the new repo (the user will see many "Local is newer
> than stable" messages, nothing more). That's why I introduced -Suu, which
> treats a sync package like an upgrade, iff the package version doesn't match
> with the local one's.
>
> I added a new pactest (sync104.py) to test this, and I updated the
> documentation of -Su.
>
> Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
I am not a big fan of this terminology (one more --sysupgrade for
downgrade?), but I didn't want to introduce a new --sysdowngrade flag,
because "downgrade only" would cause more pain than benefit imho.
As usual, I slightly modified the patch in my repo. Namely, I've pushed
this into one line:
>" -u, --sysupgrade upgrade all packages that are out of date"
>" (-uu enables package downgrade)"
to "upgrade all outdated packages (-uu enables downgrade)".
Bye
More information about the pacman-dev
mailing list