|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
pkg_add error ustar archive header
I am trying to install OpenBSD 4.9 on Microsoft Virtual PC (I will eventually install on a real computer if I can get this all working).
The installation goes fine, but when I try to add packages with pkg_add I get the following error: Code:
Fatal error: Ustar: Not an ustar archive header at usr/libdata/per15/OpenBSD/Ustar.pm line 72 Then I removed the biggest packages and created a 4gb CD image, now I can install packages again. The problem is I am still getting the error when installing some packages. So far the only thing I have wanted to install is gnome (pkg_add gnome-session). It installs some of the required packages, but then can't install others. (due to the error above). I'm just starting out with OpenBSD, so I'm not at all familiar with what to do. Can somebody help ? |
|
|||
You could check if the file/archive is corrupted with the utility file(1)
Code:
$ file /home/packages/rsync-3.0.7.tgz /home/packages/rsync-3.0.7.tgz: gzip compressed data, from Unix Code:
$ tar tvzf xxxxxx.tgz Code:
PKG_PATH=ftp://ftp.eu.openbsd.org/pub/OpenBSD/49/packages/i386/ export PKG_PATH
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
It's just a guess, of course, but it could be the choices you made when you create your CD/DVD images. While the CD9660 filesystem is an ISO standard, there are extensions needed for Windows, and extensions needed for Unix-like systems. They are different.
Windows uses "Joliet", and Unix-like systems use "Rock Ridge." Be sure to build your ISO images with Rock Ridge extensions, or they won't be usable. See http://en.wikipedia.org/wiki/ISO_9660 for more details. |
|
|||
Okay, thanks for your help, I think it may have had something to do with the CD image format or otherwise with Virtual PC.
I ended up installing it properly (on a real computer) and added the packages from a mounted usb drive, everything's working now |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
freebsdforums.org archive | ccc | Off-Topic | 11 | 7th March 2009 10:48 PM |
Apache: problem with rewritten content-type header | Malakim | General software and network | 2 | 3rd December 2008 07:51 PM |
(Net|Open)BSD Make: implicit C header dependencies | taylor_venable | Programming | 3 | 25th November 2008 10:32 AM |
pkg_add error | buba | OpenBSD Packages and Ports | 4 | 13th June 2008 03:29 PM |
Missing header file(s) in source tree | phatfish | FreeBSD Installation and Upgrading | 8 | 4th May 2008 08:40 PM |