You are not logged in.

#1 2009-09-04 04:26:06

youngmit
Member
Registered: 2009-09-04
Posts: 13

My Pacman is dead :,-[ ... unfortunately its my fault. I think.

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

#2 2009-09-04 04:39:18

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,557

Re: My Pacman is dead :,-[ ... unfortunately its my fault. I think.

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

#3 2009-09-04 05:28:11

youngmit
Member
Registered: 2009-09-04
Posts: 13

Re: My Pacman is dead :,-[ ... unfortunately its my fault. I think.

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

#4 2009-09-04 05:29:39

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: My Pacman is dead :,-[ ... unfortunately its my fault. I think.

xz-utils

Offline

#5 2009-09-04 06:52:34

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: My Pacman is dead :,-[ ... unfortunately its my fault. I think.

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

#6 2009-09-04 07:34:44

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: My Pacman is dead :,-[ ... unfortunately its my fault. I think.

bangkok_manouel wrote:

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

...

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 /.INSTALL

Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#7 2009-09-05 02:35:57

youngmit
Member
Registered: 2009-09-04
Posts: 13

Re: My Pacman is dead :,-[ ... unfortunately its my fault. I think.

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!

Offline

#8 2009-09-05 06:04:19

ploub
Member
Registered: 2007-05-16
Posts: 138

Re: My Pacman is dead :,-[ ... unfortunately its my fault. I think.

You look in the wiki: http://wiki.archlinux.org/index.php/Dow … er_Version roll

Last edited by ploub (2009-09-05 06:06:13)

Offline

#9 2009-09-05 09:48:13

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: My Pacman is dead :,-[ ... unfortunately its my fault. I think.

youngmit wrote:
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

Board footer

Powered by FluxBB