Re: Glibc 2.16.0-2 and /lib problem : the answer ;)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Saturday 07 July 2012 18:18:28 Jan Steffens wrote:
> On Sat, Jul 7, 2012 at 6:09 PM, Jonathan Hudson <jh+arch@xxxxxxxxxxx> wrote:
> > On Sat, 7 Jul 2012 17:00:06 +0100, Jonathan Hudson wrote:
> >>On Sat, 07 Jul 2012 17:35:56 +0200, Arno Gaboury wrote:
> >>>On 07/07/2012 05:27 PM, fredbezies wrote:
> >>>> Well, Tom gave the answer. Boot on rescue-CD / rescue USB-key.
> >>>> 
> >>>> Remove /lib.
> >>>> 
> >>>> And create a symlink : ln -sf /usr/lib lib
> >>>> 
> >>>> I think there will be a lot of problem for a lot of users when glibc
> >>>> 2.16.0-x will be uploaded on core.
> >>>> 
> >>>> Well, I think I have to do this mistake. I *do* know that forcing
> >>>> wasn't a good idea :|
> >>>
> >>>As I will need to do the update too, can someone explain briefly  in
> >>>this list what shoule be done to avoid such a situation?
> >>>
> >>>TY in advance.
> >>
> >>It may still fail
> >>
> >>error: extract: not overwriting dir with file lib
> >>error: problem occurred while upgrading glibc
> >>call to execv failed (No such file or directory)
> >>error: command failed to execute correctly
> >>error: could not commit transaction
> >>error: failed to commit transaction (transaction aborted)
> >>Errors occurred, no packages were upgraded.
> >>
> >>At this the machine is toast. Hope magic-sysreq is enabled, and you
> >>have rescue disk ...
> >>
> > Apologies, this was meant to be in reply to the "upgrade glibc last"
> > advice. Two systems upgraded, two failures ... not good.
> 
> You used --force (-f) again. http://i.imgur.com/5Zd1w.png

I didn't ;) but it still failed. mc came to rescue as for creating the /lib 
symlink because

# ln -s /usr/lib /lib
bash: /bin/ln: No such file or directory

Anyway, here's my pacman log

[2012-07-07 19:11] Running 'pacman -Syu --ignore glibc'                                                                                                                                                              
[2012-07-07 19:11] synchronizing package lists                                                                                                                                                                       
[2012-07-07 19:11] starting full system upgrade                                                                                                                                                                      
[2012-07-07 19:11] upgraded lib32-glibc (2.16.0-1 -> 2.16.0-2)                                                                                                                                                       
[2012-07-07 19:11] Running 'pacman -Suy'                                                                                                                                                                             
[2012-07-07 19:11] synchronizing package lists                                                                                                                                                                       
[2012-07-07 19:11] starting full system upgrade                                                                                                                                                                      
[2012-07-07 19:11] error: problem occurred while upgrading glibc                                                                                                                                                     
[2012-07-07 19:11] call to execv failed (No such file or directory)                                                                                                                                                  
[2012-07-07 19:11] upgraded glibc (2.16.0-1 -> 2.16.0-2)                                                                                                                                                             
[2012-07-07 19:20] Running 'pacman -Suy'                                                                                                                                                                             
[2012-07-07 19:20] synchronizing package lists                                                                                                                                                                       
[2012-07-07 19:20] starting full system upgrade                                                                                                                                                                      
[2012-07-07 19:21] Running 'pacman -S glibc'                                                                                                                                                                         
[2012-07-07 19:21] Generating locales...                                                                                                                                                                             
[2012-07-07 19:21]   en_US.UTF-8... done                                                                                                                                                                             
[2012-07-07 19:21]   en_US.ISO-8859-1... done                                                                                                                                                                        
[2012-07-07 19:21] Generation complete.                                                                                                                                                                              
[2012-07-07 19:21] upgraded glibc (2.16.0-2 -> 2.16.0-2)

-- 
Arthur Titeica


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux