LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 10-05-2018, 03:08 AM   #1
mikudo
Member
 
Registered: Aug 2018
Posts: 44

Rep: Reputation: Disabled
pkg_add env variables null after reboot


https://www.linuxquestions.org/quest...reboot-716702/

https://www.gabsoftware.com/tutorial...n-openbsd-4-8/

I followed the gab tutorial and was quite pleased with how things turned up, xfce installed and runs great but after every reboot my environment PATH variables are null again.

I followed the instructions in the above LQ thread and it made no difference.

These lines are in my home/user/.profile and my root/.profile and after the first installs they appeared permanently set but now they are not.

PKG_PATH=http://ftp.openbsd.org/pub/OpenBSD/$(uname -r)/packages/$(uname -m)/
ALT_PKG_PATH=http://ftp.chg.ru/pub/OpenBSD/$(uname -r)/packages/$(uname -m)/
PKG_CACHE=/path_to_your_pkg_cache/
export PKG_PATH ALT_PKG_PATH PKG_CACHE

The echo $PKG_PATH is null and when I run pkg_add it says 'cant find package'

What is going on here?

openbsd 6 in virtualbox in ubuntu.
 
Old 10-05-2018, 04:47 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,130
Blog Entries: 5

Rep: Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186Reputation: 1186
You're following some third party blog/tutorial for an old and unsupported release of OpenBSD.

Instead read the correct documentation:

faq15

And refer to installurl(5)
 
Old 10-05-2018, 06:04 AM   #3
mikudo
Member
 
Registered: Aug 2018
Posts: 44

Original Poster
Rep: Reputation: Disabled
Thanks that is helpful. Will close. I will probably be back though lol.
 
  


Reply


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
permission denied to /dev/null in chroot env stabu Slackware 5 01-29-2015 06:29 PM
Getting env variables in X wild_oscar Linux - General 3 04-29-2007 09:49 AM
env variables AbrahamJose Solaris / OpenSolaris 4 04-18-2006 12:31 PM
env variables ekdya Debian 3 03-14-2006 01:33 PM
Open GL env.variables UB_KMA Linux - Newbie 1 08-04-2002 05:41 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 10:55 PM.

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