You are not logged in.

#1 2005-04-07 06:12:28

surfer_rosa
Member
From: Glasgow, UK
Registered: 2005-02-21
Posts: 43

bash: pacman: command not found [el solved, gringo]

Um..... help!

It was working - then i added something to my /etc/fstab and it suddenly didn't exist any more. Removed the line from my fstab to see if that was causing the problem (longshot  wink) but it wasn't.

Dont really know where to start here.

Any help, as usual, really appreciated.

Cheers.
big_smile

Offline

#2 2005-04-07 06:26:45

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: bash: pacman: command not found [el solved, gringo]

Does /usr/bin/pacman exist? Is the / partition mounted? (run df to check that)

Offline

#3 2005-04-07 12:35:35

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: bash: pacman: command not found [el solved, gringo]

If all fails you could just download and install manually from ftp://ftp.archlinux.org/other/pacman/pa … 9.5.tar.gz
The README should explain how to do it. But like snowman said, make sure proper partitions are mounted.

Offline

#4 2005-04-07 13:59:22

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: bash: pacman: command not found [el solved, gringo]

I'd suspect whatever partition has /usr/bin is missing - what fstab line did you change? can you post it?

Offline

#5 2005-04-08 06:26:16

surfer_rosa
Member
From: Glasgow, UK
Registered: 2005-02-21
Posts: 43

Re: bash: pacman: command not found [el solved, gringo]

#df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/scsi/host1/bus0/target0/lun0/part5
                      25092668   2392496  22700172  10% /
none                    256584         0    256584   0% /dev/shm
tmpfs                   256584       448    256136   1% /tmp
/dev/ide/host0/bus1/target0/lun0/part1
                      80016224  71689728   8326496  90% /home/iain/documents

Seems like / is mounted all right...

#cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
tmpfs                  /tmp          tmpfs     defaults            0      0
usbfs                  /proc/bus/usb usbfs     defaults            0      0

/dev/hdc1    /home/iain/documents   auto      auto,user,sync,rw       0      0
/dev/cdroms/cdrom0     /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
/dev/cdroms/cdrom1     /mnt/cdrom2  udf       ro,user,noauto,unhide   0      0
/dev/floppy/0          /mnt/fl      vfat      user,noauto             0      0

/dev/discs/disc1/part6 swap         swap      defaults                0      0
/dev/discs/disc1/part5 /            reiserfs  defaults                0      0

/usr/bin/pacman does not exist!

#ls /usr/bin
openssl
openssl_fips_fingerprint
openvt
opera
pal2rgb
pango-querymodules
passwd
paste
patch
pathchk

which is crazy!

So i'll download it and try installing it like penguin said.

Cheers for your help - i'll let you know what happens  big_smile

Offline

#6 2005-04-08 07:00:26

surfer_rosa
Member
From: Glasgow, UK
Registered: 2005-02-21
Posts: 43

Re: bash: pacman: command not found [el solved, gringo]

i've installed pacman using:

./configure
make all
make install

('make install' executed as root)

pacman is still not in /usr/bin/

anything else i can try?

Offline

#7 2005-04-08 18:40:49

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: bash: pacman: command not found [el solved, gringo]

try this:
1. untar ftp://ftp.archlinux.org/current/os/i686 … pkg.tar.gz in /
2. pacman -S pacman

Offline

#8 2005-04-09 15:59:03

surfer_rosa
Member
From: Glasgow, UK
Registered: 2005-02-21
Posts: 43

Re: bash: pacman: command not found [el solved, gringo]

Snowman wrote:

try this:
1. untar ftp://ftp.archlinux.org/current/os/i686 … pkg.tar.gz in /
2. pacman -S pacman

Excellent - it worked!

couldn't use untar as its not a program i have (is it just an alias for tar -xvf?) and couldn't put that web location in but i downloaded it and did just the same.

Cheers mate!

PS Any ideas how this could happen?!

Offline

#9 2005-04-09 16:02:07

surfer_rosa
Member
From: Glasgow, UK
Registered: 2005-02-21
Posts: 43

Re: bash: pacman: command not found [el solved, gringo]

Oh actually step 2 didn't work.

[root@myhost /]# pacman -S pacman

Targets: pacman-2.9.5-1

Total Package Size:   0.4 MB

Proceed with upgrade? [Y/n] Y

:: Retrieving packages from current...
 pacman-2.9.5-1           [################] 100%     396K   132.4K/s  00:00:02

checking package integrity... done.
loading package data... done.
checking for file conflicts...
error: the following file conflicts were found:
  pacman: /etc/abs/abs.conf: exists in filesystem
  pacman: /etc/abs/supfile.arch: exists in filesystem
  pacman: /etc/abs/supfile.extra: exists in filesystem
  pacman: /etc/abs/supfile.unstable: exists in filesystem
  pacman: /etc/makepkg.conf: exists in filesystem
  pacman: /etc/pacman.conf: exists in filesystem
  pacman: /etc/pacman.d/current: exists in filesystem
  pacman: /etc/pacman.d/extra: exists in filesystem
  pacman: /etc/pacman.d/release: exists in filesystem
  pacman: /etc/pacman.d/unstable: exists in filesystem
  pacman: /usr/bin/abs: exists in filesystem
  pacman: /usr/bin/convertdb: exists in filesystem
  pacman: /usr/bin/gensync: exists in filesystem
  pacman: /usr/bin/makepkg: exists in filesystem
  pacman: /usr/bin/makeworld: exists in filesystem
  pacman: /usr/bin/pacman: exists in filesystem
  pacman: /usr/bin/pacman.static: exists in filesystem
  pacman: /usr/bin/sortmirrors.pl: exists in filesystem
  pacman: /usr/bin/updatesync: exists in filesystem
  pacman: /usr/bin/vercmp: exists in filesystem
  pacman: /usr/man/man8/makepkg.8.gz: exists in filesystem
  pacman: /usr/man/man8/pacman.8.gz: exists in filesystem


errors occurred, no packages were upgraded.

But pacman is working again so no harm done  big_smile

Offline

#10 2005-04-10 20:47:05

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: bash: pacman: command not found [el solved, gringo]

1. By untar, I meant 'tar -xzvf'.
2. Try:
pacman -Sf pacman
It will force the install.

Offline

#11 2005-04-10 21:34:16

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: bash: pacman: command not found [el solved, gringo]

there are now 2 file in your root which do not belong to pacman (I think .filelist and .depends or so), you should delete them.

Offline

#12 2005-04-10 21:50:41

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: bash: pacman: command not found [el solved, gringo]

cmp wrote:

there are now 2 file in your root which do not belong to pacman (I think .filelist and .depends or so), you should delete them.

Actually, they are:
.PKGINFO and .FILELIST

Offline

#13 2005-04-10 21:55:51

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: bash: pacman: command not found [el solved, gringo]

.INSTALL ?

Offline

#14 2005-04-11 06:33:10

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: bash: pacman: command not found [el solved, gringo]

Penguin wrote:

.INSTALL ?

Yes. I forgot that one.

Offline

Board footer

Powered by FluxBB