LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2012, 05:17 PM   #1
ham bone
Member
 
Registered: Jul 2012
Location: Wisc
Distribution: Arch Linux dual boot with Vista
Posts: 36
Blog Entries: 1

Rep: Reputation: Disabled
Arch 'pacman -Su' Error: "glibc: /lib exists in filesystem"


I was successfully updating Arch Linux:
pacman -Syy
pacman -Syu
pacman -Syu --ignore glibc
The above commands suceeded
Then I ran into the following errors:
>
======================================================================
pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (1): glibc-2.16.0-2

Total Installed Size: 33.94 MiB
Net Upgrade Size: 0.00 MiB

Proceed with installation? [Y/n] Y
(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.
=====================================================================
I tried to follow the developer's post , but it seems to be inapplicable. Using the developer's post, the two issues are as follows:

Problem One: the output of "grep '^lib/' /var/lib/pacman/local/*/files"
Results in:

/var/lib/pacman/local/hal-0.5.14-6/files:lib/
/var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/
/var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/rules.d/
/var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/rules.d/90-hal.rules


Problem Two

This command: "find /lib -exec pacman -Qo -- {} +" results in
the system not being able to determine the ownership of directory /lib.

I spent over three hours trying to use google and the developer's post.

Please help.
 
Old 07-22-2012, 05:22 PM   #2
rosehosting.com
Member
 
Registered: Jun 2012
Posts: 222

Rep: Reputation: 62
Quote:
Originally Posted by ham bone View Post
I was successfully updating Arch Linux:
pacman -Syy
pacman -Syu
pacman -Syu --ignore glibc
The above commands suceeded
Then I ran into the following errors:
>
======================================================================
pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (1): glibc-2.16.0-2

Total Installed Size: 33.94 MiB
Net Upgrade Size: 0.00 MiB

Proceed with installation? [Y/n] Y
(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.
=====================================================================
I tried to follow the developer's post , but it seems to be inapplicable. Using the developer's post, the two issues are as follows:

Problem One: the output of "grep '^lib/' /var/lib/pacman/local/*/files"
Results in:

/var/lib/pacman/local/hal-0.5.14-6/files:lib/
/var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/
/var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/rules.d/
/var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/rules.d/90-hal.rules


Problem Two

This command: "find /lib -exec pacman -Qo -- {} +" results in
the system not being able to determine the ownership of directory /lib.

I spent over three hours trying to use google and the developer's post.

Please help.
are you still using hal?

you need to rebuild it to use the new path or you can simply uninstall it, upgrade then install it again.
 
Old 07-22-2012, 06:34 PM   #3
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,854

Rep: Reputation: 236Reputation: 236Reputation: 236
Follow the Wiki
https://wiki.archlinux.org/index.php...perWiki:usrlib

Quote:
glibc: /lib exists in filesystem
Form Wiki
Quote:
If after this the "pacman -Su" still has conflicts with /lib, this is likely because a package on your system other than glibc owns files in /lib.

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

These packages need rebuilding so as not to include the /lib directory. They can also simply be uninstalled and reinstalled again after upgrading glibc.
They are also talking about it here.
https://bbs.archlinux.org/viewtopic.php?id=145006
https://bbs.archlinux.org/viewtopic.php?id=144990


Good luck.
 
Old 07-22-2012, 07:14 PM   #4
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 936
Blog Entries: 14

Rep: Reputation: 128Reputation: 128
yes, this indeed was a tricky update, I too failed. I got stuck with /lib remining, ro I removed it, brboken system now. Will try this fix tomorrow.
If you're still using HAL and need it, you'll have to rebuild it yourself (maybe there is an AUR package..); however if you don't use it, I suggest you simply remove it.

Serafean
 
Old 07-22-2012, 09:34 PM   #5
ham bone
Member
 
Registered: Jul 2012
Location: Wisc
Distribution: Arch Linux dual boot with Vista
Posts: 36
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Serafean

Quote:
Originally Posted by serafean View Post
yes, this indeed was a tricky update, I too failed. I got stuck with /lib remining, ro I removed it, brboken system now...

Serafean

I empathize. I had nvidia 173xx to nidia295xx maladies in Mar 2012. Because of the encrypted lvm, I had to do a reinstall with a 2010 May Arch core cd. 2011 June net install wouild not work with an encrypted lvm. I never perform an update without a recent backup. Good luck.
 
Old 07-22-2012, 09:40 PM   #6
ham bone
Member
 
Registered: Jul 2012
Location: Wisc
Distribution: Arch Linux dual boot with Vista
Posts: 36
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Thanks, you fixed it

Quote:
Originally Posted by rosehosting.com View Post
are you still using hal?

you need to rebuild it to use the new path or you can simply uninstall it, upgrade then install it again.
Thanks,

Pacman -Rd hal failed so I used:

pacman -R -d --nodeps hal

Thunar was supposed to need HAL, but after rebooting, Thunar works without HAL.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to eliminate "Error 1086 Files already exists " in mysql sanjay87 Linux - Server 2 03-28-2012 02:56 AM
How do you install thinks on Arch? What is arch for "emerge", "apt-get" etc? just a man Arch 8 02-04-2010 11:06 AM
"Locking in" Glibc (replace prob /lib/ld-linux.so.2 with /tools/lib/ld-linux.so.2 irfanali Linux From Scratch 11 06-29-2006 10:19 AM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM
Get this error message: "filesystem is needed by glibc-2.3.2-92" When installing??? Qwirt Linux - Software 1 07-28-2004 06:00 AM


All times are GMT -5. The time now is 04:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration