You are not logged in.
hi, after yesterday's upgrade, my yaoourt can not search packages anymore:
package-query: error while loading shared libraries: libalpm.so.4: wrong ELF class: ELFCLASS64
how to solve it?
thanks
Last edited by lars9 (2010-03-30 07:50:57)
Offline
Looks like you installed an x86_64 copy of pacman on an i686 system... Did you adjust pacman.conf or the mirrorlist file incorrectly.
The solution will be to manually download the package file and extract it in your root directory (and remove the hidden files it extracts too).
Offline
Looks like you installed an x86_64 copy of pacman on an i686 system... Did you adjust pacman.conf or the mirrorlist file incorrectly.
The solution will be to manually download the package file and extract it in your root directory (and remove the hidden files it extracts too).
thanks, but
1. I'm using i686 arch
2. I can run pacman -Ss, but can not run yaourt -Ss.
Offline
Hello,
On my side I have the exact same problem. I am running Arch x86_64.
Thanks for your help
Offline
mine is x86_64 too
Offline
I'm using i686 arch
mine is x86_64 too
Right...
I do not understand how ELFCLASS64 would be the wrong ELF class on x86_64
Offline
Are the people with problems building package-query from AUR, or installing it from a 3rd-party repo somewhere? I wonder if (for instance) the [archlinuxfr] repo has a 32-bit package with 64-bit binaries?
Offline
Hello,
On my side, the problem is package-query itself
file /usr/bin/package-query
/usr/bin/package-query: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
Offline
Hello.
Temporary solution until yaourt is fixed is go back a couple of versions (0.9.2 works).
Offline
Hello.
Temporary solution until yaourt is fixed is go back a couple of versions (0.9.2 works).
how to go back to that version?
Offline
nachof wrote:Hello.
Temporary solution until yaourt is fixed is go back a couple of versions (0.9.2 works).
how to go back to that version?
Go to /var/cache/pacman/pkg and do `ls yaourt*`. If the older version is still there (it probably is unless you did a pacman -Sc recently), you'll see the filename there. Then run `pacman -U yaourt-version-you-want.tar.gz`
Offline
Ok, fixed on my side ==> archlinuxfr repo was still configured for i686 and not x86_64....
Offline
i wonder if there is any way to report such a horrible bug?
Offline
i wonder if there is any way to report such a horrible bug?
According to thomas.riche's message, it's not a bug, but a misconfiguration.
And after I checked, I realised that my configuration was wrong. Fixed that, installed yaourt and package-query, and now it works.
Offline
lars9 wrote:i wonder if there is any way to report such a horrible bug?
According to thomas.riche's message, it's not a bug, but a misconfiguration.
And after I checked, I realised that my configuration was wrong. Fixed that, installed yaourt and package-query, and now it works.
how to reconfigure it? I cleaned cache so I don't have old package now...
Offline
nachof wrote:lars9 wrote:i wonder if there is any way to report such a horrible bug?
According to thomas.riche's message, it's not a bug, but a misconfiguration.
And after I checked, I realised that my configuration was wrong. Fixed that, installed yaourt and package-query, and now it works.
how to reconfigure it? I cleaned cache so I don't have old package now...
Edit /etc/pacman.conf (you need to be root, of course)
Search for the lines:
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
If you're using the 64 bits version, that's what it should say. If you're using 32 bits then it should say i686 instead of x86_64. Make sure the right version is selected. Then run `pacman -Sy package-query yaourt`. That should fix it.
Offline
great, fixed, thanks!
Offline
I got the same problem now after today's pacman upgrade. No misconfiguration in pacman.conf. x86_64. Perhaps archlinuxfr needs a new yaourt package after the new pacman? I hope it will solve automatically later today. Any ideas otherwise?
Offline
I am experiencing the same issue and do not use the repository [archlinuxfr]. Unfortunately, I cleaned the pacman cache a couple of weeks ago and can't downgrade yaourt. Is there any other workaround?
Offline
I am experiencing the same issue and do not use the repository [archlinuxfr]. Unfortunately, I cleaned the pacman cache a couple of weeks ago and can't downgrade yaourt. Is there any other workaround?
I guess, for now, use pacman.
Offline
Offline
I´ve installed package-query 0.3-2 from AUR, seems to work
Offline
same as gofree. install package-query 0.3-2 from the AUR fixes the problem
Hofstadter's Law:
It always takes longer than you expect, even when you take into account Hofstadter's Law.
Offline
I compiled new package-query and it's working now.
wget http://aur.archlinux.org/packages/package-query/package-query.tar.gz
tar zxvf package-query.tar.gz
cd package-query
makepkg -si
Yaourt will be rebuild when the new version of pacman come into core repo.
Offline
I ran into this as well. It's not the same error as original thread but rather a missing library.
I chose a different route to resolve, quicker but dirtier, but I like that package-query's repository remains archlinuxfr.
# cd /usr/lib
# ln -s libalpm.so.5.0.0 libalpm.so.4
So far this is working fine, just don't forget to remove libalpm.so.4 when yaourt/package-query is updated.
Offline