[How-To] pacman fails to upgrade glibc (glibc: /lib exists)

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[How-To] pacman fails to upgrade glibc (glibc: /lib exists)

Postby moonman » Sun Sep 16, 2012 7:14 am

If you're receiving the following error while updating with pacman (even on a fresh install), the following instructions should be of help!

error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.

It's typically a bad idea to force an install(unless it's required) or delete a directory with required files in it...So I'm updating the instructions of the original poster. I confirmed that these worked on a fresh install from the arclinuxarm-13-06-2012 image. If you come across any issues with this on an older install, please don't force an install or go deleting random files...hop on over to IRC and ask for some help and be patient. kthxbai -xenoxaos

First off, we'll need to go clean up some stuff that may have hung around when it doesn't need to be there. You should be on a fairly recent kernel by now.
Currently, there are some remnants of an old kernel in /lib.
Make sure that there is just one subdirectory called '3.1.9-10+' in /lib/modules/
Code: Select all
ls /lib/modules/

if there's only that one, then remove it with
Code: Select all
rm -rf /lib/modules

There's an old pcmciautils package that is no longer in the repos and really isn't needed. (Last I checked, the RPi doesn't have a PCMCIA slot.)
Code: Select all
pacman -R pcmciautils
mv /etc/profile.d/locale.sh /etc/profile.d/locale.sh.pacnew
pacman -Syu --ignore glibc

Say 'N' to updating pacman
Say 'Y' to any replacements and say 'Y' when it asks if you want to skip the above packages
After it installs all of those
Code: Select all
pacman -Su

And once again, say 'N' to pacman and 'Y' to any other packages



If you are stuck with this error:
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.

There is a way to force the upgrade and not break the system. Make sure you you don't close ssh session before you finish. If you do, you won't be able to log back in. Here is what I did:

pacman -Syf pacman
say Y to all questions

You will get this error:
warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
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.
Now delete /lib

/usr/lib/ld-linux.so.3 /bin/rm -Rf /lib

install glibc again:

/usr/lib/ld-linux.so.3 /usr/bin/pacman -Sy glibc

Now do a full upgrade. Everything should be working now.

Troubleshooting:
If, after you are done, pacman is not upgrading, do this:
/usr/lib/ld-linux.so.3 /usr/bin/pacman -Suy

then

Code: Select all
/usr/lib/ld-linux.so.3 /usr/bin/pacman -Sy glibc


Thanks to pepedog for suggeting to use ld-linux.so.3 directly :)
Last edited by xenoxaos on Sun Sep 16, 2012 1:39 pm, edited 2 times in total.
Reason: Updated instructions to make it more reliable.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3302
Joined: Sat Jan 15, 2011 3:36 am

Re: [How-To] pacman fails to upgrade (glibc 2.16)

Postby pepedog » Sun Sep 16, 2012 9:06 am

To be honest, I thought I was going to be ridiculed.
All is working on my rpi, except video console login, enter username (not password yet) and it goes back to login
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [How-To] pacman fails to upgrade (glibc 2.16)

Postby haiku » Sun Sep 16, 2012 9:18 am

Same here,
just updated with a pacman -Su --ignore glibc, then removing pacman -R pcmciautils and finaly pacman -Suy
haiku
 
Posts: 96
Joined: Tue May 31, 2011 6:34 am

Re: [How-To] pacman fails to upgrade (glibc 2.16)

Postby sambul13 » Sun Sep 16, 2012 1:25 pm

Why this error occurs, in what ArchLinux version? What's the purpose of glibc 2.16?
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: [How-To] pacman fails to upgrade glibc (glibc: /lib exis

Postby slycat » Sun Sep 16, 2012 3:34 pm

Unconfirmed for PPPro. This looked like a RPi fix but since posted on the pogoplug forum I gave it a shot.
Still get the "/lib exist" error
Code: Select all
[root@AtomAnt ~]# grep '^lib/' /var/lib/pacman/local/*/files | grep -v glibc
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/arch/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/arch/arm/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/arch/arm/plat-oxnas/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/arch/arm/plat-oxnas/power_button.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/crypto/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/crypto/michael_mic.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/crypto/pcbc.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/char/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/char/hw_random/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/char/hw_random/rng-core.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/md/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/md/dm-crypt.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/md/dm-mod.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/md/linear.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/md/md-mod.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/md/raid0.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/md/raid1.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/net/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/net/gmac/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/net/gmac/gmac.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/net/mii.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/scsi/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/scsi/scsi_wait_scan.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/usb/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/usb/class/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/usb/class/usblp.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/cifs/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/cifs/cifs.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/exportfs/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/exportfs/exportfs.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/ext4/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/ext4/ext4.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/fat/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/fat/fat.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/fat/msdos.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/fat/vfat.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/hfs/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/hfs/hfs.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/hfsplus/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/hfsplus/hfsplus.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/jbd2/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/jbd2/jbd2.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/nfsd/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/nfsd/nfsd.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/ntfs/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/ntfs/ntfs.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/802/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/802/p8022.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/802/psnap.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/802/stp.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/bridge/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/bridge/bridge.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/llc/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/llc/llc.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/mac80211/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/mac80211/mac80211.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/wireless/
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/wireless/cfg80211.ko.gz
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.alias
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.alias.bin
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.ccwmap
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.dep
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.dep.bin
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.devname
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.ieee1394map
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.inputmap
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.isapnpmap
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.ofmap
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.order
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.pcimap
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.seriomap
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.softdep
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.symbols
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.symbols.bin
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.usbmap
/var/lib/pacman/local/kernel26-oxnas-nopci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/gmac_copro_firmware
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/arch/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/arch/arm/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/arch/arm/plat-oxnas/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/arch/arm/plat-oxnas/power_button.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/crypto/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/crypto/michael_mic.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/crypto/pcbc.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/char/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/char/hw_random/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/char/hw_random/rng-core.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/md/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/md/dm-crypt.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/md/dm-mod.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/md/linear.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/md/md-mod.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/md/raid0.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/md/raid1.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/net/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/net/gmac/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/net/gmac/gmac.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/net/mii.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/scsi/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/scsi/scsi_wait_scan.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/usb/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/usb/class/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/drivers/usb/class/usblp.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/cifs/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/cifs/cifs.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/ext4/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/ext4/ext4.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/fat/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/fat/fat.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/fat/msdos.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/fat/vfat.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/hfs/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/hfs/hfs.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/hfsplus/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/hfsplus/hfsplus.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/jbd2/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/jbd2/jbd2.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/ntfs/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/fs/ntfs/ntfs.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/802/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/802/p8022.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/802/psnap.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/802/stp.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/bridge/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/bridge/bridge.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/llc/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/llc/llc.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/mac80211/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/mac80211/mac80211.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/wireless/
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/kernel/net/wireless/cfg80211.ko.gz
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.alias
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.alias.bin
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.ccwmap
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.dep
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.dep.bin
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.devname
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.ieee1394map
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.inputmap
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.isapnpmap
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.ofmap
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.order
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.pcimap
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.seriomap
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.softdep
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.symbols
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.symbols.bin
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/2.6.31.6_SMP_820/modules.usbmap
/var/lib/pacman/local/kernel26-oxnas-pci-2.6.31.6_SMP_820.3-1.1/files:lib/modules/gmac_copro_firmware
Pogoplug Pro w/ Wireless User -> decomm.
Cubox-i4pro User
4TB eSATA HDD (8g/3700+ Sw/Storage)
Kodi / Transmission / Minidlna / Samba / Batch-audio-conversions / Lighttpd
------------------------------
Rollback Machine - Thanks to impatt
slycat
 
Posts: 169
Joined: Wed Feb 09, 2011 3:07 am
Location: Miami, FL

Re: [How-To] pacman fails to upgrade glibc (glibc: /lib exis

Postby karog » Sun Sep 16, 2012 4:35 pm

@slycat, based on your grep you need to
Code: Select all
pacman -R kernel26-oxnas-nopci
pacman -R kernel26-oxnas-pci
mv /lib/modules/gmac_copro_firmware /usr/lib/firmware

Then check /lib/modules. If it is empty, remove it. If not, you need to deal with what is in it as it must be removed.
Last edited by karog on Sun Sep 16, 2012 7:09 pm, edited 1 time in total.
karog
 
Posts: 231
Joined: Thu Jan 05, 2012 7:55 pm

Re: [How-To] pacman fails to upgrade glibc (glibc: /lib exis

Postby WarheadsSE » Sun Sep 16, 2012 7:04 pm

I need to roll up a new kernel package, even if it doesnt flash it, to change things around a bit
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [How-To] pacman fails to upgrade glibc (glibc: /lib exis

Postby pepedog » Sun Sep 16, 2012 10:52 pm

I just fell into trap on trimslice, works there too, but magic should be /usr/lib/ld-2.16.so as other is a symlink
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [How-To] pacman fails to upgrade glibc (glibc: /lib exis

Postby moonman » Sun Sep 16, 2012 11:51 pm

pepedog wrote:I just fell into trap on trimslice, works there too, but magic should be /usr/lib/ld-2.16.so as other is a symlink


xenoxaos came up with a different method and edited the first post. It's not necessary to do this anymore.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3302
Joined: Sat Jan 15, 2011 3:36 am

Re: [How-To] pacman fails to upgrade glibc (glibc: /lib exis

Postby erkerb » Tue Sep 18, 2012 12:15 am

Just wanted to say thanks for this guide :).. IT worked great my little fella.
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 3 guests