You are not logged in.

#1 2012-10-24 19:01:31

hexbase
Member
Registered: 2012-10-24
Posts: 2

/usr/lib update problem

I'm following this guide: https://wiki.archlinux.org/index.php/De … iki:usrlib, since I haven't updated for a long time.
When I run: "pacman -Su", I get:

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

Edit: I'm just upgrading glibc, I have already run "pacman -Syu" successfully.

"grep '^lib/' /var/lib/pacman/local/*/files" output:

/var/lib/pacman/local/glibc-2.16.0-1/files:lib/
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/ld-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/ld-linux.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libBrokenLocale-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libBrokenLocale.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libSegFault.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libanl-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libanl.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libc-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libc.so.6
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcidn-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcidn.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcrypt-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcrypt.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libdl-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libdl.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libm-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libm.so.6
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libmemusage.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnsl-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnsl.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_compat-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_compat.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_db-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_db.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_dns-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_dns.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_files-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_files.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_hesiod-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_hesiod.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nis-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nis.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nisplus-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nisplus.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libpcprofile.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libpthread-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libpthread.so.0
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libresolv-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libresolv.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/librt-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/librt.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libthread_db-1.0.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libthread_db.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libutil-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libutil.so.1

"find /lib -exec pacman -Qo -- {} +" output:

error: couldn't determine who owns '/lib'
/lib/libthread_db-1.0.so is property of glibc 2.16.0-1
/lib/libnss_dns-2.16.so is property of glibc 2.16.0-1
/lib/libdl.so.2 is property of glibc 2.16.0-1
/lib/libnss_compat.so.2 is property of glibc 2.16.0-1
/lib/libnss_files.so.2 is property of glibc 2.16.0-1
/lib/libBrokenLocale-2.16.so is property of glibc 2.16.0-1
/lib/libnss_nis-2.16.so is property of glibc 2.16.0-1
/lib/libnss_files-2.16.so is property of glibc 2.16.0-1
/lib/libm.so.6 is property of glibc 2.16.0-1
/lib/libnss_hesiod-2.16.so is property of glibc 2.16.0-1
/lib/libnss_hesiod.so.2 is property of glibc 2.16.0-1
/lib/ld-linux.so.2 is property of glibc 2.16.0-1
/lib/libpthread-2.16.so is property of glibc 2.16.0-1
/lib/libc.so.6 is property of glibc 2.16.0-1
/lib/libanl-2.16.so is property of glibc 2.16.0-1
/lib/libpthread.so.0 is property of glibc 2.16.0-1
/lib/libnss_compat-2.16.so is property of glibc 2.16.0-1
/lib/libnsl.so.1 is property of glibc 2.16.0-1
/lib/libnsl-2.16.so is property of glibc 2.16.0-1
/lib/libc-2.16.so is property of glibc 2.16.0-1
/lib/libutil.so.1 is property of glibc 2.16.0-1
/lib/libnss_db.so.2 is property of glibc 2.16.0-1
/lib/libanl.so.1 is property of glibc 2.16.0-1
/lib/libmemusage.so is property of glibc 2.16.0-1
/lib/libnss_dns.so.2 is property of glibc 2.16.0-1
error: couldn't determine who owns '/lib/systemd'
error: couldn't determine who owns '/lib/systemd/system'
error: No package owns /lib/systemd/system/ulatencyd.service
/lib/libcidn.so.1 is property of glibc 2.16.0-1
/lib/libcrypt-2.16.so is property of glibc 2.16.0-1
/lib/libutil-2.16.so is property of glibc 2.16.0-1
/lib/libcrypt.so.1 is property of glibc 2.16.0-1
/lib/libdl-2.16.so is property of glibc 2.16.0-1
/lib/librt.so.1 is property of glibc 2.16.0-1
/lib/libSegFault.so is property of glibc 2.16.0-1
/lib/libm-2.16.so is property of glibc 2.16.0-1
/lib/libnss_nisplus.so.2 is property of glibc 2.16.0-1
/lib/libnss_db-2.16.so is property of glibc 2.16.0-1
/lib/libcidn-2.16.so is property of glibc 2.16.0-1
/lib/ld-2.16.so is property of glibc 2.16.0-1
/lib/libthread_db.so.1 is property of glibc 2.16.0-1
/lib/libnss_nisplus-2.16.so is property of glibc 2.16.0-1
/lib/libresolv-2.16.so is property of glibc 2.16.0-1
/lib/libBrokenLocale.so.1 is property of glibc 2.16.0-1
/lib/libpcprofile.so is property of glibc 2.16.0-1
/lib/libresolv.so.2 is property of glibc 2.16.0-1
/lib/librt-2.16.so is property of glibc 2.16.0-1
/lib/libnss_nis.so.2 is property of glibc 2.16.0-1

What I need to rebuild? How do i do that?

Thanks

Last edited by hexbase (2012-10-24 19:59:38)

Offline

#2 2012-10-24 19:04:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,431

Re: /usr/lib update problem

When pasting code, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode

like this

Offline

#3 2012-10-24 19:13:45

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 5,380

Re: /usr/lib update problem

error: couldn't determine who owns '/lib/systemd'
error: couldn't determine who owns '/lib/systemd/system'
error: No package owns /lib/systemd/system/ulatencyd.service

https://wiki.archlinux.org/index.php/De … aged_files

hmm


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Offline

#4 2012-10-24 20:06:43

hexbase
Member
Registered: 2012-10-24
Posts: 2

Re: /usr/lib update problem

It worked.

When I executed

pacman -Su

, I got

sbin/ldconfig: /usr/lib/libcurl.so.4 is not a symbolic link

sbin/ldconfig: /usr/lib/libarchive.so.12 is not a symbolic link

but the update was successful.

Edit: fixed with:

rm /usr/lib/libcurl.so.4
ln -s libcurl.so.4.2.0 libcurl.so.4
rm /usr/lib/libarchive.so.12
ln -s libarchive.so.12.0.4 libarchive.so.12

Last edited by hexbase (2012-10-25 12:21:01)

Offline

Board footer

Powered by FluxBB