From owner-freebsd-questions@FreeBSD.ORG Tue Jul 1 05:57:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D72FA106564A for ; Tue, 1 Jul 2008 05:57:54 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id 2F9FC8FC22 for ; Tue, 1 Jul 2008 05:57:53 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.91.2 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.13) with ESMTPSA id 10283854 for freebsd-questions@freebsd.org; Tue, 01 Jul 2008 12:57:51 +0700 Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.13.6/8.13.6/Submit) id m615vonC066359 for freebsd-questions@freebsd.org; Tue, 1 Jul 2008 12:57:50 +0700 (OMSST) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Tue, 1 Jul 2008 12:57:50 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20080701055750.GA66331@admin.sibptus.tomsk.ru> Mail-Followup-To: Victor Sudakov , freebsd-questions@freebsd.org References: <20080630080600.GA37177@admin.sibptus.tomsk.ru> <4868CD28.3080508@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4868CD28.3080508@gmail.com> User-Agent: Mutt/1.4.2.1i Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://vas.tomsk.ru/vas.asc Subject: Re: Using freebsd-update after upgrading from source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2008 05:57:54 -0000 Manolis Kiagias wrote: > > > >I have been updating 6.2-RELEASE with freebsd-update. Recently I > >upgraded it to RELENG_6_3 from source. Can I continue using > >freebsd-update or must I upgrade only from source from now on? > > > > > > I don't see why not. I was wondering if freebsd-update will break if my binaries happen to be different from those in the official release. > freebsd-update will download binary updates to the > system as well as the relevant sources for them (look at > /etc/freebsd-update.conf to verify). I don't update sources with freebsd-update. I mount them from an NFS server running cvsup. > > >I conducted an experiment and got inconclusive results. I had upgraded > >to RELENG_6_3-p2 where the problems with libpthread and ssh are > >already fixed. However, when I ran freebsd-update, it did replace > >libpthread and libssh. It also replaced the kernel, downgrading it > >from 6.3-RELEASE-p2 to 6.3-RELEASE-p1! > > > > Don't be so sure. If you are running a GENERIC kernel, freebsd-update > simply downloaded the latest. If -p2 did not have any kernel updates (it > did not IIRC) you got the kernel for -p1. The fact it replaced your > GENERIC (which had a -p2 deisgnation in uname) is probably because this > was compiled on your system so freebsd-update did not recognize the > version. These two should be functionally identical. In fact if you just > recompile the kernel now, it will report -p2 If i recompile GENERIC now, freebsd-update will suggest updating it again and again P.S. I know that freebsd-update will leave the kernel alone if "uname -i" is not GENERIC|SMP, but my question is more generic. How well can freebsd-update handle a system compiled from source? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru