[arch-general] lib -> usr/lib

Daniel Wallace daniel.wallace at gatech.edu
Tue Jul 24 15:52:40 EDT 2012


On Tue, Jul 24, 2012 at 09:48:00PM +0200, Ralf Mardorf wrote:
> I laugh away this trouble.
> Is there any information about the advantages of lib -> usr/lib?
> I like to read it, after I finished the following occupational therapy [1].
> I suspect that if I won't do it now, I have to restore my Arch from a backup? Or can I shutdown and startup anyway?
> 
> Regards,
> Ralf
> 
> [1]
> [root at archlinux spinymouse]# pacman -Su
> :: Starting full system upgrade...
> resolving dependencies...
> looking for inter-conflicts...
> 
> Targets (1): glibc-2.16.0-2
> 
> Total Installed Size:   37.58 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 at archlinux spinymouse]# grep '^lib/' /var/lib/pacman/local/*/files
> /var/lib/pacman/local/glibc-2.15-12/files:lib/
> /var/lib/pacman/local/glibc-2.15-12/files:lib/ld-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/ld-linux-x86-64.so.2
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libBrokenLocale-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libBrokenLocale.so.1
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libSegFault.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libanl-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libanl.so.1
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libc-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libc.so.6
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libcidn-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libcidn.so.1
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libcrypt-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libcrypt.so.1
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libdl-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libdl.so.2
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libm-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libm.so.6
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libmemusage.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnsl-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnsl.so.1
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_compat-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_compat.so.2
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_db-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_db.so.2
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_dns-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_dns.so.2
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_files-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_files.so.2
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_hesiod-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_hesiod.so.2
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_nis-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_nis.so.2
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_nisplus-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libnss_nisplus.so.2
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libpcprofile.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libpthread-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libpthread.so.0
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libresolv-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libresolv.so.2
> /var/lib/pacman/local/glibc-2.15-12/files:lib/librt-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/librt.so.1
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libthread_db-1.0.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libthread_db.so.1
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libutil-2.15.so
> /var/lib/pacman/local/glibc-2.15-12/files:lib/libutil.so.1
> /var/lib/pacman/local/ld-lsb-3-3/files:lib/
> /var/lib/pacman/local/ld-lsb-3-3/files:lib/ld-lsb.so.3
> /var/lib/pacman/local/udev-compat-180-1/files:lib/
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/autofs
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/btrfs-control
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/cpu/
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/cpu/microcode
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/fuse
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/mapper/
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/mapper/control
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/net/
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/net/tun
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/ppp
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/snd/
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/snd/seq
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/snd/timer
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/uinput
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/rules.d/
> /var/lib/pacman/local/udev-compat-180-1/files:lib/udev/rules.d/30-kernel-compat.rules
> [root at archlinux spinymouse]# find /lib -exec pacman -Qo -- {} +
> error: cannot determine ownership of directory '/lib'
> /lib/libm-2.15.so is owned by glibc 2.15-12
> /lib/libc-2.15.so is owned by glibc 2.15-12
> /lib/ld-2.15.so is owned by glibc 2.15-12
> /lib/libBrokenLocale-2.15.so is owned by glibc 2.15-12
> /lib/libcidn.so.1 is owned by glibc 2.15-12
> /lib/libnss_compat-2.15.so is owned by glibc 2.15-12
> /lib/libnss_nisplus-2.15.so is owned by glibc 2.15-12
> /lib/libutil.so.1 is owned by glibc 2.15-12
> error: cannot determine ownership of directory '/lib/modules'
> error: cannot determine ownership of directory
> '/lib/modules/3.1.9-1-ARCH'
> error: No package owns /lib/modules/3.1.9-1-ARCH/modules.isapnpmap
> error: No package owns /lib/modules/3.1.9-1-ARCH/modules.seriomap
> error: No package owns /lib/modules/3.1.9-1-ARCH/modules.ccwmap
> error: No package owns /lib/modules/3.1.9-1-ARCH/modules.ofmap
> error: No package owns /lib/modules/3.1.9-1-ARCH/modules.inputmap
> error: No package owns /lib/modules/3.1.9-1-ARCH/modules.usbmap
> error: No package owns /lib/modules/3.1.9-1-ARCH/modules.ieee1394map
> error: No package owns /lib/modules/3.1.9-1-ARCH/modules.pcimap
> error: cannot determine ownership of directory
> '/lib/modules/3.2.6-2-ARCH'
> error: No package owns /lib/modules/3.2.6-2-ARCH/modules.dep.bin
> error: No package owns /lib/modules/3.2.6-2-ARCH/modules.symbols
> error: No package owns /lib/modules/3.2.6-2-ARCH/modules.alias.bin
> error: No package owns /lib/modules/3.2.6-2-ARCH/modules.alias
> error: No package owns /lib/modules/3.2.6-2-ARCH/modules.devname
> error: No package owns /lib/modules/3.2.6-2-ARCH/modules.builtin.bin
> error: No package owns /lib/modules/3.2.6-2-ARCH/modules.dep
> error: No package owns /lib/modules/3.2.6-2-ARCH/modules.softdep
> error: No package owns /lib/modules/3.2.6-2-ARCH/modules.symbols.bin
> error: cannot determine ownership of directory
> '/lib/modules/3.1.9-2-ARCH'
> error: No package owns /lib/modules/3.1.9-2-ARCH/modules.isapnpmap
> error: No package owns /lib/modules/3.1.9-2-ARCH/modules.seriomap
> error: No package owns /lib/modules/3.1.9-2-ARCH/modules.ccwmap
> error: No package owns /lib/modules/3.1.9-2-ARCH/modules.ofmap
> error: No package owns /lib/modules/3.1.9-2-ARCH/modules.inputmap
> error: No package owns /lib/modules/3.1.9-2-ARCH/modules.usbmap
> error: No package owns /lib/modules/3.1.9-2-ARCH/modules.ieee1394map
> error: No package owns /lib/modules/3.1.9-2-ARCH/modules.pcimap
> error: cannot determine ownership of directory '/lib/modules/3.0-rt'
> error: cannot determine ownership of directory
> '/lib/modules/3.0-rt/extramodules'
> error: No package owns /lib/modules/3.0-rt/extramodules/vboxnetadp.ko.gz
> error: No package owns /lib/modules/3.0-rt/extramodules/vboxdrv.ko.gz
> error: No package owns /lib/modules/3.0-rt/extramodules/vboxpci.ko.gz
> error: No package owns /lib/modules/3.0-rt/extramodules/vboxnetflt.ko.gz
> error: cannot determine ownership of directory
> '/lib/modules/extramodules-3.4-rt'
> error: No package owns /lib/modules/extramodules-3.4-rt/vboxnetadp.ko.gz
> error: No package owns /lib/modules/extramodules-3.4-rt/vboxdrv.ko.gz
> error: No package owns /lib/modules/extramodules-3.4-rt/vboxpci.ko.gz
> error: No package owns /lib/modules/extramodules-3.4-rt/vboxnetflt.ko.gz
> error: cannot determine ownership of directory
> '/lib/modules/3.4.2-rt10-1-rt'
> error: No package owns /lib/modules/3.4.2-rt10-1-rt/build
> /lib/libSegFault.so is owned by glibc 2.15-12
> /lib/libnss_db-2.15.so is owned by glibc 2.15-12
> /lib/libnss_nis.so.2 is owned by glibc 2.15-12
> error: cannot determine ownership of directory '/lib/firmware'
> error: cannot determine ownership of directory '/lib/firmware/RTL8192SU'
> error: No package owns /lib/firmware/RTL8192SU/rtl8192sfw.bin
> /lib/libc.so.6 is owned by glibc 2.15-12
> /lib/libpthread-2.15.so is owned by glibc 2.15-12
> /lib/libanl.so.1 is owned by glibc 2.15-12
> /lib/libnsl.so.1 is owned by glibc 2.15-12
> /lib/libnss_compat.so.2 is owned by glibc 2.15-12
> /lib/libthread_db.so.1 is owned by glibc 2.15-12
> /lib/libnss_dns.so.2 is owned by glibc 2.15-12
> /lib/libresolv.so.2 is owned by glibc 2.15-12
> /lib/libm.so.6 is owned by glibc 2.15-12
> /lib/libthread_db-1.0.so is owned by glibc 2.15-12
> /lib/libnss_hesiod-2.15.so is owned by glibc 2.15-12
> /lib/libnss_nis-2.15.so is owned by glibc 2.15-12
> /lib/libnss_files-2.15.so is owned by glibc 2.15-12
> /lib/librt.so.1 is owned by glibc 2.15-12
> /lib/libpcprofile.so is owned by glibc 2.15-12
> /lib/libpthread.so.0 is owned by glibc 2.15-12
> /lib/libcrypt.so.1 is owned by glibc 2.15-12
> /lib/libnss_files.so.2 is owned by glibc 2.15-12
> /lib/libdl.so.2 is owned by glibc 2.15-12
> /lib/libBrokenLocale.so.1 is owned by glibc 2.15-12
> /lib/libresolv-2.15.so is owned by glibc 2.15-12
> /lib/libutil-2.15.so is owned by glibc 2.15-12
> /lib/libnss_db.so.2 is owned by glibc 2.15-12
> /lib/libanl-2.15.so is owned by glibc 2.15-12
> /lib/ld-linux-x86-64.so.2 is owned by glibc 2.15-12
> /lib/libcrypt-2.15.so is owned by glibc 2.15-12
> /lib/libnss_hesiod.so.2 is owned by glibc 2.15-12
> /lib/librt-2.15.so is owned by glibc 2.15-12
> /lib/libdl-2.15.so is owned by glibc 2.15-12
> error: cannot determine ownership of directory '/lib/udev'
> error: cannot determine ownership of directory '/lib/udev/rules.d'
> /lib/udev/rules.d/30-kernel-compat.rules is owned by udev-compat 180-1
> error: cannot determine ownership of directory '/lib/udev/devices'
> /lib/udev/devices/uinput is owned by udev-compat 180-1
> /lib/udev/devices/fuse is owned by udev-compat 180-1
> error: cannot determine ownership of directory '/lib/udev/devices/cpu'
> /lib/udev/devices/cpu/microcode is owned by udev-compat 180-1
> error: cannot determine ownership of directory '/lib/udev/devices/net'
> /lib/udev/devices/net/tun is owned by udev-compat 180-1
> error: cannot determine ownership of directory '/lib/udev/devices/snd'
> /lib/udev/devices/snd/timer is owned by udev-compat 180-1
> /lib/udev/devices/snd/seq is owned by udev-compat 180-1
> /lib/udev/devices/btrfs-control is owned by udev-compat 180-1
> /lib/udev/devices/ppp is owned by udev-compat 180-1
> error: cannot determine ownership of directory
> '/lib/udev/devices/mapper'
> /lib/udev/devices/mapper/control is owned by udev-compat 180-1
> /lib/udev/devices/autofs is owned by udev-compat 180-1
> /lib/libcidn-2.15.so is owned by glibc 2.15-12
> /lib/libnss_dns-2.15.so is owned by glibc 2.15-12
> /lib/libnss_nisplus.so.2 is owned by glibc 2.15-12
> /lib/libmemusage.so is owned by glibc 2.15-12
> /lib/libnsl-2.15.so is owned by glibc 2.15-12
> 


remove udev-compat it is old, either update ld-lsb from aur or remove it

as for the find, remove any un owned files from anything under /lib.
then remove any empty directories

then update

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20120724/16fff78b/attachment.asc>


More information about the arch-general mailing list