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 6th February 2016
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default PKG_PATH change in Current

This morning I attempted to update my amd64-current system and my usual update sequence revealed a change.
Code:
Heffalump$ cat .profile
# $OpenBSD: dot.profile,v 1.4 2005/02/16 06:56:57 matthieu Exp $
#
# sh/ksh initialization

PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
PKG_PATH=http://ftp.fr.openbsd.org/pub/OpenBSD/snapshots/packages/amd64
#PKG_PATH=/home/jsh/Downloads
PS1='\h\$ '
TERM="rxvt-256color"
MPD_HOST=${HOME}/.mpd/socket
ulimit -d 4096000
Code:
# pkg_add -u
Error from http://ftp.fr.openbsd.org/pub/OpenBSD/5.9/packages/amd64/
ftp: Error retrieving file: 404 Not Found
http://ftp.fr.openbsd.org/pub/OpenBSD/5.9/packages/amd64/ is empty
I think I can work around this by exporting the path as set in my .profile but I am wondering what changes have been implemented and if there are any recommendations about package updating during the beta phase.
Reply With Quote
  #2   (View Single Post)  
Old 6th February 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

The change is the usual release engineering step as the transition to 5.9-release begins. Yes, you can edit pkg.conf(5) or use a PKG_PATH variable temporarily. Once the new release is tagged, and development picks up again, you won't have this issue. Until 6.0 release engineering begins.
Reply With Quote
  #3   (View Single Post)  
Old 6th February 2016
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default

I should have been more specific. I had the snapshot PKG_PATH defined in my user profile. An xterm opened as user -> su -> pkg_add -u returned the 5.9 package path. My past recollection is that my xterm has always respected my profile settings.
Code:
Heffalump$ echo $PKG_PATH
http://ftp.fr.openbsd.org/pub/OpenBSD/snapshots/packages/amd64
Heffalump$ su
Password:
# pkg_add -u
Error from http://ftp.fr.openbsd.org/pub/OpenBSD/5.9/packages/amd64/
ftp: Error retrieving file: 404 Not Found
http://ftp.fr.openbsd.org/pub/OpenBSD/5.9/packages/amd64/ is empty
Never Mind - there was a mangled "export" line in my .profile

Last edited by shep; 6th February 2016 at 09:03 PM. Reason: Found mangled "export" line in .profile
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
export PKG_PATH betweendayandnight OpenBSD General 4 9th August 2015 12:07 PM
can't setup PKG_PATH after install of 5.5 spermwhale_warrior OpenBSD Packages and Ports 10 26th August 2014 09:29 PM
What is the PKG_PATH for NetBSD 6.0.1 Binary Installs? haziz NetBSD General 9 19th March 2013 01:12 AM
"No package available in the PKG_PATH" error Nk2Network OpenBSD Packages and Ports 19 12th January 2009 09:22 PM


All times are GMT. The time now is 02:38 PM.


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