You are not logged in.
I accidently in frustration of something not working typed in xterm: pacman -R pacman
Now i lost pacman and I have no idea what to do to fix it. If I have to download it how would I install it? any suggestions?
I am still learning arch so sorry if its a stupid question
Offline
Someone else can probably give you a more definitive answer, but since you're probably panicking, I think you should be able to do this:
1. Boot from live media.
2. Remount your root partition as read-write (see the remount option in 'man mount').
3. From the archlive prompt: `pacman -S -r /where/you/mounted/root/partition/ pacman`
Jay
Last edited by jt512 (2010-10-27 22:02:56)
Offline
There is an easier way. Download the pacman package from
http://www.archlinux.org/packages/core/ … /download/
or
http://www.archlinux.org/packages/core/ … /download/
respectively and unpack it as root in the / directory.
Last edited by bernarcher (2010-10-27 22:30:06)
To know or not to know ...
... the questions remain forever.
Offline
When installing manually, you should install pacman using pacman, so pacman knows that it's there. Otherwise it might just stop pacman from beeing updated... by pacman.
I should go to bed.
Offline
When installing manually, you should install pacman using pacman, so pacman knows that it's there. Otherwise it might just stop pacman from beeing updated... by pacman.
I should go to bed.
Out of curiosity, is it possible to install pacman manually and reinstall it by the newly installed pacman?
Offline
Awebb wrote:When installing manually, you should install pacman using pacman, so pacman knows that it's there. Otherwise it might just stop pacman from beeing updated... by pacman.
I should go to bed.
Out of curiosity, is it possible to install pacman manually and reinstall it by the newly installed pacman?
It should be possible but you would need to use the -f flag to force the overwrite.
Last edited by sand_man (2010-10-28 05:51:34)
Offline
Awebb wrote:When installing manually, you should install pacman using pacman, so pacman knows that it's there. Otherwise it might just stop pacman from beeing updated... by pacman.
I should go to bed.
Out of curiosity, is it possible to install pacman manually and reinstall it by the newly installed pacman?
Of course. You should even do so after a manual install to make sure pacman is known to the package system.
To know or not to know ...
... the questions remain forever.
Offline