DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd May 2020
stanl stanl is offline
Real Name: Stan
Fdisk Soldier
 
Join Date: Jun 2019
Posts: 65
Default Updating package

I've read the faq about following current and about ports and there is still something that confuses me. So, at the risk of displaying my ignorance:

You're following -current and you've got package-1.0 installed.
Now package-1.1 is available.
You do sysupgrade -s
pkg_add -u

Do you now have package-1.1 or does this involve having to deal with CVS and ports?

Thanks
Reply With Quote
  #2   (View Single Post)  
Old 23rd May 2020
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,062
Default

If you're using installurl(5) and one of the architectures for which the Project maintains snapshot packages, you only need pkg_add(1).

Note that the snapshots and snapshot packages may not be in sync, as they are built at different cadences. In the event libraries or other dependencies are out-of-sync, pkg_add(1) will not update affected packages. The general guidance is to wait a day or two and try again. If the matter is urgent, *then* you can consider building the updated package from the ports tree.

If you're running an architecture that does not have snapshot packages available, the ports tree must be used.
Reply With Quote
  #3   (View Single Post)  
Old 24th May 2020
stanl stanl is offline
Real Name: Stan
Fdisk Soldier
 
Join Date: Jun 2019
Posts: 65
Default

So, if I understand you correctly, as long as I'm running -current and occassionally running sysupgrade -s and pkg_add -u I should be fine as far as updating packages goes. There is no need for me to mess around with CVS and a current ports tree.

Thanks,jggimi
Reply With Quote
  #4   (View Single Post)  
Old 25th May 2020
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,062
Default

Yep.

And if you ever want the ports tree without CVS, you can download the ports.tar.gz tarball from <mirror>/pub/OpenBSD/snapshots/, or clone the Project's github mirror.
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
Updating Bootloader shep OpenBSD Installation and Upgrading 2 27th February 2013 01:42 AM
Updating tint2 port/package shep OpenBSD Packages and Ports 3 3rd February 2013 10:16 PM
patching or updating ? dennky OpenBSD Installation and Upgrading 12 14th January 2010 07:17 PM
/usr became full while updating via cvs IronForge OpenBSD Installation and Upgrading 3 6th January 2010 01:08 PM
Updating FreeBSD carpman FreeBSD Installation and Upgrading 6 26th October 2008 11:49 AM


All times are GMT. The time now is 05:24 PM.


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