You are not logged in.

#1 2012-07-28 06:18:08

Malvineous
Member
From: Brisbane, Australia
Registered: 2011-02-03
Posts: 193
Website

How can you ignore one specific version of a package when upgrading?

Hi all,

Due to a rather nasty bug in mplayer, the current version in the Arch repositories is unusable for me.  I am currently running the previous version without any problems, but every time I try to upgrade, pacman wants to reinstall this broken version.

I don't want to list mplayer in the IgnorePkgs option, because then I won't get any new versions.  Since the bug has long been fixed, the next Arch version should work fine - it's just the current Arch version (35014) that is broken and I want to ignore.

Is there some way I can blacklist this specific version of the package, so although it won't ever be installed, any newer version will?

I tried adding "mplayer-35014" and "mplayer-35014-1" to IgnorePkgs but it didn't work.

Any suggestions?

Offline

#2 2012-07-28 06:35:47

Hspasta
Member
Registered: 2011-12-24
Posts: 189
Website

Re: How can you ignore one specific version of a package when upgrading?

Putting the package in the ignored list should be fine. Pacman tells you everytime it skips a package and you can see the updated version number there.  I don't know how else you could go about this.

Offline

#3 2012-07-28 09:22:56

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

Re: How can you ignore one specific version of a package when upgrading?

You've already built mplayer from svn, so why not just use that until the Arch packages is updated?

Offline

#4 2012-07-28 09:34:45

Malvineous
Member
From: Brisbane, Australia
Registered: 2011-02-03
Posts: 193
Website

Re: How can you ignore one specific version of a package when upgrading?

Hmm, I hadn't thought of that.  I didn't actually build a package from it, because I didn't know where the problem was.  So I just compiled a bunch of things the old fashioned way and ran them without installing anything until I had narrowed down the problem.  But I'm sure there's an mplayer-svn in AUR I could use - good idea.

Offline

#5 2012-07-28 15:45:08

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: How can you ignore one specific version of a package when upgrading?

Downgrade + IgnorePkg

Offline

#6 2012-07-29 00:18:51

Malvineous
Member
From: Brisbane, Australia
Registered: 2011-02-03
Posts: 193
Website

Re: How can you ignore one specific version of a package when upgrading?

But how do I specify the version in IgnorePkg per my original post?

Offline

#7 2012-07-29 01:27:40

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: How can you ignore one specific version of a package when upgrading?

Simple, you don't.

Offline

#8 2012-07-29 01:43:49

Malvineous
Member
From: Brisbane, Australia
Registered: 2011-02-03
Posts: 193
Website

Re: How can you ignore one specific version of a package when upgrading?

Right.  I was just wondering why a suggestion was given that I already said didn't do what I wanted.  Thought I might've missed something.

Offline

Board footer

Powered by FluxBB