You are not logged in.
Pages: 1
Hey guys,
I am having some problems with glibc when updating my system. I have done what the guide says, but I still get problems with the final "pacman -Su".
The packages apart from glibc which own a file in /lib are:
/lib/cpp is owned by gcc 4.7.1-1
/lib/udev/rules.d/90-hal.rules is owned by hal 0.5.14-6
I am not sure what to do. Can I have some help please?
Also, can I just delete the files with no ower or which owner cannot be determined?
Thank you!
Last edited by vjoe (2012-07-16 20:18:51)
Offline
Have you tried the grep command from the wiki (this guide)?
grep '^lib/' /var/lib/pacman/local/*/files | grep -v glibcif yes, what's the output?
Last edited by graph (2012-07-15 13:51:25)
Offline
The output is
~$ grep '^lib/' /var/lib/pacman/local/*/files | grep -v glibc
/var/lib/pacman/local/gcc-4.7.1-1/files:lib/
/var/lib/pacman/local/gcc-4.7.1-1/files:lib/cpp
/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
From what I understand, I need to rebuild the packages. Won't it be easier to just remove them, perform the update, and install them again?
Last edited by vjoe (2012-07-15 14:11:24)
Offline
Yes, remove hal. It's not there in the repos anymore so no need to reinstall it too
Offline
Did you update with the --ignore flag before trying to update glibc? Because the version of gcc I have installed is 4.7.1-4 and that didn't cause any problems when upgrading.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Crap! Guys I've screwed up big time!
I only had files owned by glib in /lib and therefore I thought it would be safe to remove the directory. I did so and now nothing works. For example, trying to use pacman says there is no /usr/bin/pacman.
I haven't yet restarted my system, but I guess it won't be nice when I do it...
Help please!!
Offline
Oy vey. Check around the forums, there are several similar threads.
Offline
You're not the only one. Boot into a live cd (preferably Arch's) and use pacman -r to reinstall glibc.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Thanks. I will do so!
Offline
I have the same problem. While I had an ssh still running, I was trying to update pacman but glibc conflicts were always coming up. I tried one of the solutions I found for conflicting files in the forum and then pacman itself wasn't working... When I noticed none of the commands could be issued because of "bash: /bin/command does not exist" errors I was just stuck, and I made the mistake of turning off the system thinking it might somehow revert something or that arch-fallback could be of use. Unfortunately I'm running Arch on a netbook,... and don't have a disc drive. I'll try using a usb instead.
Neither Socrates nor Jesus ever wrote a single thing, and it might be that their fame was extended by the relativism this provided.
Offline
@confusion-is-my-sedative: try to boot in the initramfs recovery shell: add break=postmount to the kernel commandline, remount /new_root read-write and begin your recovery ![]()
Last edited by progandy (2012-07-15 17:20:04)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Offline
When I noticed none of the commands could be issued because of "bash: /bin/command does not exist" errors I was just stuck
This is probably of no use to you now, but if you had busybox installed, it should still work even if you moved /lib out of the way (you can use busybox to move it back; I test it and it appears to work). Of course, if you deleted it before updating, then you'll have to reinstall from a live CD or similar (or use progandy's tip).
He who has no .plan has small finger.
~Confucius on UNIX.
Offline
Thanks guys, all good now!
This community is excellent!
Offline
Can you be a little more specific about what you actually did to solve it?
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Sure.
I booted the netinstall LiveCD, mounted my partition and did pacman -r <dir> -Su which installed glibc 2.16.
Offline
Please mark your topic solved.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Hi,
I have pretty much the same problem that vjoe had, but I don't get how to do:
Sure.
I booted the netinstall LiveCD, mounted my partition and did pacman -r <dir> -Su which installed glibc 2.16.
How can I do that?
Offline
Hi,
I have pretty much the same problem that vjoe had, but I don't get how to do:vjoe wrote:Sure.
I booted the netinstall LiveCD, mounted my partition and did pacman -r <dir> -Su which installed glibc 2.16.
How can I do that?
1. Boot the netinstall LiveCd.
2. Mount your Arch partition under, for example, /mnt.
3. Do "pacman -r /mnt -Su".
or
1. Read the 1 million other threads that already solved this problem.
Last edited by guelfi (2012-07-16 17:47:49)
Offline
Thanks for the help, that did the trick,
Suerte!
Offline
Pages: 1