You are not logged in.

#1 2008-10-14 12:10:53

peoro
Member
Registered: 2007-06-10
Posts: 62

replacing packages

Hello,
I'm using the following repos (in this order): "core", "extra", "community" and "testing". The order is important because I want that packages from extra have precedence on packages from testing: that's it, I don't want to automagically replace xorg-server 1.4.2 (from extra) with the newer xorg-server 1.5.2 (from testing), and that's exactly how pacman works. Great!

The problem is with packages that replace others: if there's a package from testing which would replace a package from extra, pacman asks you what to do (and by default it would replace).
I think it's a buggy behaviour: in my opinion pacman should only (ask you whether to) replace packages that have at least the same "precedence" as the packages it's going to replace:

Replace X (which is not in a repository) with whatever/Y? -> OK
Replace X (from extra) with extra/Y? -> OK
Replace X (from extra) with core/Y? -> OK
Replace X (from extra) with testing/Y? -> NO! Pacman shouldn't ask me! I don't want to replace (that in this case is a synonym of "upgrade") a package from extra with one from testing!
Replace bluez-libs with testing/bluez -> NO!
Replace gail with testing/gtk2? -> NO!
Replace pwlib with testing/ptlib? -> NO!

Offline

#2 2008-10-14 12:18:41

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: replacing packages

File a bug report/feature request about this.  I doubt it will be a high priority as [testing] is only support when at the front of the repo list but it is an interesting request anyway.

Offline

Board footer

Powered by FluxBB