You are not logged in.

#1 2012-08-14 22:48:59

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

can't determine ownership of directory /lib/udev; /lib exists (solved)

I've got a machine that hasn't been updated for about a year, it just kept chugging along so I left it alone.  A power outage and crash makes me figure I ought to do an update.  After running though all the changes that have been done, I am finally at the point of updating glibc - but I can't.   pacman -su gives me the dreaded /lib exists error.  The last post I read told me to check ownership of the packages there to remove anything not belonging to glibc, but the only one that might not be is /lib/udev, and pacman can't determine ownership of that.  Before I remove that particular directory, given that it would seem to be critical to the system, I thought I better check first.  What do I do here?

Last edited by timm (2012-08-15 12:21:51)

Offline

#2 2012-08-14 23:02:22

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

Re: can't determine ownership of directory /lib/udev; /lib exists (solved)

Are there files in the directory?  If so, check the ownership of the files.  If not, empty directories can be deleted.


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

Offline

#3 2012-08-14 23:03:44

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: can't determine ownership of directory /lib/udev; /lib exists (solved)

mv it somewhere, instead of rm'ing it. It's probably just some custom rules in there that you've forgotten about.

Offline

#4 2012-08-14 23:06:41

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Re: can't determine ownership of directory /lib/udev; /lib exists (solved)

There is a rules file that looks like it is from nutups, but I can't even find that it is installed any more.  I did move it temporarily, did not solve the problem.  Looks like my issue may be related to https://bbs.archlinux.org/viewtopic.php?id=145006

Offline

#5 2012-08-14 23:09:29

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: can't determine ownership of directory /lib/udev; /lib exists (solved)

Good - that's the mod-approved glibc thread, you'll be safe there.

Offline

#6 2012-08-15 05:31:14

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: can't determine ownership of directory /lib/udev; /lib exists (solved)

Did you try

grep '^lib/' /var/lib/pacman/local/*/files

?


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#7 2012-08-15 12:20:48

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Re: can't determine ownership of directory /lib/udev; /lib exists (solved)

Yes.  Also pacman -Qo, neither gave me the information.

The problem ended up being an AUR package that I had installed for my UPS, network-ups-tools, the name of which apparently is never written out, but referred to as "nut".  Google really is your friend.

With that, I uninstalled the package, and the latest glibc package installed without a hitch.
Thanks for everyone's suggestions.

Offline

Board footer

Powered by FluxBB