From owner-freebsd-questions@FreeBSD.ORG Tue Apr 14 09:08:05 2009 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 AF66D106564A for ; Tue, 14 Apr 2009 09:08:05 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 658ED8FC12 for ; Tue, 14 Apr 2009 09:08:05 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so1457459ywh.13 for ; Tue, 14 Apr 2009 02:08:04 -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=FYB+cosxpXBcVK4c/1le4eXvwQOPOgE2whdcbYAyyPY=; b=jDjaDivEDsbFm2x3keRgTjocrvdNP3L6+WgbNFU29JGFA4erSWlIfztrrvh5CF2L/6 17yjiQi6r/sS9zAcsUQVVfqt+QOcmYcL+79v8oiL4zJAgjzRwtykmO/dB8gSrEaoatcq FgX3TwdcOsf7B65xqAF2Yms1KE/UkyV/FpATI= 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=QK4kNfk3wBsTo2EE054plG3spBvMKbDeq/ixuEDJ/X5ytit86XFg4sjV9+55qxvy2D CrJg/5MKL9IIfb5sQ1a6GFk3pEi4lSzhCMeDZtxUBSA9Gg72rJAoMKtulJAX8GBjsAwI jrOl/tFCEj2kppnXwbx4ChSmk0KcLvMYeiqQc= Received: by 10.100.154.17 with SMTP id b17mr5724583ane.143.1239700083055; Tue, 14 Apr 2009 02:08:03 -0700 (PDT) Received: from ?192.168.1.100? ([81.196.94.69]) by mx.google.com with ESMTPS id 5sm6800842ywd.40.2009.04.14.02.08.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 14 Apr 2009 02:08:01 -0700 (PDT) Message-ID: <49E4526E.2070203@gmail.com> Date: Tue, 14 Apr 2009 12:07:58 +0300 From: Andrei Brezan User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <49E079A1.9090901@gmail.com> <49E1363C.4020205@gmail.com> In-Reply-To: <49E1363C.4020205@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Adam Vande More Subject: Re: csup vs freebsd-update 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, 14 Apr 2009 09:08:06 -0000 Adam Vande More wrote: > Andrei Brezan wrote: >> Hi all, >> >> I have a strange problem with csup and freebsd-update. I'm using >> 7.0-RELEASE-p11. If i do: >> >> # freebsd-update fetch >> Looking up update.FreeBSD.org mirrors... 2 mirrors found. >> Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... >> done. >> Fetching metadata index... done. >> Inspecting system... done. >> Preparing to download files... done. >> >> No updates needed to update system to 7.0-RELEASE-p11. >> >> All seems ok, i'm up to date. >> >> But if i do: >> # csup -L 2 ./standard-supfile >> Parsing supfile "./standard-supfile" >> Connecting to cvsup.hu.FreeBSD.org >> Connected to 193.6.222.7 >> Server software version: SNAP_16_1h >> Negotiating file attribute support >> Exchanging collection information >> Establishing multiplexed-mode data connection >> Running >> Updating collection src-all/cvs >> Checkout src/contrib/lukemftpd/src/ftpd.c >> Checkout src/contrib/telnet/telnetd/sys_term.c >> Checkout src/libexec/ftpd/extern.h >> Checkout src/libexec/ftpd/ftpcmd.y >> Checkout src/libexec/ftpd/ftpd.c >> Checkout src/sys/amd64/amd64/exception.S >> Checkout src/sys/conf/newvers.sh >> Checkout src/sys/dev/random/randomdev.c >> Checkout src/sys/dev/random/randomdev_soft.c >> Checkout src/sys/kern/kern_environment.c >> Checkout src/sys/kern/kern_time.c >> Checkout src/sys/kern/uipc_domain.c >> Checkout src/sys/kern/vfs_mount.c >> Checkout src/sys/netinet/tcp.h >> Checkout src/sys/netinet/tcp_output.c >> Checkout src/sys/netinet6/icmp6.c >> Checkout src/sys/netinet6/in6.h >> Checkout src/sys/netinet6/in6_proto.c >> Checkout src/sys/netinet6/nd6.h >> Checkout src/sys/netinet6/nd6_nbr.c >> Shutting down connection to server >> Finished successfully >> >> ./standard supfile is: >> *default host=cvsup.hu.FreeBSD.org >> *default base=/var/db >> *default prefix=/usr >> >> *default release=cvs tag=RELENG_7_0 >> *default delete use-rel-suffix >> >> *default compress >> >> src-all >> >> >> If i do again a freebsd-update i get: >> # freebsd-update fetch install >> Looking up update.FreeBSD.org mirrors... 2 mirrors found. >> Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org... >> done. >> Fetching metadata index... done. >> Inspecting system... done. >> Preparing to download files... done. >> >> The following files will be updated as part of updating to >> 7.0-RELEASE-p11: >> /usr/src/contrib/lukemftpd/src/ftpd.c >> /usr/src/contrib/telnet/telnetd/sys_term.c >> /usr/src/libexec/ftpd/extern.h >> /usr/src/libexec/ftpd/ftpcmd.y >> /usr/src/libexec/ftpd/ftpd.c >> /usr/src/sys/amd64/amd64/exception.S >> /usr/src/sys/conf/newvers.sh >> /usr/src/sys/dev/random/randomdev.c >> /usr/src/sys/dev/random/randomdev_soft.c >> /usr/src/sys/kern/kern_environment.c >> /usr/src/sys/kern/kern_time.c >> /usr/src/sys/kern/uipc_domain.c >> /usr/src/sys/kern/vfs_mount.c >> /usr/src/sys/netinet/tcp.h >> /usr/src/sys/netinet/tcp_output.c >> /usr/src/sys/netinet6/icmp6.c >> /usr/src/sys/netinet6/in6.h >> /usr/src/sys/netinet6/in6_proto.c >> /usr/src/sys/netinet6/nd6.h >> /usr/src/sys/netinet6/nd6_nbr.c >> Installing updates... done. >> >> >> I know freebs-update is getting the correct files for release 7.0, but i >> don't understand where i go wrong with csup. If anyone can point the >> obvious that i can't see here please do. >> >> Thank you, >> > I'm not entirely clear what you're trying to do, but freebsd-update is a > binary upgrade utility and cvsup is source based. perhaps csup is > borking w/ how freebsd-update is verifying the files to update. > however, you should use one or the other not both. I only use csup when > doing a major upgrade eg 7.0 -> 7.1 and doing a buildworld. > freebsd-update keeps me up to date on latest patchset. > I'm not doing this on a regular basis, i'm using freebsd-update for updates and csup for version changes also. But i thought that csup with tag=RELENG_7_0 should keep me up to date with sources too. -- Andrei Brezan 310280 Arad - Romania mobile <+40 740 089 315> email www