You are not logged in.
Pages: 1
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
Some suggestions here: http://bbs.archlinux.org/viewtopic.php?id=93447
(Hint: searching almost always works...)
Offline
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
Can't he just use pacman-static to install the "real" pacman package from the repos?
Offline
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
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
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
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
Pages: 1