You are not logged in.

#1 2012-04-03 09:43:23

foppe
Member
Registered: 2011-04-02
Posts: 47

[Solved] Update issues grub2-common grub2-bios

I'm getting erors like:

(4/4) checking for file conflicts                  [######################] 100%
error: failed to commit transaction (conflicting files)
grub2-common: /etc/bash_completion.d/grub exists in filesystem
grub2-common: /etc/grub.d/00_header exists in filesystem
...
grub2-bios: /usr/lib/grub/i386-pc/zfscrypt.mod exists in filesystem
grub2-bios: /usr/lib/grub/i386-pc/zfsinfo.mod exists in filesystem
Errors occurred, no packages were upgraded.

during update to grub2-bios-1:2.00beta3-1 and grub2-common-1:2.00beta3-1.

Why does this happen? Is it safe to backup & remove the /etc/grub.d folder and empty the /usr/lib/grub/i386-pc folder?

Last edited by foppe (2012-04-03 10:22:41)

Offline

#2 2012-04-03 09:45:32

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved] Update issues grub2-common grub2-bios


Burninate!

Offline

#3 2012-04-03 10:03:10

foppe
Member
Registered: 2011-04-02
Posts: 47

Re: [Solved] Update issues grub2-common grub2-bios

Thanks a lot for the direction.
It does get weirder:

[foppe@arch ~]$ sudo pacman -Qo /etc/grub.d/00_header
error: No package owns /etc/grub.d/00_header

I'm pretty sure the file belongs to grub2 (or associated packages). But I'll back them up and see if the system survives the update of grub2.

Offline

#4 2012-04-03 10:21:59

foppe
Member
Registered: 2011-04-02
Posts: 47

Re: [Solved] Update issues grub2-common grub2-bios

I made a backup of the interesting files in /etc/grub.d, forced pacman to upgrade with

# pacman -Syuf

, instaaled optional os-prober (I had that but wasn't sure), did

# grub-mkconfig -o /boot/grub/grub.cfg

and rebooted. No issues found. Marked this thread as solved.
Thanks

Offline

#5 2012-04-03 10:42:22

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved] Update issues grub2-common grub2-bios

foppe wrote:

I made a backup of the interesting files in /etc/grub.d, forced pacman to upgrade with

# pacman -Syuf

Good to hear the issue is resolved. But one small remark though.

Never ever run "pacman -Syuf". It'll basically force an upgrade (and overwrite files) for every package available for update. The correct way forward in this case would have been "pacman -Sf grub2-common grub2-bios" (and even then only if you're 100% sure as described in the wiki articles I linked earlier).


Burninate!

Offline

Board footer

Powered by FluxBB