Review your favorite Linux distribution.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 06-24-2004, 10:35 PM   #1
Registered: Jan 2003
Location: Central New Jersey
Distribution: Knoppix to play, Slack current, OpenBSD stables
Posts: 111

Rep: Reputation: 15
Question OpenBSD 3.5 - installing base packages after install?

I must be missing something here... I had a great time installing OpenBSD 3.5 from a floppy boot and a CD with all the base35.tgz, etc35.tgz etc etc... I added in xbase35.tgz so I could get a small windowing system, and realized on a reboot that I probably needed xshare35, xserv35 and xfont35 tgz's as well. I mounted my cdrom at /mnt/cdrom and tried 'pkg_add -v /mnt/cdrom/xshare35.tgz' but it says "adding xshare35" and on the next line "Can't find xshare35". I tried this from the CD, I copied the files to the local disk, and that didn't work... I'm not sure what's going on here! I know the files are there, but it isn't working.

Is there a command I need to run to get me into a setup mode where it can fecth the tgz's for me? How can I get this xwindows system up and running?

Thanks for any help
Old 06-25-2004, 01:26 AM   #2
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 75
Ahh, this is a misunderstanding with the difference between "sets" and "packages". The "sets" are what you install during the initial intallation or an upgrade. They are simply tar'd and compressed directory structures. You can untar them to the correct location to install (make sure you list the contents of the .tgz first so you know where to extract it).

"Packages" are a set of files and commands that are copied and run when you install new software. Packages differ in that they enter themselves in a database so you can track them, and that they may do special things (like move other files around, change configurations, etc) when you install them. You cannot just untar a package because the configuration won't take place and it won't register in the database.

You can copy the necessary set from the correct place off the CD to a local directory, then untar it to the proper place. Besides xbase, I think they only thing you need is xserv. I do not believe you're required to install xshare or xfont (although they may be useful). Double check the installation documentation on the website to be sure.
Old 06-25-2004, 05:08 PM   #3
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Any forgotten file sets can be installed later with:
cd /
tar zxpf /path/to/file/set.tgz

The key is the 'p' option to preserve the file permissions and ownership.
Old 06-26-2004, 12:00 AM   #4
Registered: Jan 2003
Location: Central New Jersey
Distribution: Knoppix to play, Slack current, OpenBSD stables
Posts: 111

Original Poster
Rep: Reputation: 15
Very consise bit of info there, thanks kindly! I've got the tgz's, so I'll do that shortly.

Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing base packages from disk, not CD fiservguy Red Hat 8 10-19-2005 02:00 PM
Slackare runs Openbsd packages?? trospe Slackware 2 08-01-2005 07:51 PM
woody install problem - failure while configuring base packages dongmin Debian 2 06-02-2004 11:15 AM
installing packages after install is complete mbhenry Linux - Software 2 10-23-2003 07:10 PM
Installing packages after install bobbinbrisco Linux - General 1 07-22-2001 07:56 AM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 04:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration