You are not logged in.

#1 2014-10-15 16:51:42

klenamenis
Member
Registered: 2014-07-03
Posts: 101

[SOLVED] pacman disregarding pacman.conf

Hello,

I want to keep some packages from being upgraded as well as some directories from being written to, so I used IngorePkg and NoExtract in /etc/pacman.conf, but pacman totally ignores those lines. There is no error message or anything else, the directories fill and mentioned packages show up on the update's list.

Can anybody help?

[klemens@arch-pc ~]$ egrep "IgnorePkg|NoExtract" /etc/pacman.conf
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg = linux,linux-headers
NoExtract   = /usr/share/{doc,gtk-doc,man}/*

Well, the problem with the directories is solved big_smile I forgot to remove the leading "root-slash", but IgnorePkg still doesn't work, though.

Last edited by klenamenis (2014-10-15 17:32:31)

Offline

#2 2014-10-15 17:02:56

Pse
Member
Registered: 2008-03-15
Posts: 413

Re: [SOLVED] pacman disregarding pacman.conf

I think packages should be space-separated, not comma-separated.

Last edited by Pse (2014-10-15 17:03:21)

Offline

#3 2014-10-15 17:16:53

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

Re: [SOLVED] pacman disregarding pacman.conf

Pse wrote:

I think packages should be space-separated, not comma-separated.

This. IgnorePkg is an array.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2014-10-15 17:31:02

klenamenis
Member
Registered: 2014-07-03
Posts: 101

Re: [SOLVED] pacman disregarding pacman.conf

I kinda feel dumb now ;D thanks!

Offline

Board footer

Powered by FluxBB