You are not logged in.

#1 2012-07-16 11:56:59

CaptainKirk
Member
Registered: 2009-06-07
Posts: 393

How to Determine which Package [Solved]

I am trying to follow the docs here https://wiki.archlinux.org/index.php/De … iki:usrlib regarding the glibc update. I have "Issue 2" there and I run the find, like it says and I get:

$ find /lib -exec pacman -Qo -- {} +
error: cannot determine ownership of directory '/lib'
/lib/libc.so.6 is owned by glibc 2.16.0-1
/lib/libnss_hesiod-2.16.so is owned by glibc 2.16.0-1
/lib/libnss_nis.so.2 is owned by glibc 2.16.0-1
/lib/libnss_compat-2.16.so is owned by glibc 2.16.0-1
/lib/libresolv.so.2 is owned by glibc 2.16.0-1
/lib/libdl.so.2 is owned by glibc 2.16.0-1
/lib/libnss_hesiod.so.2 is owned by glibc 2.16.0-1
/lib/libnss_nis-2.16.so is owned by glibc 2.16.0-1
/lib/libnss_nisplus-2.16.so is owned by glibc 2.16.0-1
/lib/libcrypt.so.1 is owned by glibc 2.16.0-1
/lib/libcrypt-2.16.so is owned by glibc 2.16.0-1
/lib/libthread_db.so.1 is owned by glibc 2.16.0-1
/lib/libutil-2.16.so is owned by glibc 2.16.0-1
/lib/libm.so.6 is owned by glibc 2.16.0-1
/lib/libanl-2.16.so is owned by glibc 2.16.0-1
/lib/libcidn-2.16.so is owned by glibc 2.16.0-1
/lib/libanl.so.1 is owned by glibc 2.16.0-1
/lib/libSegFault.so is owned by glibc 2.16.0-1
/lib/libpcprofile.so is owned by glibc 2.16.0-1
/lib/libnss_db.so.2 is owned by glibc 2.16.0-1
/lib/libpthread.so.0 is owned by glibc 2.16.0-1
/lib/libnsl-2.16.so is owned by glibc 2.16.0-1
/lib/libmemusage.so is owned by glibc 2.16.0-1
/lib/ld-2.16.so is owned by glibc 2.16.0-1
/lib/libresolv-2.16.so is owned by glibc 2.16.0-1
/lib/libBrokenLocale.so.1 is owned by glibc 2.16.0-1
/lib/libc-2.16.so is owned by glibc 2.16.0-1
/lib/ld-linux-x86-64.so.2 is owned by glibc 2.16.0-1
/lib/libpthread-2.16.so is owned by glibc 2.16.0-1
/lib/libnss_nisplus.so.2 is owned by glibc 2.16.0-1
/lib/libBrokenLocale-2.16.so is owned by glibc 2.16.0-1
/lib/libnss_files.so.2 is owned by glibc 2.16.0-1
/lib/libnss_compat.so.2 is owned by glibc 2.16.0-1
/lib/libutil.so.1 is owned by glibc 2.16.0-1
/lib/libnss_dns-2.16.so is owned by glibc 2.16.0-1
/lib/libthread_db-1.0.so is owned by glibc 2.16.0-1
/lib/libnss_dns.so.2 is owned by glibc 2.16.0-1
/lib/librt-2.16.so is owned by glibc 2.16.0-1
/lib/libcidn.so.1 is owned by glibc 2.16.0-1
/lib/libnss_files-2.16.so is owned by glibc 2.16.0-1
/lib/libm-2.16.so is owned by glibc 2.16.0-1
/lib/libdl-2.16.so is owned by glibc 2.16.0-1
/lib/libnsl.so.1 is owned by glibc 2.16.0-1
/lib/libnss_db-2.16.so is owned by glibc 2.16.0-1
/lib/librt.so.1 is owned by glibc 2.16.0-1

Now it says:

If any package apart from glibc is listed as owning a file, that package needs to be updated to install its files in /usr/lib. Any files unowned by a package should either be deleted or moved to /usr/lib and any directories within /lib need deleted (after they are empty...).

but I am having trouble determining which packages these are however. For example, I found "librt" in Google listed on a page for the "lib32-glibc" package, So I reinstalled package that but it didn't help.

Can anyone assist me here? Either let me know how to determine which packages to update (or remove or reinstall later), or clarify (with great certainty) that I can remove these files.

Thank you.

Last edited by CaptainKirk (2012-07-16 21:29:10)

Offline

#2 2012-07-16 12:01:32

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: How to Determine which Package [Solved]

?? I think I am missing something: every one of those entries says "... is owned by glibc 2.16.0-1" right?

Why are you googling to figure our which package owns those files when pacman just told you?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-07-16 12:10:17

CaptainKirk
Member
Registered: 2009-06-07
Posts: 393

Re: How to Determine which Package [Solved]

Trilby, you have pointed out my stupidity. Well I much prefer to be stupid on the forums then to be really stupid and trash my PC. smile

I had not read closely enough what I was running nor the output and I see that you are correct and I was missing the obvious.

I am fairly certain the upgrade still was failing but I ran it now and it worked!

Thank you for your post and if anyone else reads this, please just ignore me. smile

Offline

#4 2012-07-16 12:55:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: How to Determine which Package [Solved]

Ha, no worries.  I have yet to have any issue with my computer that at the end didn't have me feeling a bit foolish.

That's why I think this community is just a support group for PEBKACers.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2012-07-16 20:32:34

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

Re: How to Determine which Package [Solved]

CaptainKirk wrote:

Thank you for your post and if anyone else reads this, please just ignore me. smile

I can't ignore this thread as you haven't marked it as solved.

Offline

#6 2012-07-16 21:29:23

CaptainKirk
Member
Registered: 2009-06-07
Posts: 393

Re: How to Determine which Package [Solved]

Good point. Marked.

Offline

Board footer

Powered by FluxBB