You are not logged in.
Somehow i removed pacman. Then type: pacman, got unknown command.
How can i install pacman, with out pacman, and make it work ?
I think pacman gone then i replaced it with kdemod-pacman (it becouse i can't update system), and last nigth uninstalled kdemod, then type: pacman -Sy kde, and got what were is no pacman on my system!
Last edited by doniy (2009-08-09 00:07:58)
Offline
I'm not sure but i think you can simply extract pacman package (and his dependency if needed) in your /
But first, check if pacman has really been removed from your system or it's only a problem with your bashrc or something else
Last edited by Babets (2009-08-08 09:42:47)
Offline
not helped, still unknown command
Offline
look here http://www.archlinux.org/pacman/ there are instructions how to compile and install pacman.
Offline
look here http://www.archlinux.org/pacman/ there are instructions how to compile and install pacman.
Do you have instructions step by step for noob?
Using http://www.archlinux.org/pacman/ instruction, i unpack run:
./configure
make (not working)
make install (not working)
and where not much about setup, i can't find anywere about pacman intallation on archlinux
Offline
Hello Doniy.
If it disappeared you need for building from scratch yeah, and next time take a backup from it.
The core repository is very important
Offline
and how can i build from scratch ?
is were any setup script for arch?
Last edited by doniy (2009-08-08 10:08:25)
Offline
Just in case you forgot, pacman packages are just tarballs.
Download ftp://ftp.archlinux.org/core/os/i686/pa … pkg.tar.gz (obviously change to x86_64 if you use that)
Then cd to /, and tar -zxvf the package.
After that /usr/bin/pacman -Sf pacman to ensure all it's files are registered in pacmans database.
James
(-Sf force is required because it will conflict with the untarred pacman files)
Last edited by iphitus (2009-08-08 10:23:26)
Offline
Also of note, you may have erased your path. Probably not or other programs won't work but I once forgot to put :$PATH at the end of my path in the .bashrc and lost it. To add to the above command if `whereis pacman` doesn't exist add -C / to extract it to root.
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
Just in case you forgot, pacman packages are just tarballs.
Download ftp://ftp.archlinux.org/core/os/i686/pa … pkg.tar.gz (obviously change to x86_64 if you use that)
Then cd to /, and tar -zxvf the package.
After that /usr/bin/pacman -Sf pacman to ensure all it's files are registered in pacmans database.
James
(-Sf force is required because it will conflict with the untarred pacman files)
thanks, fixed
Offline
iphitus wrote:Just in case you forgot, pacman packages are just tarballs.
Download ftp://ftp.archlinux.org/core/os/i686/pa … pkg.tar.gz (obviously change to x86_64 if you use that)
Then cd to /, and tar -zxvf the package.
After that /usr/bin/pacman -Sf pacman to ensure all it's files are registered in pacmans database.
James
(-Sf force is required because it will conflict with the untarred pacman files)
thanks, fixed
Please mark topic as solved
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline