CANNOT UPDATE: glibc /lib exists in filesystem

This forum is for supported devices using an ARMv7 Allwinner SoC.

CANNOT UPDATE: glibc /lib exists in filesystem

Postby poincare » Fri Oct 26, 2012 8:34 am

Hello all,

I have searched across the forum and cannot find a solution to this problem for my board. When issuing "pacman -Syu" I get the error message "glibc /lib exists in filesystem"; the output is below...

$this->bbcode_second_pass_code('', 'pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n]

resolving dependencies...
looking for inter-conflicts...

Targets (3): glibc-2.16.0-4 linux-api-headers-3.5.5-1 pacman-4.0.3-3

Total Installed Size: 41.48 MiB
Net Upgrade Size: 0.81 MiB

Proceed with installation? [Y/n]
(3/3) checking package integrity [######################] 100%
(3/3) loading package files [######################] 100%
(3/3) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.
[root@alarm 38C8-91E7]#
')


The /lib directory has files in it, but I do not know which ones I can delete in order to have pacman successfully update. Output of ls -al /lib is below...

$this->bbcode_second_pass_code('', 'ls -al /lib
total 3128
drwxrwxrwx 4 root root 4096 Jun 17 2012 .
drwxrwxrwx 21 root root 4096 Sep 27 2012 ..
-rwxrwxrwx 1 root root 155498 May 14 2012 ld-2.15.so
lrwxrwxrwx 1 root root 10 Sep 27 2012 ld-linux.so.3 -> ld-2.15.so
-rwxrwxrwx 1 root root 18308 May 14 2012 libanl-2.15.so
lrwxrwxrwx 1 root root 14 Sep 27 2012 libanl.so.1 -> libanl-2.15.so
-rwxrwxrwx 1 root root 5644 May 14 2012 libBrokenLocale-2.15.so
lrwxrwxrwx 1 root root 23 Sep 27 2012 libBrokenLocale.so.1 -> libBrokenLocale-2.15.so
-rwxrwxrwx 1 root root 1506920 May 14 2012 libc-2.15.so
-rwxrwxrwx 1 root root 181896 May 14 2012 libcidn-2.15.so
lrwxrwxrwx 1 root root 15 Sep 27 2012 libcidn.so.1 -> libcidn-2.15.so
-rwxrwxrwx 1 root root 30284 May 14 2012 libcrypt-2.15.so
lrwxrwxrwx 1 root root 16 Sep 27 2012 libcrypt.so.1 -> libcrypt-2.15.so
lrwxrwxrwx 1 root root 12 Sep 27 2012 libc.so.6 -> libc-2.15.so
-rwxrwxrwx 1 root root 9828 May 14 2012 libdl-2.15.so
lrwxrwxrwx 1 root root 13 Sep 27 2012 libdl.so.2 -> libdl-2.15.so
-rwxrwxrwx 1 root root 616028 May 14 2012 libm-2.15.so
-rwxrwxrwx 1 root root 18028 May 14 2012 libmemusage.so
lrwxrwxrwx 1 root root 12 Sep 27 2012 libm.so.6 -> libm-2.15.so
-rwxrwxrwx 1 root root 71640 May 14 2012 libnsl-2.15.so
lrwxrwxrwx 1 root root 14 Sep 27 2012 libnsl.so.1 -> libnsl-2.15.so
-rwxrwxrwx 1 root root 26492 May 14 2012 libnss_compat-2.15.so
lrwxrwxrwx 1 root root 21 Sep 27 2012 libnss_compat.so.2 -> libnss_compat-2.15.so
-rwxrwxrwx 1 root root 34568 May 14 2012 libnss_db-2.15.so
lrwxrwxrwx 1 root root 17 Sep 27 2012 libnss_db.so.2 -> libnss_db-2.15.so
-rwxrwxrwx 1 root root 18052 May 14 2012 libnss_dns-2.15.so
lrwxrwxrwx 1 root root 18 Sep 27 2012 libnss_dns.so.2 -> libnss_dns-2.15.so
-rwxrwxrwx 1 root root 47048 May 14 2012 libnss_files-2.15.so
lrwxrwxrwx 1 root root 20 Sep 27 2012 libnss_files.so.2 -> libnss_files-2.15.so
-rwxrwxrwx 1 root root 18060 May 14 2012 libnss_hesiod-2.15.so
lrwxrwxrwx 1 root root 21 Sep 27 2012 libnss_hesiod.so.2 -> libnss_hesiod-2.15.so
-rwxrwxrwx 1 root root 38624 May 14 2012 libnss_nis-2.15.so
-rwxrwxrwx 1 root root 46800 May 14 2012 libnss_nisplus-2.15.so
lrwxrwxrwx 1 root root 22 Sep 27 2012 libnss_nisplus.so.2 -> libnss_nisplus-2.15.so
lrwxrwxrwx 1 root root 18 Sep 27 2012 libnss_nis.so.2 -> libnss_nis-2.15.so
-rwxrwxrwx 1 root root 5604 May 14 2012 libpcprofile.so
-rwxrwxrwx 1 root root 130472 May 14 2012 libpthread-2.15.so
lrwxrwxrwx 1 root root 18 Sep 27 2012 libpthread.so.0 -> libpthread-2.15.so
-rwxrwxrwx 1 root root 75644 May 14 2012 libresolv-2.15.so
lrwxrwxrwx 1 root root 17 Sep 27 2012 libresolv.so.2 -> libresolv-2.15.so
-rwxrwxrwx 1 root root 26656 May 14 2012 librt-2.15.so
lrwxrwxrwx 1 root root 13 Sep 27 2012 librt.so.1 -> librt-2.15.so
-rwxrwxrwx 1 root root 9768 May 14 2012 libSegFault.so
-rwxrwxrwx 1 root root 34641 May 14 2012 libthread_db-1.0.so
lrwxrwxrwx 1 root root 19 Sep 27 2012 libthread_db.so.1 -> libthread_db-1.0.so
-rwxrwxrwx 1 root root 9864 May 14 2012 libutil-2.15.so
lrwxrwxrwx 1 root root 15 Sep 27 2012 libutil.so.1 -> libutil-2.15.so
drwxrwxrwx 4 root root 4096 Sep 27 2012 modules
drwxrwxrwx 3 root root 4096 May 6 2012 udev
[root@alarm /]#
')


If anyone is able to help, it would be greatly appreciated!!
poincare
 
Posts: 10
Joined: Fri Oct 26, 2012 8:26 am

Re: CANNOT UPDATE: glibc /lib exists in filesystem

Postby WarheadsSE » Fri Oct 26, 2012 5:29 pm

https://wiki.archlinux.org/index.php/De ... iki:usrlib

Most commonly:
pacman -R pcmciautils
pacman -Syu --ignore glibc
pacman -Su
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: CANNOT UPDATE: glibc /lib exists in filesystem

Postby poincare » Mon Oct 29, 2012 12:41 am

Yeah, thanks for the reply. But I issued those pacman commands and now my system is total f00bared. Can't login, no sshd running, just a blank-screen-of-death outputed on the hdmi. Is there any other way?
poincare
 
Posts: 10
Joined: Fri Oct 26, 2012 8:26 am


Return to Allwinner

Who is online

Users browsing this forum: No registered users and 3 guests