Wednesday, May 17, 2006
Errors in Pkg_add
Saw a lot of this error when I was trying to update my home server.
usage: tar -{txru}[cevfbmopwBHLPX014578] [tapefile] [blocksize] file1 file2...
usage: tar -{txru}[cevfbmopwBHLPX014578] [tapefile] [blocksize] file1 file2...
usage: tar -{txru}[cevfbmopwBHLPX014578] [tapefile] [blocksize] file1 file2...
usage: tar -{txru}[cevfbmopwBHLPX014578] [tapefile] [blocksize] file1 file2...
pkg_add(bash-current-bin): unable to open table of contents file `+CONTENTS' - not a package?
This page pointed me at a solution: http://www.interix.com/tools/printable.aspx?m=7093&mpage=2
sh pkg-current-bin25.sh clobber
However, I was still throwing errors...
cp: cannot open '/bin/tar-0': Permission denied
cp: cannot open '/bin/ftp-0': Permission denied
cp: cannot open '/bin/pax-0': Permission denied
cp: cannot open '/usr/share/man/cat1/ftp.1-0': Permission denied
cp: cannot open '/usr/share/man/cat1/tar.1-0': Permission denied
cp: cannot open '/usr/share/man/cat1/pax.1-0': Permission denied
Problem ended up being that these files did not have the group write set. Solution:
chmod g+s /bin/*
Problem solved!
D
Post a Comment