You are not logged in.

#1 2010-10-21 21:50:12

fatjake
Member
Registered: 2010-04-26
Posts: 45

[SOLVED] Usage of pacman --ignore

I have been unsuccessfully trying to prevent a package from being upgraded when I type pacman -Syu. I read the man and it appears that I need to use --ignore but I cant seem to get the syntax right.

[root@archvile pkg]# pacman -U --ignore wine-1.3.4-1-x86_64
error: no targets specified (use -h for help)
[root@archvile pkg]# pacman --ignore wine 1.3.4-1
error: no operation specified (use -h for help)
[root@archvile pkg]# pacman --ignore 'wine 1.3.4-1'
error: no operation specified (use -h for help)
[root@archvile pkg]# pacman -ignore 'wine 1.3.4-1'
error: problem setting rootdir 'e' (could not find or read directory)
[root@archvile pkg]# pacman -i 'wine 1.3.4-1'
error: no operation specified (use -h for help)
[root@archvile pkg]# pacman -i wine 1.3.4-1
error: no operation specified (use -h for help)
[root@archvile pkg]# pacman -ignore wine-1.3.4-1-x86_64.pkg.tar.xz 
error: problem setting rootdir 'e' (could not find or read directory)
[root@archvile pkg]# pacman -D --ignore wine-1.3.4-1-x86_64.pkg.tar.xz 
error: no targets specified (use -h for help)

Although I am a noob with Arch I've been getting along fine for the most part, I am probably missing something really obvious here.

Last edited by fatjake (2010-10-21 22:24:45)

Offline

#2 2010-10-21 21:56:08

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: [SOLVED] Usage of pacman --ignore

What happens if you include the -Syu flags in the same command line with the --ignore ?

pacman -Syu --ignore wine

Offline

#3 2010-10-21 21:57:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Usage of pacman --ignore


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2010-10-21 22:24:28

fatjake
Member
Registered: 2010-04-26
Posts: 45

Re: [SOLVED] Usage of pacman --ignore

skunktrader wrote:

What happens if you include the -Syu flags in the same command line with the --ignore ?

pacman -Syu --ignore wine

Aha! That was it.

Thanks to Jason also, I will use that method if I decide I want to keep it longer term.

Offline

Board footer

Powered by FluxBB