Arch Linux lib Directory Becomes a symlink
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Checking the wiki page at:
and following the suggestions I can see that there are several files not owned by glibc:
error: cannot determine ownership of directory '/lib/modules'
error: cannot determine ownership of directory '/lib/modules/3.0.4-linode38'
error: No package owns /lib/modules/3.0.4-linode38/modules.dep
error: cannot determine ownership of directory '/lib/modules/3.0.18-linode43'
error: No package owns /lib/modules/3.0.18-linode43/modules.dep
error: cannot determine ownership of directory '/lib/modules/3.4.2-linode44'
error: No package owns /lib/modules/3.4.2-linode44/modules.dep
These are all linode modules. The wiki suggests that these packaged need to be rebuilt to install their files in /lib. I presume that these have been built by Linode. So how to proceed?
Ian.
7 Replies
You can just "rm -rf /lib/modules", finish upgrading all your packages, and reboot to have them regenerated, or move that directory elsewhere, update, then move it back.
- Les
@saleh:
I have misread that article and I deleted the /lib, and I can not boot my linode, I do not know how to recover my system.
Sorry to hear about that. :/ But it sounds like you'll need to start with a fresh installation, or restore from a backup if you have one available. If the latter isn't an option, you can use Rescue Mode
Thankfully, we just pushed a new Arch Linux image and you should be able to deploy without having to worry about this update.
-Tim
Regards
Depends how you want to do it.
-T
https://bbs.archlinux.org/viewtopic.php?id=145006