You are not logged in.

#1 2010-11-19 21:55:37

itti
Member
Registered: 2007-06-01
Posts: 79

how do i choose alternatives in pacman?

hi,

I'm a user of the rxvt-unicode-256color package from the AUR, as well as a yaourt user. This means I have the archlinux.fr repository enabled in pacman.conf. A few days ago archlinuxfr seemed to have released a package in their repository called "rxvt-unicode-afterimage" which seems to provide "rxvt-unicode-256color" too. yaourt/pacman asked the usual "replace x by y?" question on a system update. So I installed the -afterimage package but now I want to go back to the -256color AUR package but I don't know how I can revert my choice about which package to install as both provide "rxvt-unicode-256color" and now always the -afterimage package gets chosen for me. pacman docs/wiki don't seem to have an answer for this.

I am aware however that there may be the possibility to install the AUR package again if it's still in my local cache and that i could set an IgnorePkg in pacman.conf for the -afterimage package but this feels very workaround-ish. wink

Last edited by itti (2010-11-19 21:56:19)

Offline

#2 2010-11-19 23:20:22

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,671
Website

Re: how do i choose alternatives in pacman?

Just reinstall the package from the AUR.  Your "choice" is not actually recorded in the dataase other than noting that rxvt-unicode-afterimage provides rxvt-unicode-256color.  Once you replace the -afterimage one with the -256color one, pacman will never know it happened.

Offline

#3 2010-11-20 00:52:48

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

Re: how do i choose alternatives in pacman?

Or you could just not use the fr repo.

Offline

#4 2010-11-22 15:37:38

itti
Member
Registered: 2007-06-01
Posts: 79

Re: how do i choose alternatives in pacman?

Sometimes (at least in the past) the .fr repo had stuff available as package that would require me doing a lenghty build from AUR otherwise. This was the case with bin32-wine for some time. Yeah but you're right I could disable the .fr repo for now.

Thanks for clarifying that pacman does not somehow record any choices between alternatives. Seems like I have to build rxvt-unicode-256color manually to trick yaourt into installing this instead of the -afterimage package.

Offline

#5 2010-11-22 17:21:04

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

Re: how do i choose alternatives in pacman?

Or you can tell pacman to ignore the -afterimage package.

Offline

Board footer

Powered by FluxBB