You are not logged in.

#1 2007-05-06 22:02:48

dr_te_z
Member
From: Zoetermeer, the Netherlands
Registered: 2006-12-06
Posts: 154

Where did I let myself mislead

I'm sure that's not correct english, but then again, english is not my native tongue.

What I mean is this:

I like my current configuration and when I type "pacman -Suy" on a regular base I want my "userland" apps to be updated, but not my kernel. I thought I understoot how and I edited my "/etc/pacman.conf" (2 weeks ago) like this:

#
# GENERAL OPTIONS
#
[options]
LogFile     = /var/log/pacman.log
NoUpgrade   = etc/passwd etc/group etc/shadow etc/sudoers
NoUpgrade   = etc/fstab etc/raidtab etc/ld.so.conf
NoUpgrade   = etc/rc.conf etc/rc.local
NoUpgrade   = etc/modprobe.conf etc/modules.conf
NoUpgrade   = etc/lilo.conf boot/grub/menu.lst
HoldPkg     = pacman glibc kernel
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

(I added the word "kernel" on the HoldPkg line).
But look what happened:

[dick@R50p ~]$ uname -r
2.6.21-ARCH
[dick@R50p ~]$

What did I do wrong? What do I have to do to tell pacman to leave the kernel as is?


Somewhere between "too small" and "too large" lies the size that is just right.
- Scott Hayes

Offline

#2 2007-05-06 22:10:45

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Where did I let myself mislead

Not HoldPkg, but IgnorePkg. Not kernel, but kernel26.

IgnorePkg kernel26

Offline

#3 2007-05-08 20:54:44

dr_te_z
Member
From: Zoetermeer, the Netherlands
Registered: 2006-12-06
Posts: 154

Re: Where did I let myself mislead

Thanks!

[root@R50p ~]# vim /etc/pacman.conf
[root@R50p ~]# pacman -Syu
:: Synchronizing package databases... 
:: current is up to date
:: extra is up to date
:: community is up to date
:: kernel26-2.6.21.1-7: ignoring package upgrade (2.6.21.1-8)
:: Above packages will be skipped.  To manually upgrade use 'pacman -S <pkg>'
[root@R50p ~]#

Somewhere between "too small" and "too large" lies the size that is just right.
- Scott Hayes

Offline

Board footer

Powered by FluxBB