sharon dvir <bpmcont...@gmail.com> writes:

> hello, i couldnt find an easy way to keep my packages updated with new
> versions out of the repositories.

I tend to keep the following line in my ~/.profile

export PKG_PATH=http://ftp.eu.openbsd.org/pub/OpenBSD/snapshots/packages/`uname 
-m`/

(which you really should adjust to look at an appropriate mirror and
perhaps use `uname -r` to automagically select your release is if you're
not running snapshost) and then do a

$ sudo pkg_add -vui 

every now and then.

Assuming you trust the mirror, this will give you updates relevant to
the release you're running.  

For learning about the OpenBSD packages system, the canonical way to
start is to read http://www.openbsd.org/faq/faq15.html and relevant man
pages.

My own take on keeping OpenBSD systems reasonably up to date can be
found at 
http://bsdly.blogspot.no/2012/07/keeping-your-openbsd-system-in-trim.html
(a "works for me" guide).

- Peter

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Reply via email to