DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th October 2017
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 242
Default Cant install anything after fresh install

Hi,

I just finished installing 6.2 using usb drive.

After installation when I try to install any package it says not found.

What am I missing here ?

Without nano I cant even modify the /etc/installurl
Reply With Quote
  #2   (View Single Post)  
Old 9th October 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,052
Default

1. If you had done a network installation, rather than an installation from disk, then /etc/installurl would have been created for you.

2. The OS comes with 4 built-in editors: vi(1), mg(1), sed(1), and ed(1). Learning vi or mg would probably be helpful.

3. You can manually create an /etc/installurl file, without an editor, by using echo(1) and redirecting the output to the file.
Code:
# echo http://your.nearest.mirror.site/pub/OpenBSD > /etc/installurl
4. You can also create a $PKG_PATH environment variable for use with pkg_add(1). However, this is not used with syspatch(8), which only uses /etc/installurl.
Reply With Quote
  #3   (View Single Post)  
Old 9th October 2017
PapaParrot's Avatar
PapaParrot PapaParrot is offline
parrot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 472
Default

No need for nano, as all ready mentioned ,vi , ed ,etc....
The 'echo' command is a new one to me, never thought of using it that way, thanks jggimi,

So many ways to accomplish something, I used the 'cat' command myself,
Code:
man cat
Code:
cat > /etc/installurl
http://ftp.openbsd.org/pub/OpenBSD
ctrl-d to exit/end and save the file
Reply With Quote
  #4   (View Single Post)  
Old 9th October 2017
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 242
Default

I had to setup a $PKG_PATH environment variable then after adding xfce added url to
/etc/installurl.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sshd not starting fresh install fossala OpenBSD General 2 16th May 2015 08:12 PM
OpenBSD 5.3 fresh install - mysql does not run vigidr OpenBSD Packages and Ports 2 27th July 2013 09:31 PM
Doing a fresh install - what to save? Bruco FreeBSD General 4 30th May 2009 01:49 PM
Can't Print (Fresh First Time install) BSD newb Xero FreeBSD Installation and Upgrading 4 15th February 2009 07:11 PM
How do I skip format on some partitions in a fresh install? Quaxo OpenBSD Installation and Upgrading 9 25th June 2008 07:57 PM


All times are GMT. The time now is 03:59 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick