You are not logged in.
Pages: 1
I kind of removed pacman using the "pacman -R pacman" command... I know, REALLY stupid. I kept wondering why putty, the package I had intended to remove, was on the holdpkg list... I think I really need to sleep more!
Anyways, I was hoping that one of you could walk me through the re-installation pacman. I tried searching for this in the forum, but it is amazing how many results a search like "re-install pacman", "install pacman" or "removed pacman" generate! I am guessing this will involve using the live cd, but that is as far as I can figure. Thanks in advance.
Charles
Offline
Use the Arch install image, chroot into your current install, and reinstall pacman. If your root directory on your current install is on sda, then:
Start the install media and get to a command line.
mkdir /mnt/hope
mount /dev/sda3 /mnt/hope
chroot /mnt/hope
pacman -S pacmanI thought that hope was an apt name the first time that I had to do this.
WAIT!!!!!!!!!!!!!
That's way too much work. You hopefully have pacman still in your cache (/var/cache/pacman/pkg). Just decompress it somewhere and copy all the files into / (the root directory). When done, pacman -Sf pacman.
Offline
i would just mount the partition from arch live cd and use
pacman -S pacman -r /path/to/mounted/rootLast edited by wonder (2010-05-30 15:49:46)
Give what you have. To someone, it may be better than you dare to think.
Offline
i would just mount the partition from arch live cd and use
pacman -S pacman -r /path/to/mounted/root
Hey, that's pretty cool. Good thinking wonder!
Offline
Thank you both very much! I ended up booting to the live cd, mounting my root partition to /mnt and installing pacman from my package cache to /mnt (pacman -U /mnt/var/cache/pacman/pkg/pacman-3.3.3-5-i686.pkg.tar.gz -r /mnt). It worked perfectly!
This is my first Arch install and I would have been VERY upset (at my slelf) if I had to reinstall everything! Thanks again!
Offline
Pages: 1