You are not logged in.
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 ) but it wasn't.
Dont really know where to start here.
Any help, as usual, really appreciated.
Cheers.
Offline
Does /usr/bin/pacman exist? Is the / partition mounted? (run df to check that)
Offline
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
I'd suspect whatever partition has /usr/bin is missing - what fstab line did you change? can you post it?
Offline
#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
Offline
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
try this:
1. untar ftp://ftp.archlinux.org/current/os/i686 … pkg.tar.gz in /
2. pacman -S pacman
Offline
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
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
Offline
1. By untar, I meant 'tar -xzvf'.
2. Try:
pacman -Sf pacman
It will force the install.
Offline
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
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
.INSTALL ?
Offline
.INSTALL ?
Yes. I forgot that one.
Offline