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 2nd October 2023
nevils1 nevils1 is offline
New User
 
Join Date: Feb 2023
Posts: 6
Default OpenBSD thinks it's v7.4

I'm not sure what I did wrong but I ran sysupgrade and then sysupdate and pkg_add -u wouldn't work.

I'm getting errors because it reports as v7.4

Is there a file somewhere that I can edit to change the 7.4 to 7.3?

Or, is there a way to force a reinstall of 7.3 that will reset anything that thinks it's 7.4?

Thanks
Reply With Quote
  #2   (View Single Post)  
Old 2nd October 2023
nevils1 nevils1 is offline
New User
 
Join Date: Feb 2023
Posts: 6
Default

I'm caught in the 7.4 mess and
Quote:
doas pkg_add -D snap
tries, and fails, to upgrade to 7.5 ...

I read elsewhere to set PKG_PATH in the environment to something like http://some.mirror/pub/OpenBSD/snapshots/packages/%a/ Would I put this in /etc/installurl ?

I've tried It would be cool if I could back up to 7.3 but I can't find any instructions to do that. (It had been some months since I touched the machine so I just ran sysupdate before trying to work on the project. BTW: There's nothing on it that I need to save.)

Thanks!
Reply With Quote
  #3   (View Single Post)  
Old 2nd October 2023
blackhole's Avatar
blackhole blackhole is offline
Spam Deminer
 
Join Date: Mar 2014
Posts: 324
Default

Quote:
Originally Posted by nevils1 View Post
I'm not sure what I did wrong but I ran sysupgrade
So you upgraded to a snapshot or 7.4, which means you're now running -current, which will be released as 7.4 stable some time this month. So you may as well stay with 7.4.

Refer to pkg_add(1), syspatch(8) and sysupgrade(8), you seem to misunderstand their purpose.

You need to correctly format your installurl(5) and choose a mirror:

https://www.openbsd.org/ftp.html
Reply With Quote
  #4   (View Single Post)  
Old 2nd October 2023
nevils1 nevils1 is offline
New User
 
Join Date: Feb 2023
Posts: 6
Default

https://www.openbsd.org/ftp.html is where I found the several mirrors that I tried - so far, none of them works.

I read about the three pkg_add(1), syspatch(8) and sysupgrade(8) and had notes from my original install and subsequent (trouble free) upgrades.

I've very new to OpenBSD, coming from a long time with Linux, so there are lots of little differences that mess me up. I'm trying to learn ...

I guess, for now, I'll just try to use things as they sit (hoping for no problems) then see about 'stable' when it arrives.

Thanks.

Last edited by ocicat; 2nd October 2023 at 07:59 PM. Reason: Fixes broken URL.
Reply With Quote
Reply


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
Frostwire thinks it's behind a firewall DrumScum FreeBSD Ports and Packages 3 23rd February 2009 08:37 PM


All times are GMT. The time now is 07:17 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