You are not logged in.
Hey everybody,
I recently ran into some issues with pacman, where whenever I wanted to install a package, pacman would complain about needing to get version 3.3, but it also didnt want to install 3.3 because of dependency conflicts. So I did something that in retrospect was a really bad idea... I tried to update the pacman package with the -f flag, or whatever one forces the upgrade without dependencies. Now whenever I try to run pacman i get the following:
pacman: error while loading shared libraries: libfetch.so: cannot open shared object file: No such file or directory
Obviously I broke pacman, and I dont knoe how to fix it. Is there anywhere that I can get the source for pacman and just do a make install to fix it, or is there any way to salvage it?
Thanks a lot, and sorry im such an idiot ;-D
Mitch
Offline
download libfetch from any mirror, here for exemple (link is for i686):
ftp://ftp.archlinux.org/core/os/i686/li … pkg.tar.gz
unpack it:
tar xf libfetch-2.25-1-i686.pkg.tar.gz
here's what you'll have:
usr
|-- include
| `-- fetch.h
|-- lib
| |-- libfetch.a
| `-- libfetch.so
`-- share
`-- man
`-- man3
`-- fetch.3.gz
as root, manually copy each file to your system e.g.
cp usr/include/fetch.h /usr/include/
do it for all the files, sacrifice a goat and try to run pacman again.
edit: then reinstall libfetch so it'll be in your db again.
edit2: if you don't have a goat, over 9000 hamsters should do it.
Last edited by bangkok_manouel (2009-09-04 04:45:23)
Offline
Thank you very much for your quick reply. I was able to get libfetch installed properly, and the goat sacrifice worked like a charm ;-) However, I m now getting the same error for liblzma.so.0... Any idea where I can get that? it doesnt seem to be in the repo.
Thanks!
Offline
xz-utils
Offline
You can also reinstall the older pacman version and fix the dependency problem preventing you from installing the new pacman, that seems easier to me...
Offline
download libfetch from any mirror, here for exemple (link is for i686):
ftp://ftp.archlinux.org/core/os/i686/li … pkg.tar.gzunpack it:
tar xf libfetch-2.25-1-i686.pkg.tar.gz...
as root, manually copy each file to your system e.g.
cp usr/include/fetch.h /usr/include/...
Ok, I know it's too late but a direct extract be much simpler:
tar xvf libfetch-2.25-1-i686.pkg.tar.gz -C /Then remove extraneous package note files
rm /.PKGINFO /.INSTALLSetting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
You can also reinstall the older pacman version and fix the dependency problem preventing you from installing the new pacman, that seems easier to me...
How do i get my hands on the older version?
Thanks!
Offline
You look in the wiki: http://wiki.archlinux.org/index.php/Dow … er_Version ![]()
Last edited by ploub (2009-09-05 06:06:13)
Offline
Ramses de Norre wrote:You can also reinstall the older pacman version and fix the dependency problem preventing you from installing the new pacman, that seems easier to me...
How do i get my hands on the older version?
Thanks!
/var/cache/pacman/pkg/if you didn't clear that out.
Offline