hi, I think, I do not understand, how to update (security/bugfixes) my 8.2 machines :-) I searched a lot and tried, what I have found in the docs, but I had trouble ... What I have done (one thing was working, but didn't know, if it is correct): From the Docs: # /usr/sbin/freebsd-update fetch Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching public key from update4.FreeBSD.org... failed. Fetching public key from update2.FreeBSD.org... failed. Fetching public key from update5.FreeBSD.org... failed. Fetching public key from update3.FreeBSD.org... failed. No mirrors remaining, giving up. Other docs: # portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap2.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Tue Sep 13 12:54:18 CEST 2011 to Thu Sep 29 17:30:27 CEST 2011. Fetching 3 metadata patches.. done. Applying metadata patches... done. Fetching 3 metadata files... done. Fetching 3679 patches.....10....20....30....40.... (a lot of output) # portsnap extract pkg_add -r portmanager portmanager -u [...] my problem is especial, that portmanager asks me a lot, like "Include support for X" or opengl, LaTeX ... questions I don't want. My problem is now, that I have now a lot of programs installed, on a ISCSI target only machine. I want something like Debian with "apt-get update && apt-get upgrade" So I'm sure that I have done something in a wrong way. I also know, that I can use /etc/make.conf: WITHOUT_X11=yes USE_NONDEFAULT_X11BASE=yes [...] but, is this needed to _keep_ a minimal system? cu denny
On Thu, Sep 29, 2011 at 9:02 AM, Denny Schierz <linuxmail@4lin.net> wrote:> I think, I do not understand, how to update (security/bugfixes) my 8.2 > machines :-) I searched a lot and tried, what I have found in the docs, but > I had trouble ... > > What I have done (one thing was working, but didn't know, if it is > correct): > >Updating FreeBSD is done is two separate processes, which can be done independently of one another. There is a clear separation between "the base FreeBSD OS" and "third-party apps installed on top". This is something that is missing in the land of the penguin, and tends to trip people up as they switch between FreeBSD and Linux (in either direction). To do a binary upgrade of the base OS, you use freebsd-update: # freebsd-update fetch # freebsd-update update See the freebsd-update man page for more details and options. That updates only the base OS (stuff under / and /usr; it does not touch anything under /usr/local). There are several different ways to update your installed third-party software (stuff installed via either pkg_add or the ports tree), depending on whether or not you want to compile software. Since you want have a Debian-like experience, then you want to install via binary packages as much as possible. See the man page for pkg_add for information on doing the initial install of software, including remotely fetching software (this would be similar to "apt-get install" without any upgrade support). A nice tool for handling upgrades of binary packages, using only binary packages, is pkg_upgrade. This is part of the bsdadminscripts package, so you'll need to install that first. Using pkg_add and pkg_upgrade, you do not even need to install the ports tree (and can even "rm -rf /usr/ports/*"). That's about as close to a Debian-like experience as you'll get. -- Freddie Cash fjwcash@gmail.com
Am 29.09.2011 um 18:35 schrieb Freddie Cash:> To do a binary upgrade of the base OS, you use freebsd-update: > # freebsd-update fetch > # freebsd-update updateThat was the first, what I have found, but I get only errors: # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching public key from update4.FreeBSD.org... failed. Fetching public key from update5.FreeBSD.org... failed. Fetching public key from update2.FreeBSD.org... failed. Fetching public key from update3.FreeBSD.org... failed. No mirrors remaining, giving up. There was also no solution for this problem. I think it has something to do with the release I run: 8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Jul 7 13:20:14 CEST 2011 and freebsd-updated wants to fetch GPG files, without success. cu denny
Hi, On 9/29/11 1:45 PM, Denny Schierz wrote:> # freebsd-update fetch > Looking up update.FreeBSD.org mirrors... 4 mirrors found. > Fetching public key from update4.FreeBSD.org... failed. > Fetching public key from update5.FreeBSD.org... failed. > Fetching public key from update2.FreeBSD.org... failed. > Fetching public key from update3.FreeBSD.org... failed. > No mirrors remaining, giving up. > > > There was also no solution for this problem. I think it has something to do with the release I run: > > 8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Jul 7 13:20:14 CEST 2011 >This is indeed correct. freebsd-update(8) does not provide binary updates for the -STABLE branches (outside of -RC release candidates occasionally). Regards, Glen -- Glen Barber