Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Jul 16, 2012 9:13 am 
Offline
Junior Member

Joined: Sun Mar 29, 2009 6:43 am
Posts: 25
Website: http://www.ian-barton.com
Location: England
Having some problems with the latest Arch update. I am getting the following error:

Code:
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem


Checking the wiki page at:

https://wiki.archlinux.org/index.php/DeveloperWiki:usrlib

and following the suggestions I can see that there are several files not owned by glibc:

Code:
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.


Top
   
PostPosted: Mon Jul 16, 2012 6:09 pm 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
Those are created by the "modules.dep" option in your configuration profile in the Linode Manager, and are automatically generated at boot.

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


Top
   
PostPosted: Wed Jul 18, 2012 9:37 am 
Offline
Junior Member

Joined: Sun Mar 29, 2009 6:43 am
Posts: 25
Website: http://www.ian-barton.com
Location: England
Thanks, that worked perfectly. I was worried that moving/deleting them might render the system unbootable.


Top
   
PostPosted: Wed Jul 18, 2012 4:37 pm 
Offline
Newbie

Joined: Wed Jul 18, 2012 4:32 pm
Posts: 2
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.


Top
   
PostPosted: Wed Jul 18, 2012 4:48 pm 
Offline
Sysop

Joined: Sat Nov 27, 2010 3:32 am
Posts: 180
Website: https://blog.timheckman.net/
Location: San Francisco, CA
saleh wrote:
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 to back up your files.

Thankfully, we *just* pushed a new Arch Linux image and you should be able to deploy without having to worry about this update.

-Tim

_________________
'If debugging is the process of removing bugs, then programming must be the process of putting them in.' //Edsger Dijkstra
'Nothing is withheld from us which we have conceived to do.' | 'Do things that have never been done.' //Russell Kirsch


Top
   
PostPosted: Wed Jul 18, 2012 10:08 pm 
Offline
Newbie

Joined: Wed Jul 18, 2012 4:32 pm
Posts: 2
Thank you very much for your reply. I am trying to use Rescue Mode to backup my files, so I can see my files and deal with them, but I do not know how can I make a backup for them, especially for the directory /srv/http.

Regards


Top
   
PostPosted: Wed Jul 18, 2012 10:27 pm 
Offline
Sysop

Joined: Sat Nov 27, 2010 3:32 am
Posts: 180
Website: https://blog.timheckman.net/
Location: San Francisco, CA
You can copy the files to your local PC, you could also just shrink the disk image and deploy the new one alongside, mount the old image in the new distro and copy.

Depends how you want to do it.

-T

_________________
'If debugging is the process of removing bugs, then programming must be the process of putting them in.' //Edsger Dijkstra
'Nothing is withheld from us which we have conceived to do.' | 'Do things that have never been done.' //Russell Kirsch


Top
   
PostPosted: Thu Jul 19, 2012 4:07 am 
Offline
Junior Member

Joined: Sun Mar 29, 2009 6:43 am
Posts: 25
Website: http://www.ian-barton.com
Location: England
You may be able to rescue your old install. Have a look at https://bbs.archlinux.org/viewtopic.php?id=145006 this thread on the Arch forums.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: mattltm and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group