You are not logged in.

#1 2009-08-08 08:51:35

doniy
Member
Registered: 2009-08-08
Posts: 7

[solved]pacman not exists in system

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

#2 2009-08-08 09:40:39

Babets
Member
Registered: 2008-02-07
Posts: 47

Re: [solved]pacman not exists in system

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 big_smile

Last edited by Babets (2009-08-08 09:42:47)

Offline

#3 2009-08-08 09:47:27

doniy
Member
Registered: 2009-08-08
Posts: 7

Re: [solved]pacman not exists in system

not helped, still unknown command

Offline

#4 2009-08-08 09:55:11

cinan
Member
From: Slovakia
Registered: 2008-07-04
Posts: 251
Website

Re: [solved]pacman not exists in system

look here http://www.archlinux.org/pacman/ there are instructions how to compile and install pacman.

Offline

#5 2009-08-08 10:02:19

doniy
Member
Registered: 2009-08-08
Posts: 7

Re: [solved]pacman not exists in system

cinan wrote:

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

#6 2009-08-08 10:03:30

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [solved]pacman not exists in system

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 wink

Offline

#7 2009-08-08 10:07:05

doniy
Member
Registered: 2009-08-08
Posts: 7

Re: [solved]pacman not exists in system

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

#8 2009-08-08 10:22:25

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [solved]pacman not exists in system

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

#9 2009-08-08 11:36:28

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

Re: [solved]pacman not exists in system

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

#10 2009-08-08 14:20:30

doniy
Member
Registered: 2009-08-08
Posts: 7

Re: [solved]pacman not exists in system

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 smile

Offline

#11 2009-08-08 14:39:06

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [solved]pacman not exists in system

doniy wrote:
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 smile

Please mark topic as solved wink


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

Board footer

Powered by FluxBB