You are not logged in.
Using kdemod4.3(32bit). I re-installed kernel26-2.6.30.5-1-i686(earliest in pacman pkg cache) and added kernel26 and kernel-headers to /etc/pacman.conf IgnorePkg but # "pacman -Syu" still asks to upgrade kernel to 2.30.6-1-i686. What do I add to that IgnorePkg to avoid kernel upgrade? Tried kernel, kernel26 and kernel26*. Adding nvidia,nvidia-utils and xorg-server to Ignorepkg give me that thee aren't upgraded(desirred result). Thanx.
Last edited by lestoil (2009-10-08 18:08:14)
Offline
Can you paste the relevant section of the config please.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
/etc/pacman.conf--IgnorePkg = kernel(or kernel26) kernel-headers nvidia nvidia-utils xorg-server. Should I put the kernel in NoUpgrade = line?
Last edited by lestoil (2009-10-06 15:23:53)
Offline
It would be better to directly paste you /etc/pacman.conf into a code block....
Also, kernel-headers are everything to do with the toolchain and nothing to do with the kernel. i.e. do not include them in IgnorePkg
Offline
How do I paste the /etc/pacman.conf into a code block? Wiki and forum etiquette not clear.
My pacman version is the latest upgrade one as of Sunday(10/4). /etc/pacman.conf has been unchanged--except for a minor ftp line deleted when compared to .pacnew version-- until adding "IgnorePkg = nvidia nvidia-utils xorg-server". Then "# pacman -Syu" ignores nvidia nvidia-utils and xsever-xorg.
Now adding "kernel" or "kernel26" to start of IgnorePkg line(above) of /etc/pacman.conf and then running "# pacman -Syu" gets that the kernel is not ignored! but nvidia and others are!
Last edited by lestoil (2009-10-06 14:46:41)
Offline
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg = nvidia nvidia-utils xorg-server
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# Testing is disabled by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
#KDEmod4
[kdemod-core]
Server = http://mirror.rit.edu/kdemod/core/i686
#KDEmod4
[kdemod-extragear]
Server = http://mirror.rit.edu/kdemod/extragear/i686
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
#Yaourt
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
Here is complete /etc/pacman.conf. file without the "kernel" or "kernel26" entry which doesn't work.
Offline
By "doesn't work" you mean that with this pacman.conf file pacman tries to upgrade one of nvidia, nvidia-utils, xorg-server. Is that correct?
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
Does this work?
IgnorePkg = nvidia nvidia-utils xorg-server kernel26 kernel26-firmware
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
I mean the /etc/pacman.conf get me the correct pacman -Syu response of ignoring/not upgrading nvidia nvidia utils xorg-server. But after adding kernel26 to list pacman -Syu gets me kernel upgrading anyway while ignoring the nvidia, etc. I have to say no to kernel upgrade.
Offline
Thx for responses. (Haven't cut'nppaste in yrs)
Loafer using your IgnorePkg line or with kernel/kernel26 and kernel26-firmware at start of list gets only the nvidia and xorg stuff ignored --like the kernel26 and kernel26-firmware entries were missing. I've tried different arrangements of items in IgnorePkg line with same result.
I hope the next pacman pkg will have a fix unless someone has another solution. Thx again:)
Offline
I highly doubt this is a pacman error - it would be all to easy to blame it on the developers . As others suspect it is probably some package that has a dependency on either the kernel or the firmware. I don't think the order in which you tell pacman to ignore packages should matter either (I myself have bluez 4.x and dependencies blacklisted).
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Could you put kernel26 into IgnorePkg and then do
$ pacman --debug --verbose -S kernel26
and tell us what you get?
Last edited by grey (2009-10-08 12:36:15)
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
Thx B and grey. Not into blame game--just into solution. This time as root
1)added kernel26 to IgnorePkg line
2)updatedb
3)pacman -Sy and Syu-->"ignoring" nvidia,nvidia-utils,xsever-xorg and gave me 2 pkgs to update.
4)pacman --debug --verbose -S kernel26-->debug:registering load database; debug:loading package cache for repo 'local'...kdemod-core...kdemod-extragear...core ::kernel26 is in IgnorePkg/IgnoreGroup. Install anyway? no since it was offering to re-install the last kernel26(30.6x)---I got fed up with having kernel listed with other updates so I said yes to update all during the last update yesterday. Thx for pacman --debug --verbose.. command option. Will try this again.
This time pacman -U kernel26-2.6.30.5*.pkg.tar.gz installed that kernel-->updatedb and pacman -Syu gave me: warning:kernel26,nvidia,nvidia-utils,xorg-xserver ignored/bypassed!!!
Just glad it worked this time:)
Last edited by lestoil (2009-10-08 18:07:31)
Offline