You are not logged in.

#1 2006-08-28 09:20:07

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Mixing software branches

Is there a way to "mix" software branches with pacman?  Example: Now that xorg-7.1 is in testing, is there an easy way (I know I could manually download the packages and do pacman -A) to just install xorg-7.1 (and it's dependancies) from testing, and leave the rest of the system running current?

For all you people who use/have used Gentoo, I'm looking for the same functionality that the /etc/portage/package.keywords file offers.  Probably an easier way of explaining it wink


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#2 2006-08-28 09:23:28

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

Re: Mixing software branches

Uncomment the lines relating to the testing repo in /etc/pacman.conf, and do pacman -Syu. Any packages that are presently in testing e.g.the xorg 7.1 stuff, will be installed on your system. All other packages will remain at the versions in current or extra, as appropriate.

For this to work as intended, it is important to keep testing as the first repo in the list.

Offline

#3 2006-08-28 09:37:33

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: Mixing software branches

That isn't quite what I'm after.  I want to be able to pick what packages I want to be installed from testing, and what packages I want to be installed from current.  Just now, it is saying it wants to install xorg-7.1, but also things like a kernel, klibc, mkinitcpio, mkinitrd, screen, lvm2, etc etc, and I don't want to install the testing versions of these packages.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#4 2006-08-28 09:53:23

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

Re: Mixing software branches

Ok - the unofficial, unrecommended way to do this is to move the testing repo to the end of the list, do pacman -Sy, and then install the packages individually with pacman -S testing/<pkgname>. Make sure you get the right dependencies i.e. testing-package foo could depend on testing-package bar, or it might still depend on current-package bar.

Offline

#5 2006-08-28 11:12:11

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Mixing software branches

Updating to X.Org 7.1 without updating to the latest expat packages also in testing will break many things on your system. I you're going for the selective update method, be sure to grab all from testing that has been rebuilt for expat.

Offline

#6 2006-08-28 12:56:44

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Mixing software branches

JGC wrote:

Updating to X.Org 7.1 without updating to the latest expat packages also in testing will break many things on your system. I you're going for the selective update method, be sure to grab all from testing that has been rebuilt for expat.

If he grabs all xorg, expat, expat-related and mkinitcpio-related packages from testing, then he can update to testing completely.

Offline

#7 2006-08-28 14:02:42

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: Mixing software branches

Coolio, I'll give it a go, and hope nothing breaks.

Cheers.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

Board footer

Powered by FluxBB