You are not logged in.

#1 2009-06-07 18:10:54

tomcooksey
Member
Registered: 2009-06-07
Posts: 7

How to mark specific package versions as bad with Pacman

I have a problem with X - I have an Intel chipset. i965 to be precise. I know coming from Gentoo that the latest drivers are broken. In Gentoo, the fix was very easy - I just "masked" the newer packages and paludis would ignore them.

I've googled a fair bit, but there doesn't seem to be a way to do this with pacman. The only thing I could find is IgnorePkg which I assumed I could add package versions to like "xf86-video-intel>2.6". But I can't seem to make this work.

Is there a way to do masking in a similar way to Paludis, or am I going to have to trawl through the arm.kh.nu and do this manually?

Offline

#2 2009-06-07 18:21:28

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: How to mark specific package versions as bad with Pacman

I'm not sure I understand your intentions.

There's a xf86-video-intel-legacy package in the official repos - that should work better than the latest drivers for you. If you use IgnorePkg, the package won't get updated, but pacman will tell you when there's a newer version available in the repos.

Offline

#3 2009-06-07 18:27:50

tomcooksey
Member
Registered: 2009-06-07
Posts: 7

Re: How to mark specific package versions as bad with Pacman

yup, tried that package - it's also broken.

What I want to do is make pacman ignore xf86-video-intel versions >=2.6.0. I want pacman to then take a look at the versions avaliable and choose the latest one which is <2.6.0.

The trouble is, xf86-video-intel-legacy is too old and xf86-video-intel is too new.

I know there's other packages I will need to do this for in the future too.

Offline

#4 2009-06-07 18:30:59

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: How to mark specific package versions as bad with Pacman

There is no such feature in pacman, the closest you will get are either your own custom repo, or using -U


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2009-06-07 18:48:33

tomcooksey
Member
Registered: 2009-06-07
Posts: 7

Re: How to mark specific package versions as bad with Pacman

Thanks - I think you just saved me hours of googling for something which doesn't exist!

I'll see if I can find some older packages from arm.kh.nu...

Offline

#6 2009-06-07 19:56:49

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

Re: How to mark specific package versions as bad with Pacman

Once you've found and installed an older version, IgnorePkg will be useful.

Offline

#7 2009-06-07 20:07:00

Robertek
Member
From: Czech Republic
Registered: 2007-06-02
Posts: 165
Website

Re: How to mark specific package versions as bad with Pacman

In this case use xf86-video-intel-legacy

Offline

#8 2009-06-08 00:13:25

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: How to mark specific package versions as bad with Pacman

tomcooksey wrote:

What I want to do is make pacman ignore xf86-video-intel versions >=2.6.0. I want pacman to then take a look at the versions avaliable and choose the latest one which is <2.6.0

There's no point specifying a version here -- Arch doesn't maintain old packages (ie, there'll never be a version of a package 'inserted' between 2.5.9 and 2.6.0)

Install the package version you need, then add it to IgnorePkg

Offline

Board footer

Powered by FluxBB