You are not logged in.

#1 2010-04-09 23:27:20

krzd
Member
Registered: 2010-03-18
Posts: 9

Pacman removed

Hi,
I did a big mistake. I removed pacman instead of pacman-color and then pacman-color. Now I don't have any pacman on my system. Is there any way to get it back?

Thanks in advance

Offline

#2 2010-04-09 23:29:34

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

Re: Pacman removed

Some suggestions here: http://bbs.archlinux.org/viewtopic.php?id=93447

(Hint: searching almost always works...)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2010-04-09 23:30:28

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Pacman removed

Get the pacman package from somewhere (probably there's one in /var/cache/pacman/pkg/) and open it with tar. Put the contents in the right places by hand. Once you have that working, re-install pacman the normal way to get it back in the DB.

Offline

#4 2010-04-10 02:05:38

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Pacman removed

Can't he just use pacman-static to install the "real" pacman package from the repos?


neutral

Offline

#5 2010-04-10 02:33:27

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: Pacman removed

if I'm not mistaken ( and I might be off on the details, since I've never had to do this)  you should be able to either install pacman from an Arch LiveCD, or use pacman from an Arch liveCD to install pacman from the core repo.  (pacman -S pacman)?   in theory it ought to work.  I would test this idea out for you but I seem to have misplaced my liveCD and I'm not going to burn another one tonight.  just an idea, maybe worth looking into.


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#6 2010-04-10 02:39:49

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Pacman removed

sand_man wrote:

Can't he just use pacman-static to install the "real" pacman package from the repos?

It's been long removed from the regular pacman package. Installing it isn't any more or less difficult than the other suggestions.

Offline

#7 2010-04-10 04:34:46

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

Re: Pacman removed

Should be in your cache (/var/cache/pacman/pkg/), just install it like a normal tar extraction:

tar xvf pacman-3.3.3-1.pkg.tar.gz -C /

Afterwords reinstall again with the force option so the database knows about it.


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

Offline

#8 2010-04-10 08:55:59

krzd
Member
Registered: 2010-03-18
Posts: 9

Re: Pacman removed

Thanks for all your answers. I didn't had pacman in the cache. Downloading the pacman sources, compoling it and installing pacman with my compiled pacman did the thing.

Thanks

Offline

Board footer

Powered by FluxBB