From owner-freebsd-stable@FreeBSD.ORG Thu Sep 29 16:58:51 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72A87106564A for ; Thu, 29 Sep 2011 16:58:51 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2ADB48FC1E for ; Thu, 29 Sep 2011 16:58:50 +0000 (UTC) Received: by vws11 with SMTP id 11so913221vws.13 for ; Thu, 29 Sep 2011 09:58:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/N8jNekufD1x5YmfkSJI6vLSOylGQv1fZBmbNquG1gw=; b=LgAsMceWjZA4f2N3+7Js6+6x74b4n8jyXpl200PPZbVx8RNXS+QBcJdOaJNYtdBLH0 JuyQ6SckhW+xbXgL3RBJDU6uynU/fZfrtzP36lOoxLxiHBGokqiYR9jAB4qwPrLoaST2 xF58Q1/RQT5hb5HC0JYRGljsAtTer89d7qacU= MIME-Version: 1.0 Received: by 10.52.29.103 with SMTP id j7mr10514574vdh.235.1317314134075; Thu, 29 Sep 2011 09:35:34 -0700 (PDT) Received: by 10.220.186.196 with HTTP; Thu, 29 Sep 2011 09:35:34 -0700 (PDT) In-Reply-To: References: Date: Thu, 29 Sep 2011 09:35:34 -0700 Message-ID: From: Freddie Cash To: Denny Schierz Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: How to update like Debian X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2011 16:58:51 -0000 On Thu, Sep 29, 2011 at 9:02 AM, Denny Schierz 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