From owner-freebsd-questions@FreeBSD.ORG Mon Jun 30 12:10:25 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 684921065679 for ; Mon, 30 Jun 2008 12:10:25 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id E45EE8FC0C for ; Mon, 30 Jun 2008 12:10:24 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so470330nfh.33 for ; Mon, 30 Jun 2008 05:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=mH4fZG0CbGEDF7V+GsN6uovgc5UNcBmLX6Gt2vjR8Qk=; b=qpzlLXDffJPegH9+/MbYT5d6B07VeED1vxV9kZ4QoK62OyXmzW5Yy1YjKyLSspyI0C 2WxXIgsvi6+PsfSIPSbFV46FX5fafaz/LWDhOjWjq5SpnRi0yNZygr4emuZ6lbI6jxzi hV2mBco4HWZ8STd/Bu9MsOrNBgGUgFHirvYoU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=n42zpDygWNuDLBIoMFa+mbXsB84xxq7mi4ixVED7KOIX+f+vc1peNFbu13lE+QB/pY ghagqObgDpoc4lVPHvP/AQj8rHs7lH6ZkeMGaNfh6//UQ4CIkNzP/E7id/BKUr/uKkaB 3VUDHp6jAGir9+sJmdNJiLNjb3d/rOS/wgNeg= Received: by 10.210.26.10 with SMTP id 10mr4128429ebz.15.1214827823845; Mon, 30 Jun 2008 05:10:23 -0700 (PDT) Received: from atlantis.dyndns.org ( [85.72.90.75]) by mx.google.com with ESMTPS id 7sm3464506nfv.32.2008.06.30.05.10.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 30 Jun 2008 05:10:19 -0700 (PDT) Message-ID: <4868CD28.3080508@gmail.com> Date: Mon, 30 Jun 2008 15:10:16 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.14 (X11/20080607) MIME-Version: 1.0 To: Victor Sudakov References: <20080630080600.GA37177@admin.sibptus.tomsk.ru> In-Reply-To: <20080630080600.GA37177@admin.sibptus.tomsk.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" 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: Mon, 30 Jun 2008 12:10:25 -0000 Victor Sudakov wrote: > Colleagues, > > 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. 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 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 (but this is only a cosmetic change, if the kernel sources have not been changed by freebsd-update). Have a look at this file: /usr/src/sys/conf/newvers.sh look at the "BRANCH" if it says "RELEASE-p2" this is what you will get if you recompile the kernel.