You are not logged in.

#1 2007-08-22 17:38:09

and
Member
Registered: 2007-08-16
Posts: 2

Can not upgrade kernel 2.6.20 to 2.6.22 [ solved ]

Some days ago, I installed Voodoo.
In order to install scim for chinese inputting, I had to upgrade my system.
I did that with the following cmd:

sudo pacman -Syu --ignore kernel26

meaning to keep the legendary "Voodoo".
After upgrading I found that the system changed to "Don't Panic".

I had no choice but lived with it. However, when I decided to install nvidia driver for
my Geforce 2 MX400 card to run an opengl-acceralation-required apps, by running:

sudo pacman -S nvidia-96xx

it failed me. I can't startx because the system can't find the nvidia module.
lsmod | grep nvidia showed that the driver was not installed properly.

$lsmod | grep nvidia
nvidiafb               42396  1
i2c_algo_bit            7304  2 rivafb,nvidiafb
i2c_core               17792  5 rivafb,fb_ddc,nvidiafb,i2c_algo_bit,i2c_i801

I thought that it might be due to the incompatible between
the driver and the kernel.
So I

sudo pacman -Syu

again, it failed. Output of the upgrade is as follows:

checking package integrity... done.
cleaning up... done.
checking for file conflicts...
error: could not prepare transactionkernel26: /lib/modules/2.6.22-ARCH/modules.alias exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.ccwmap exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.dep exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.ieee1394map exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.inputmap exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.isapnpmap exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.ofmap exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.pcimap exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.seriomap exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.symbols exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.usbmap exists in filesystem

errors occurred, no packages were upgraded.

I google the messege "could not prepare transactionkernel26".
There is zero result so I have to come here for help.

Last edited by and (2007-08-23 15:57:11)

Offline

#2 2007-08-22 17:49:11

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Can not upgrade kernel 2.6.20 to 2.6.22 [ solved ]

Those files were added by a depmod call, probably in the post-install of nvidia.  Just run

pacman -Sf kernel26

About the rest of your post:

and wrote:

meaning to keep the legendary "Voodoo".
After upgrading I found that the system changed to "Don't Panic".

The name that shows up on boot is controlled by the initscripts package.  If you're looking for something that does real releases, you're looking in the wrong place with Arch.  The names are just fun stuff we add to the installers, they mean nothing with a fully working system.

and wrote:

lsmod | grep nvidia showed that the driver was not installed properly.

$lsmod | grep nvidia
nvidiafb               42396  1
i2c_algo_bit            7304  2 rivafb,nvidiafb
i2c_core               17792  5 rivafb,fb_ddc,nvidiafb,i2c_algo_bit,i2c_i801

I thought that it might be due to the incompatible between
the driver and the kernel.

Correct - our modules are always built against the current kernel - keeping an old kernel around and trying to install the modules currently in the repos will not work.

and wrote:

I google the messege "could not prepare transactionkernel26".
There is zero result so I have to come here for help.

What version of pacman are you using? 

pacman -Qi pacman

I thought the newline bug ("transactionkernel26" should be "transaction\nkernel26") was already fixed in the most recent version.

Last edited by Cerebral (2007-08-22 17:53:33)

Offline

#3 2007-08-23 15:56:13

and
Member
Registered: 2007-08-16
Posts: 2

Re: Can not upgrade kernel 2.6.20 to 2.6.22 [ solved ]

Thank you for your solusion, Cerebral.
It works. My kernel was successfully upgraded to 2.6.22.

btw: I did not realize that was a bug. Now my pacman version is 3.0.5-3, latest.

Offline

Board footer

Powered by FluxBB