You are not logged in.
Hey
I did a pacman -Syu with [testing] enabled.
Is there an automatic way to downgrade back all those new packages from [testing]?
Tnx
Fiod
Offline
Afaict, disable testing, do a pacman -Sy, check the messages about packages being newer than those on the repos, and reinstall those.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Tnx for the reply.
But that is not an "automatic" way, but a manual one... )
fiod
Offline
Unfortunately, there's no automatic method. Best way would be to check your pacman log file for the packages you upgraded from testing, disable the repo in pacman.conf, then pacman -S all those packages.
-edit- B's method would work too - "X on your system is newer than Y in [extra]" should show up for all the testing packages once the repo is disabled.
Last edited by Cerebral (2007-09-26 15:15:30)
Offline
Ok, thanks.
Can you think of an awk/sed or whatever script to "cut" the first words (meaning: package name)
of all the lines that look like that:
warning: xf86dgaproto: local (2.0.3-1) is newer than extra (2.0.2-1)
warning: xkeyboard-config: local (1.0-1) is newer than extra (0.9-2)
warning: xorg-server: local (1.4-3) is newer than extra (1.2.0-5)
warning: xproto: local (7.0.11-1) is newer than extra (7.0.10-1)
...
tnx
fiod
Offline
pacman-command-here 2>&1 | grep "is newer than" | cut -d' ' -f2 | cut -d':' -f1
That should do it for you.
Offline
great.
thanks a lot.
fiod
Offline
hey again
Suppose I got a file with the names of the packages I want to upgrade.
How do I tell pacman to upgrade those packages?
I tried all these, which didn't work:
pacman -S | cat filename
cat filename | pacman -S
pacman -S 'cat filename'
tnx
fiod
Offline
never mind.
got it.
the problem was with the quotes.
pacman -S `cat filename`
worked.
tnx
fiod
Offline
yup - that'll work fine. It's the same as pacman -S $(cat filename)
Offline