You are not logged in.
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.4So far this is working fine, just don't forget to remove libalpm.so.4 when yaourt/package-query is updated.
This is VERY wrong.
Just, download package-query from AUR, use makepkg and install it. It would be much nicer.
Offline
Rebuilding yaourt-git and package-query-git also solves the problem for me.
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.4So far this is working fine, just don't forget to remove libalpm.so.4 when yaourt/package-query is updated.
Thanks for the solution !
Offline
Thanks for the solution !
To reiterate what's already been mentioned...
This is not a solution. Do not do this. You will invariably break something.
Just rebuild package-query-git like a sane person.
Last edited by falconindy (2010-06-22 19:15:01)
Offline
michaudg wrote:Thanks for the solution !
To reiterate what's already been mentioned...
This is not a solution. Do not do this. You will invariably break something.
Just rebuild package-query-git like a sane person.
I quote you to put emphasis on your post.
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.
This worked perfectly for me. Thanks!
"Oh, they have the internet on computers now."
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.
Its working for me so, thanks ..
Offline
Its working for me so, thanks ..
+1, thank you.
Last edited by vi3dr0 (2010-06-22 22:27:30)
Thinkpad T61p : T7700 | 4GB RAM | nVidia FX 570M | Intel 4965
Arch64 @ Openbox
Offline
heya,
I've encountered the same missing libalpm.so.4 issue after an update - Pacman works, youart doesn't.
This is on Arch_64, *not* testing, my pacman.conf file contains:
[archlinuxfr]
Server = http://repo.archlinux.fr/x86_64
so it doesn't appear to be a misconfiguration there.
Any word on when this will be fixed in core?
Cheers,
Victor
Offline
It is "fixed" in [core]. It is the package on [archlinuxfr] mirror that is broken...
Online
heya,
I've encountered the same missing libalpm.so.4 issue after an update - Pacman works, youart doesn't.
This is on Arch_64, *not* testing, my pacman.conf file contains:
[archlinuxfr] Server = http://repo.archlinux.fr/x86_64
so it doesn't appear to be a misconfiguration there.
Any word on when this will be fixed in core?
Cheers,
Victor
Had the same problem here... Fixed with this:
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.
everything working perfect here now...
Offline
Had the same problem here... Fixed with this:
kernelpanic wrote:
I compiled new package-query and it's working now.
Code:
wget http://aur.archlinux.org/packages/packa … ery.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.
everything working perfect here now...
+1 tnx a lot
O' rly ? Ya rly Oo
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.
Thanks that worked for me too
Offline
reply #16 (nachof) worked for me!. thanks
Offline
Encountered this, found thread on google
As of 5 minutes ago (no idea when it was fixed), there's a new build of package-query on archlinuxfr that seems to sort this
For me it was the missing .so as well
$ yaourt tcpdump
package-query: error while loading shared libraries: libalpm.so.4: cannot open shared object file: No such file or directory
Sorted with:
[root@gw ~]# pacman -Ss package-query
archlinuxfr/package-query 0.3-2 [installed: 0.3-1]
Query ALPM and AUR
[root@gw ~]# pacman -S package-query
resolving dependencies...
looking for inter-conflicts...
Targets (1): package-query-0.3-2
Total Download Size: 0.02 MB
Total Installed Size: 0.07 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from archlinuxfr...
package-query-0.3-2-x86_64 15.8K 60.7K/s 00:00:00 [#######################################################################################] 100%
checking package integrity...
(1/1) checking for file conflicts [#######################################################################################] 100%
(1/1) upgrading package-query [#######################################################################################] 100%
//let's see if it works
[root@gw ~]# yaourt wireshark
1 extra/wireshark 1.2.9-1
<snip> // it works!
Hope this helps someone else. Seems cleaner than the others.
Offline
kernelpanic's solution fixed it for me, thanks!
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
So, if I am reading this thread correctly: We have several users who use yaourt to install loads of stuff from AUR but who have no knowledge of building packages and resolving dependencies.
OT: This seems to me clear confirmation of the wisdom of the devs' decision to leave all AUR automation out of the official repositories.
Is there anything else we can do to encourage people to build yaourt "by hand" instead of downloading it from http://repo.archlinux.fr/ ?
Last edited by madalu (2010-06-25 15:56:43)
Offline
So, if I am reading this thread correctly: We have several users who use yaourt to install loads of stuff from AUR but who have no knowledge of building packages and resolving dependencies.
OT: This seems to me clear confirmation of the wisdom of the devs' decision to leave all AUR automation out of the official repositories.
Is there anything else we can do to encourage people to build yaourt "by hand" instead of downloading it from http://repo.archlinux.fr/ ?
Just to be clear...
I've built yaourt by hand.
I dont have the http://repo.archlinux.fr/ installed in my system and the problem appeared after an upgrade in pacman, not in yaourt or package-query. I didnt imagine (silly me) that rebuilding the package-query to the SAME version that was there before would resolve the problem. In this, this thread was very helpful.
Offline
Is there anything else we can do to encourage people to build yaourt "by hand" instead of downloading it from http://repo.archlinux.fr/ ?
Clearly document the pitfalls in the wiki. I went this path - http://wiki.archlinux.org/index.php/Yaourt#Easy_Install
I've been on Arch a whopping 6 weeks, that is the first bit of info I found searching for doc for the yaourt install procedure. I don't know if there's anything fundamentally wrong with the path I've gone. As well generally speaking when II see what looks like a package linking against something non-existent, I assume 'upgrade package'.
What would be really nice, does Arch have a tool similar to `revdep-rebuild` (Gentoo) that will scan for any binaries that are broken in such a way? Find this very handy, as I can fire it off, see what's broken (both files and what package said file belongs to), rebuild/upgrade and pray.
Offline
hi, i too have the same problem.
yaourt firefox
package-query: error while loading shared libraries: libalpm.so.4: cannot open shared object file: No such file or directory
so i tried...
# wget http://aur.archlinux.org/packages/package-query/package-query.tar.gz
--2010-07-18 15:57:41-- http://aur.archlinux.org/packages/package-query/package-query.tar.gz
Resolving aur.archlinux.org... 208.92.232.29
Connecting to aur.archlinux.org|208.92.232.29|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 473 [application/x-tgz]
Saving to: `package-query.tar.gz.2'
100%[========================================================================================================================
2010-07-18 15:57:41 (34.6 MB/s) - `package-query.tar.gz.2' saved [473/473]
yabsta @ ~ # tar zxvf package-query.tar.gz
package-query
package-query/PKGBUILD
yabasta @ ~ # cd package-query
yabasta @ package-query # makepkg -si
==> WARNING: A package has already been built, installing existing package...
==> Installing package package-query with pacman -U...
Password:
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: yaourt: requires package-query>=0.3
==> WARNING: Failed to install built package(s).
No doubt i'm doing something very stupid, forgive me i'm still quite a newb. any ideas how i could remedy this?
thanks in advance for your time
Offline
2010-07-18 15:57:41 (34.6 MB/s) - `package-query.tar.gz.2' saved [473/473]
you don't use the right archive.
Offline
lol erm...told you i was a newb. when i'd done the wget i hadn't deleted the old package-query tar or the old directory. any how, once i'd done that the process went smoothly and now yaourt works fine
Offline
Kernelpanic solution did it for me too THANKS
Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff
Offline
What works for me is uninstalling yaourt-git and package-query-git and rebuilding and installing from source the non git versions
Czipperz
Email: czipperz@gmail.com
Website: czipperz.github.io
Offline
Offline