You are not logged in.

#1 2010-11-28 20:45:10

rwd
Member
Registered: 2009-02-08
Posts: 671

[solved] package gets upgraded despite ignorePkg in pacman.conf

I wanted to postpone the recent kernel upgrade for a little while so I put  in /etc/pacman.conf
'IgnorePkg =  kernel26 kernel26-firmware '. Yet a 'pacman -Syu' happily tries to install the new kernel.  Any idea why this is?

update:
My bash alias didn't call pacman, but 'clyde', and clyde has it's own 'ignorePkg' in /etc/clyde.conf .

Last edited by rwd (2010-11-28 23:10:21)

Offline

#2 2010-11-28 20:47:33

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

Re: [solved] package gets upgraded despite ignorePkg in pacman.conf

Whitespace? The wiki example uses:

IgnorePkg=kernel26

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2010-11-28 21:02:40

rwd
Member
Registered: 2009-02-08
Posts: 671

Re: [solved] package gets upgraded despite ignorePkg in pacman.conf

I downgraded the kernel and changing the line to

IgnorePkg=kernel26 kernel26-firmware kernel26-headers

But pacman still tries to upgrade kernel26. Also the default pacman.conf in the pacman package uses the 'x = y' format for all settings, so it would seem odd that one specific setting shouldn't be used with whitespace.

Last edited by rwd (2010-11-28 21:38:05)

Offline

#4 2010-11-28 22:06:31

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: [solved] package gets upgraded despite ignorePkg in pacman.conf

Thats strange. Whitespace works fine for me.


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#5 2010-11-28 22:13:43

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: [solved] package gets upgraded despite ignorePkg in pacman.conf

Did you remember to remove the # from the line?

Offline

#6 2010-11-28 22:23:14

rwd
Member
Registered: 2009-02-08
Posts: 671

Re: [solved] package gets upgraded despite ignorePkg in pacman.conf

ataraxia wrote:

Did you remember to remove the # from the line?

I had indeed removed it already.

Last edited by rwd (2010-11-28 22:23:41)

Offline

#7 2010-11-28 22:27:40

rwd
Member
Registered: 2009-02-08
Posts: 671

Re: [solved] package gets upgraded despite ignorePkg in pacman.conf

Ah found it. I my bash alias didn't call pacman, but 'clyde', and clyde has it's own 'ignorePkg' in /etc/clyde.conf . It would seem better design to me  if clyde used   pacman.conf as defaults  since it is a front-end for pacman, but alas.

Last edited by rwd (2010-11-28 22:30:51)

Offline

#8 2010-11-29 03:03:20

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [solved] package gets upgraded despite ignorePkg in pacman.conf

rwd wrote:

Ah found it. I my bash alias didn't call pacman, but 'clyde', and clyde has it's own 'ignorePkg' in /etc/clyde.conf . It would seem better design to me  if clyde used   pacman.conf as defaults  since it is a front-end for pacman, but alas.

The dev made that decision, you'll find it in the clyde thread along with reasonings for it. FWIW I agree with you, but I'm not the dev smile


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#9 2010-11-29 08:57:12

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [solved] package gets upgraded despite ignorePkg in pacman.conf

rwd wrote:

Ah found it. I my bash alias didn't call pacman, but 'clyde', and clyde has it's own 'ignorePkg' in /etc/clyde.conf . It would seem better design to me  if clyde used   pacman.conf as defaults  since it is a front-end for pacman, but alas.

Clyde is not a frontend for pacman, it's a frontend for libalpm. Do you consider it better design if one program needs to be configured from another program's .conf file?


ᶘ ᵒᴥᵒᶅ

Offline

#10 2010-11-29 09:15:33

rwd
Member
Registered: 2009-02-08
Posts: 671

Re: [solved] package gets upgraded despite ignorePkg in pacman.conf

litemotiv wrote:
rwd wrote:

Ah found it. I my bash alias didn't call pacman, but 'clyde', and clyde has it's own 'ignorePkg' in /etc/clyde.conf . It would seem better design to me  if clyde used   pacman.conf as defaults  since it is a front-end for pacman, but alas.

Clyde is not a frontend for pacman, it's a frontend for libalpm. Do you consider it better design if one program needs to be configured from another program's .conf file?

Well from the user's point of view  it is a front-end for pacman. So most sensible thing to me would be for clyde to use pacman.conf as default, with the ability to override them in clyde,conf, similar to Bauerbill,  and also like the way mplayer front-ends deal with  mplayer's settings. But let's not get into that. It's the dev's choice, and fortunately we have a lot of other apps to choose from.

Last edited by rwd (2010-11-29 09:16:24)

Offline

#11 2010-11-29 09:19:44

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

Re: [solved] package gets upgraded despite ignorePkg in pacman.conf

rwd wrote:

Well from the user's point of view  it is a front-end for pacman. So most sensible thing to me would be for clyde to use pacman.conf as default, with the ability to override them in clyde,conf, similar to Bauerbill,

Why,  The user is wrong.  It is a libalpm frontend jsut like it says in its pkgdesc... "Next-generation libalpm/makepkg wrapper."

Bauerbill on the other hand states it is an extension of powerbill which states it is a wrapper for pacman...

Offline

Board footer

Powered by FluxBB