You are not logged in.

#1 2008-09-12 15:53:12

Poisonblack
Member
From: Mumbai, India
Registered: 2008-07-25
Posts: 46

[Solved]How do I safely disable [testing] repo.?

Hi.!
I installed Arch about a month ago with [testing] repo enabled.I upgraded my system a few times in the period.Now I want to disable [testing] repo.So, I edited /etc/pacman.conf and commented it out.Now on running "pacman -Syu", I get:

:: Starting full system upgrade...
warning: boost: local (1.35.0-1) is newer than extra (1.34.1-2)
warning: cracklib: local (2.8.12-1) is newer than core (2.8.10-5)
warning: deluge: local (0.9.08-2) is newer than extra (0.5.9.1-1)
warning: inputproto: local (1.4.4-1) is newer than extra (1.4.3-1)
warning: intel-dri: local (7.1-2) is newer than extra (7.0.3-1)
warning: jfsutils: local (1.1.13-1) is newer than core (1.1.12-2)
warning: libdrm: local (2.3.1-1) is newer than extra (2.3.0-1)
warning: libgl: local (7.1-2) is newer than extra (7.0.3-2)
warning: libx11: local (1.1.4-3) is newer than extra (1.1.4-2)
warning: libxau: local (1.0.4-1) is newer than extra (1.0.3-1)
warning: libxcb: local (1.1.90.1-1) is newer than extra (1.1-1)
warning: mdadm: local (2.6.7-1) is newer than core (2.6.4-1)
warning: mesa: local (7.1-1) is newer than extra (7.0.3-3)
warning: netcfg: local (2.1.0_RC1-1) is newer than core (2.0.6-1)
warning: pcmciautils: local (015-1) is newer than core (014-4)
warning: pcre: local (7.8-1) is newer than core (7.7-2)
warning: pixman: local (0.11.8-1) is newer than extra (0.10.0-1)
warning: sdparm: local (1.03-1) is newer than core (1.02-2)
warning: shadow: local (4.1.2.1-2) is newer than core (4.0.18.2-2)
warning: xcb-proto: local (1.2-1) is newer than extra (1.1-1)
warning: xf86-video-intel: local (2.4.2-1) is newer than extra (2.3.2-1)
warning: xorg-server: local (1.4.99.906-2) is newer than extra (1.4.2-2)

How do I downgrade these packages without breaking anything on my system.Just running "pacman -S <any package from warning list> gives errors like missing dependencies, existing libraries etc.So I guess that's not the optimal way.
Or do I even need to downgrade these packages.From what I read on the wiki, packages in [testing] are candidates for [core] and [extra].So, if I just let them be till they hit [core] or [extra] and then re-install them, things should go smooth, but I am not very sure on this.
Any help will be appreciated.!

Last edited by Poisonblack (2008-09-12 16:20:54)


It's a miracle that curiosity survives formal education.

Offline

#2 2008-09-12 15:55:36

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: [Solved]How do I safely disable [testing] repo.?

did the same recently because of the xorg-server issue. just pacman -S all packages shown in the list

Offline

#3 2008-09-12 16:15:07

Poisonblack
Member
From: Mumbai, India
Registered: 2008-07-25
Posts: 46

Re: [Solved]How do I safely disable [testing] repo.?

arch0r wrote:

did the same recently because of the xorg-server issue. just pacman -S all packages shown in the list

That was a quick reply.! big_smile
As I said, that gives errors like a library already exists, dependency missing etc.Like, if I try pacman -S libgl, it says a certain library already exists on filesystem.Should I just remove that library and continue installing.?

EDIT: Aah..nvm.Was trying to install packages individually which generated all those dependency, library warnings.Installing all packages simultaneously did the trick.
Thanks.!

Last edited by Poisonblack (2008-09-12 16:20:13)


It's a miracle that curiosity survives formal education.

Offline

#4 2008-10-14 18:43:18

cautha
Member
From: Kingston, Ontario
Registered: 2008-06-02
Posts: 115
Website

Re: [Solved]How do I safely disable [testing] repo.?

Thanks for this!

After the downgrade, I got the following message:

Packages that were installed as dependencies but are no longer required by any installed package:
tdb
xcb-util

Forgive my ignorance, but are these useful in any way?

Harry

Offline

#5 2008-10-16 08:27:29

Heller_Barde
Member
Registered: 2008-04-01
Posts: 245

Re: [Solved]How do I safely disable [testing] repo.?

well.. since they are not used by any packages anymore I guess they are not useful (for you, that is) unless you want to develop apps for/with xc-bindings *shrug* big_smile

cheers
Barde

Offline

#6 2008-10-16 11:09:00

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: [Solved]How do I safely disable [testing] repo.?

my recommendation:

 
tar -czf /somewhere/etc.tar.gz /etc
pacman -Qqe | grep -v "$(pacman -Qqm)" > /somewhere/pkg.lst
nano /etc/pacman.conf (remove testing)
cat /somewhere/pkg.lst | xargs pacman -Syuf  --noconfirm
rm /etc/*
tar -xzf /somewhere/etc.tar.gz -C /

that should generate an 'almost clean' installation, with your original configurations restored.

(*) PS: **always** recheck your conf in /etc/ in order to ensure its compatibility with your current setup.

Last edited by kjon (2008-10-16 11:21:07)


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

Board footer

Powered by FluxBB