You are not logged in.

#1 2011-08-11 12:35:10

ExtremeTomato
Member
From: Lancaster, UK
Registered: 2010-07-13
Posts: 2
Website

pacman upgrade (libalpm + glib problem)

Good day,
  I've just updated pacman (as the initial stage of a full system update using yaourt), and now get this error when attempting to do anything with it:

$ pacman -Ss
pacman: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/libalpm.so.6)

I get the feeling this is something obvious I should know how to fix, but can't find a solution using the search.  Should I go about downgrading to 3.5.2 (the previous version used), then try updating another way? 

FYI I'm running an x86-64 system that was last updated about a month ago.

Thanks,
--Steve.

Offline

#2 2011-08-11 12:49:30

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: pacman upgrade (libalpm + glib problem)

Do not downgrade pacman.

1) Manually download the latest glibc package from a mirror
2) Extract the downloaded tarball with bsdtar to /
3) pacman -Syf glibc
4) pacman -Syu

This sort of behavior is fixed in the next version of pacman.

Last edited by falconindy (2011-08-12 00:59:45)

Offline

#3 2011-08-11 13:19:42

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: pacman upgrade (libalpm + glib problem)

falconindy wrote:

2) Extract the downloaded tarball with bsdtar to /

Just don't forget to remove .PKGINFO and .INSTALL if you didn't exclude them while extracting.


This silver ladybug at line 28...

Offline

#4 2011-08-11 15:29:03

ExtremeTomato
Member
From: Lancaster, UK
Registered: 2010-07-13
Posts: 2
Website

Re: pacman upgrade (libalpm + glib problem)

That worked a charm, many thanks!

Offline

#5 2011-08-11 23:39:09

Andhrimnir
Member
Registered: 2011-08-11
Posts: 8

Re: pacman upgrade (libalpm + glib problem)

Hello everyone,

First time posting here, I've tried to be careful to follow the guidelines.

I've been working for a few weeks intermittently to build myself a SMB fileserver for personal use. For a while I was attempting to install Ubuntu Server 11.04, because I'm fairly new to Linux, but the install was so arduous that I switched to Arch which appears to have far clearer and more extensive documentation.

Anyways, last night I completed the Arch install. I began following the Post-Install portion of the Beginner's guide. My network appeared to be configured properly already, so I skipped to 4.1.2 Update, Sync, and Upgrade the system with pacman. I got as far as upgrading the entire system via "pacman -Syu". At this point, pacman returned the error:

pacman: /lib/libc.so.6: version 'GLIBC_2.14' not found (required by /usr/lib/libalpm.so.6)

pacman returns this error for any input, even 'pacman -h' does this. I tried some other basic stuff - 'echo "hello world"', 'date', using nano, changing dirs. Everything else seems to work, which puzzles me, since if GLIBC really were missing, my (admittedly limited) understanding would be that the entire system would be in some state of disfunction; lacking any kind of C library which it appears almost everything is dependent upon.

I found some resources discussing how to fix a broken pacman. The pacman page on the wiki has some information at the bottom for pacman troubleshooting, but none of the errors resemble the one I have, and the last option, for if it's broken beyond repair and needs to be manually reinstalled, is rather brief in description and (assuming this is the correct path) I don't know where to start.

I also found information stickied in this subforum regarding how to reinstall pacman when it's broken. It appears to be concerning a specific issue that broke pacman for some people a while back - it looks like it could help, but I'm hesitant to run the script blindly without a better understanding of what my problem is first. Finally, I found another forum thread (which I've lost the link for now, oops...) which discussed a similar error. The solution was to use wget to download the package manually, untar it, and copy the contents of each subfolder manually into their correct locations. I did the same thing, downloading GLIBC_2.14 from the GNU FTP server,  and extracted it in root. However, inside there were upwards of 30 folders, and many of them didn't have corresponding locations in / or /usr as instructed by the thread I was reading.

Anyways, hope that's not too much information about a simple problem. I'm definitely in over my head with Arch, but so far it's been educational and interesting, so I'm inclined to try and stick with it. Thanks for any help with this issue,

-Andhrimnir

Offline

#6 2011-08-11 23:43:53

Raidon
Member
Registered: 2010-10-16
Posts: 2

Re: pacman upgrade (libalpm + glib problem)

Hello,

I also recently updated pacman and am getting the same error. Unfortunately, I couldn't fix the problem.

That's what I did:

[root@******** ~]# wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
--2011-08-12 01:39:33--  http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
Auflösen des Hostnamen »ftp.gnu.org«.... 140.186.70.20
Verbindungsaufbau zu ftp.gnu.org|140.186.70.20|:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 20897040 (20M) [application/x-gzip]
In »»glibc-2.14.tar.gz«« speichern.

100%[======================================>] 20.897.040  6,02M/s   in 4,1s

2011-08-12 01:39:41 (4,84 MB/s) - »»glibc-2.14.tar.gz«« gespeichert [20897040/20897040]

[root@******** ~]# bsdtar -x -f glibc-2.14.tar.gz -C /
[root@******** ~]# pacman -Syf glibc
pacman: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/libalpm.so.6)

I also tried to rename the directory, still didn't work. What did I do wrong?

Thanks in advance,
Raidon

Last edited by Raidon (2011-08-11 23:50:42)

Offline

#7 2011-08-11 23:57:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: pacman upgrade (libalpm + glib problem)

Merging...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2011-08-12 00:50:10

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: pacman upgrade (libalpm + glib problem)

Raidon wrote:

Hello,

I also recently updated pacman and am getting the same error. Unfortunately, I couldn't fix the problem.

That's what I did:

[root@******** ~]# wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
--2011-08-12 01:39:33--  http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
Auflösen des Hostnamen »ftp.gnu.org«.... 140.186.70.20
Verbindungsaufbau zu ftp.gnu.org|140.186.70.20|:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 20897040 (20M) [application/x-gzip]
In »»glibc-2.14.tar.gz«« speichern.

100%[======================================>] 20.897.040  6,02M/s   in 4,1s

2011-08-12 01:39:41 (4,84 MB/s) - »»glibc-2.14.tar.gz«« gespeichert [20897040/20897040]

[root@******** ~]# bsdtar -x -f glibc-2.14.tar.gz -C /
[root@******** ~]# pacman -Syf glibc
pacman: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/libalpm.so.6)

I also tried to rename the directory, still didn't work. What did I do wrong?

Thanks in advance,
Raidon

You downloaded the source, not the package....

Offline

#9 2011-08-12 00:53:24

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

Re: pacman upgrade (libalpm + glib problem)

falconindy wrote:

You downloaded the source, not the package....

Can you edit your previous post and make it clear that one need to download the package? 'tarball' usually means the source.

Offline

#10 2011-08-12 01:00:53

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: pacman upgrade (libalpm + glib problem)

I wouldn't think one would need to be explicit about the differentiation between source and compiled binary when instructing someone to extract an archive to their / .... regardless, post edited.

Offline

#11 2011-08-12 02:15:15

Phosphenes
Member
From: Halifax, Nova Scotia
Registered: 2011-08-12
Posts: 1

Re: pacman upgrade (libalpm + glib problem)

Raidon wrote:

Hello,

I also recently updated pacman and am getting the same error. Unfortunately, I couldn't fix the problem.

That's what I did:

[root@******** ~]# wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
--2011-08-12 01:39:33--  http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
Auflösen des Hostnamen »ftp.gnu.org«.... 140.186.70.20
Verbindungsaufbau zu ftp.gnu.org|140.186.70.20|:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 20897040 (20M) [application/x-gzip]
In »»glibc-2.14.tar.gz«« speichern.

100%[======================================>] 20.897.040  6,02M/s   in 4,1s

2011-08-12 01:39:41 (4,84 MB/s) - »»glibc-2.14.tar.gz«« gespeichert [20897040/20897040]

[root@******** ~]# bsdtar -x -f glibc-2.14.tar.gz -C /
[root@******** ~]# pacman -Syf glibc
pacman: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/libalpm.so.6)

I also tried to rename the directory, still didn't work. What did I do wrong?

Thanks in advance,
Raidon

Hi, I had the same problem. You need to download the package from here instead:
http://www.archlinux.org/packages/core/ … /download/
or here, if you're not using 64 bit:
https://www.archlinux.org/packages/core … /download/

Offline

#12 2011-08-12 05:46:03

zfjagann
Member
From: California
Registered: 2011-08-12
Posts: 6

Re: pacman upgrade (libalpm + glib problem)

I had this same issue, after a fresh install of Arch. I installed it completely default (the only thing I played around with was partitioning).

After logging in with root:

pacman  -Syu

Updates pacman and some other things and runs directly into this issue. This is really something that should be fixed asap, as anyone attempting to install Arch in the near future will be screwed by this bug. (I tried on two separate Arch ISOs one from May of this year and another older one from last fall.)

Also, since it is a fresh install of Arch, I have no window manager or browser, so I can't download the package from most mirrors. Does anyone have a direct link?

Last edited by zfjagann (2011-08-12 05:50:32)

Offline

#13 2011-08-12 05:51:15

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,358

Re: pacman upgrade (libalpm + glib problem)

zfjagann wrote:

I had this same issue, after a fresh install of Arch. I installed it completely default (the only thing I played around with was partitioning).

After logging in with root:

pacman  -Syu

Updates pacman and some other things and runs directly into this issue. This is really something that should be fixed asap, as anyone attempting to install Arch in the near future will be screwed by this bug. (I tried on two separate Arch ISOs one from May of this year and another older one from last fall.)

http://mailman.archlinux.org/pipermail/ … 21297.html


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#14 2011-08-12 05:58:08

zfjagann
Member
From: California
Registered: 2011-08-12
Posts: 6

Re: pacman upgrade (libalpm + glib problem)

ngoonee wrote:
zfjagann wrote:

I had this same issue, after a fresh install of Arch. I installed it completely default (the only thing I played around with was partitioning).

After logging in with root:

pacman  -Syu

Updates pacman and some other things and runs directly into this issue. This is really something that should be fixed asap, as anyone attempting to install Arch in the near future will be screwed by this bug. (I tried on two separate Arch ISOs one from May of this year and another older one from last fall.)

http://mailman.archlinux.org/pipermail/ … 21297.html

I understand that the issue has been fixed, but I'm not entirely sure how I can apply that fix to my computer.

Offline

#15 2011-08-12 06:03:30

zfjagann
Member
From: California
Registered: 2011-08-12
Posts: 6

Re: pacman upgrade (libalpm + glib problem)

Nevermind. I managed to find a direct link to the package. I extracted it with bsdtar and it seems to work.

Thank you for your help.

Offline

Board footer

Powered by FluxBB