FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 07-21-2012, 09:11 PM
David Benfell
 
Default Still Glibc problems

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/20/12 15:34, John Briggs wrote:
> General Discussion about Arch Linux <arch-general@archlinux.org>
>
>
> On Fri, Jul 20, 2012 at 03:41:08PM -0600, D. R. Evans wrote:
>>> pacman -Su
>>>
>>
>> Not OK:
>>
>>> [root@shack n7dr]# pacman -Su :: Starting full system
>>> upgrade... resolving dependencies... looking for
>>> inter-conflicts...
>>>
>>> Targets (1): glibc-2.16.0-2
>>>
>>> Total Installed Size: 33.94 MiB Net Upgrade Size: 0.83
>>> MiB
>>>
>>> Proceed with installation? [Y/n] (1/1) checking package
>>> integrity
>>> [################################################## ########################################]
>>> 100% (1/1) loading package files
>>> [################################################## ########################################]
>>> 100% (1/1) checking for file conflicts
>>> [################################################## ########################################]
>>> 100% error: failed to commit transaction (conflicting files)
>>> glibc: /lib exists in filesystem Errors occurred, no packages
>>> were upgraded. [root@shack n7dr]#
>
> After much investigation the only workaround for this problem I
> could discover and I have used on my three computers this week is:
>
> system reboot : updates system with new packages. This : step is
> critical or you could end up with : a borked system
>
> # pacman -Sfu : This forces the loading of glibc-2.16.0-2 : but
> errors out because /lib directory exists ignore errors : on the
> system.
>
> # /usr/lib/ld-2.16.0.so /bin/rm -r /lib
>
> # /usr/lib/ld-2.16.0.so /bin/ln -s /usr/lib /lib
>
> system reboot
>
> DANGER: If the above procedure is not followed exactly you can bork
> your system and it will need a complete rebuild. An other
> workaround is:
>
> # system reboot
>
> # pacman -Sfu
>
> Ignore errors use a live CD/USB and boot Linux. # mkdir /archroot
>
> # mount /dev/xxxx /archroot : where xxxx is the root partition
>
> # cd /archroot
>
> /archroot]# rm -r lib
>
> /archroot]# ln -s usr/lib ./lib
>
> system reboot
>
> HTH
>
> John
>
> PS: I have not read the complete thread so I do not know if someone
> else has already offered these solutions. JEB
>

You're using some tricks I didn't know about (there are, I'm sure,
lots in that category), but I don't see how this procedure addresses
the problem of other packages having files in /lib.


- --
David Benfell
benfell@parts-unknown.org


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQCxrjAAoJELT202JKF+xpmCEP+wTlt5/a3ZRgtZT+1/ZsBT97
XNFK4QTOaq3bb+kHO1pMkarvq3e52GoSIMGysqRSWAhiqeZ40a OwqDcpUmdpB7VM
fqLeY/0izJmR9lsbSAKiyH3JvjzdcLUdR/qJnTkihOY+MzO9QwOtNrn+QzoT26yo
+SJvoDGPjOisgL+sPuK8QfZP1ET4Avu4xxI7bv+kGAJj6QNLvM f5Kj30GF1d8a0/
F0cxKRV55cR9pthTx9SLceOhyB/IPMWQBfj7Ng2ONXoJpkQF5+/3BahDBjXV5h9R
c5zlNt0nC8ckucyGcstVq9eKCIAfrBxtq+k995Ty6ZQEJfwUnT RYkU61YeN4NZxT
olMIWMbqyF5YnaEDEsQ75x1m/9BwVz4c2HDs7Exe6yCk3+HNGN4opTjyU7n62zvl
CWu/UFzoU+TcmsqBK7tklE1R7JdwjY8z/zVRHl8cL+kw/PM2yJqZxnuVjTv2vGDL
x0fc8MFGpa0HGdBmOP0IqglbW6AzqY89TXiG1prhGAzUZFAsqS gAAkK1isIwKa1P
4msQz/9KGftEjIEtUTXJ4GqCc02HTHYM4bJno0d47EA2bJNnkoFGvNkY Kc00eFxE
Zf6I+pkd/6RQTa3vixMsFTVV+TgZb1CIqg91rrDYfdxv/ICKqoGSUTsLuEt7QSXd
yf6dLhAvtCh4cH2dRiqK
=R7sP
-----END PGP SIGNATURE-----
 
Old 07-22-2012, 09:24 AM
John Briggs
 
Default Still Glibc problems

On Sat, Jul 21, 2012 at 02:11:00PM -0700, David Benfell wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/20/12 15:34, John Briggs wrote:
> > General Discussion about Arch Linux <arch-general@archlinux.org>
> >
> >
> > On Fri, Jul 20, 2012 at 03:41:08PM -0600, D. R. Evans wrote:
> >>> pacman -Su
> >>>
> >>
> >> Not OK:
> >>
> >>> [root@shack n7dr]# pacman -Su :: Starting full system
> >>> upgrade... resolving dependencies... looking for
> >>> inter-conflicts...
> >>>
> >>> Targets (1): glibc-2.16.0-2
> >>>
> >>> Total Installed Size: 33.94 MiB Net Upgrade Size: 0.83
> >>> MiB
> >>>
> >>> Proceed with installation? [Y/n] (1/1) checking package
> >>> integrity
> >>> [################################################## ########################################]
> >>> 100% (1/1) loading package files
> >>> [################################################## ########################################]
> >>> 100% (1/1) checking for file conflicts
> >>> [################################################## ########################################]
> >>> 100% error: failed to commit transaction (conflicting files)
> >>> glibc: /lib exists in filesystem Errors occurred, no packages
> >>> were upgraded. [root@shack n7dr]#
> >
> > After much investigation the only workaround for this problem I
> > could discover and I have used on my three computers this week is:
> >
> > system reboot : updates system with new packages. This : step is
> > critical or you could end up with : a borked system
> >
> > # pacman -Sfu : This forces the loading of glibc-2.16.0-2 : but
> > errors out because /lib directory exists ignore errors : on the
> > system.
> >
> > # /usr/lib/ld-2.16.0.so /bin/rm -r /lib
/usr/lib/ld-2.16.so

> >
> > # /usr/lib/ld-2.16.0.so /bin/ln -s /usr/lib /lib
/usr/lib/ld-2.16.so

> >
> > system reboot
> >
> > DANGER: If the above procedure is not followed exactly you can bork
> > your system and it will need a complete rebuild. An other
> > workaround is:
> >
> > # system reboot
> >
> > # pacman -Sfu
> >
> > Ignore errors use a live CD/USB and boot Linux. # mkdir /archroot
> >
> > # mount /dev/xxxx /archroot : where xxxx is the root partition
> >
> > # cd /archroot
> >
> > /archroot]# rm -r lib
> >
> > /archroot]# ln -s usr/lib ./lib
> >
> > system reboot
> >
> > HTH
> >
> > John
> >
> > PS: I have not read the complete thread so I do not know if someone
> > else has already offered these solutions. JEB
> >
>
> You're using some tricks I didn't know about (there are, I'm sure,
> lots in that category), but I don't see how this procedure addresses
> the problem of other packages having files in /lib.
>

It doesn't I didn't have other packages having files in /lib.
One of my machines uses wifi and I had to update the carl9170-fw package so
it was installed to /usr/lib. The residual entries in /lib was the modules
and firmware directories.

I was only seeking to get these systems working not on why they weren't
according to the news. I followed the links to manual installation and got
most of my information from there and I followed most of the sublinks too.
I made an error in the above procedures:
all instance of /usr/lib/ld-2.26.0.so should be replaced with
/usr/lib/ld-2.16.so

The system reboot is the critical step as it sets the system into a known
configuration and prevent it from borking on the next step.

If it is critical to know what packages are causing the problems use

# pacman -Sfu and see whats left in the /lib directory or subdirectories.

You'll probably find its the proprietary drivers that you use.

Regards

John
 

Thread Tools




All times are GMT. The time now is 03:24 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org