You are not logged in.

#1 2006-02-23 04:40:13

willis3000
Member
From: Canada
Registered: 2005-07-27
Posts: 28

Pacman Downgrade

Hi,

I accidentally did a pacman upgrade to the testing repository.  Is it possible to downgrade all the packages to current?

Thanks!

Will

Offline

#2 2006-02-23 04:59:49

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Pacman Downgrade

To downgrade:
pacman -S  repo/package
where repo is the repo containing the package (current or extra) and package is the package you want to downgrade.  Testing only contains a few package now so you can easily do that for each package you have installed from testing.

Offline

#3 2006-02-24 01:40:41

willis3000
Member
From: Canada
Registered: 2005-07-27
Posts: 28

Re: Pacman Downgrade

Thanks for the reply.  How do I find out which packages are from testing? 
Thanks again! smile

Offline

#4 2006-02-24 03:27:56

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Pacman Downgrade

http://www.archlinux.org/packages.php?s_repo=4

You can also check the end of /var/log/pacman.log to see what packages you have recently installed/upgraded.

Offline

#5 2006-02-24 05:01:42

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: Pacman Downgrade

the easiest way to do that, comment testing repository in /etc/pacman.conf and do pacman -Syu, pacman will warn you now about local package newer than the one on repo, take the name of the packages and do pacman -S to them smile

Hope it helps...

Offline

#6 2006-02-25 00:41:49

willis3000
Member
From: Canada
Registered: 2005-07-27
Posts: 28

Re: Pacman Downgrade

Great! Thanks a lot guys!  big_smile

Offline

#7 2010-05-03 15:47:58

mac2k
Member
Registered: 2010-04-22
Posts: 4

Re: Pacman Downgrade

The following also does the job:

pacman -Syy
pacman -Suuf

Offline

#8 2010-05-03 16:07:10

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: Pacman Downgrade

i wouldn't through the f on there.  I've seen Allan recommend the following as the official un-[testing] of a system:

# comment [testing] in pacman.conf
pacman -Syy
pacman -Suu

never had to do it though...

Offline

#9 2010-05-03 16:10:17

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Pacman Downgrade

mac2k - you may have just set a new record. smile

This thread is over four years old, and as you noted, pacman has changed since then. Also, the OP has not posted in over four years, so it's safe to assume he's no longer using Arch.

Please read the guidelines relating to old threads, and the rest of that document while you're at it.

Closed.

Offline

Board footer

Powered by FluxBB