You are not logged in.

#1 2015-01-21 13:00:14

rubik
Member
Registered: 2012-03-23
Posts: 104

[SOLVED] linux: /boot/vmlinuz-linux exists in filesystem

I have had this issue for a while now. I ignored it but now I'd like to be able to upgrade. Pacman throws this error:

error: failed to commit transaction (conflicting files)
linux: /boot/vmlinuz-linux exists in filesystem
Errors occurred, no packages were upgraded.

There are now news at archlinux.org, and I'm hesitant to use the --force flag. What do you suggest? Also, I have linux-ck-kernel, if that's relevant to the issue.

Last edited by rubik (2015-01-21 14:19:37)

Offline

#2 2015-01-21 13:10:29

a821
Member
Registered: 2012-10-31
Posts: 389

Re: [SOLVED] linux: /boot/vmlinuz-linux exists in filesystem

Did you check the wiki? https://wiki.archlinux.org/index.php/Pa … leshooting

What's the output of?

pacman -Qo /boot/vmlinuz-linux 
uname -a

Offline

#3 2015-01-21 13:12:44

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] linux: /boot/vmlinuz-linux exists in filesystem

How did you install the linux-ck kernel?


Jin, Jîyan, Azadî

Offline

#4 2015-01-21 13:19:09

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [SOLVED] linux: /boot/vmlinuz-linux exists in filesystem

That file probably is not owned by kernel package, so pacman won't replace it. I'd just delete the file in question and proceed, but first post what a821 has told you to.

Offline

#5 2015-01-21 13:23:24

rubik
Member
Registered: 2012-03-23
Posts: 104

Re: [SOLVED] linux: /boot/vmlinuz-linux exists in filesystem

I don't know how I installed linux-ck-kernel, it's been a while. I probably followed the wiki.

@a821: Here are the commands' outputs:

$ pacman -Qo /boot/vmlinuz-linux
error: No package owns /boot/vmlinuz-linux
$ uname -a
Linux miki-laptop 3.17.5-1-ck #1 SMP PREEMPT Sun Dec 7 07:23:18 EST 2014 x86_64 GNU/Linux

I'm puzzled! Why would pacman care about that file if no package owns it?! The wiki says that in this case I should rename it and update again. I'll try and see what happens.

Last edited by rubik (2015-01-21 13:24:47)

Offline

#6 2015-01-21 14:11:11

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] linux: /boot/vmlinuz-linux exists in filesystem

rubik wrote:

I'm puzzled! Why would pacman care about that file if no package owns it?!

Pacman 'cares about that file' because it's not owned by the package trying to overwrite it, and would still 'care' if that file were owned by some other package. The point is that installing a package won't overwrite any file unless that file is owned by that package.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#7 2015-01-21 14:19:20

rubik
Member
Registered: 2012-03-23
Posts: 104

Re: [SOLVED] linux: /boot/vmlinuz-linux exists in filesystem

That makes sense, thank you for the explanation. Anyway, I renamed the file and the upgrade went fine. Pacman recreated that file afterwards.

Offline

Board footer

Powered by FluxBB