Date: Tue, 14 Apr 2009 12:07:58 +0300 From: Andrei Brezan <andrei693@gmail.com> To: freebsd-questions@freebsd.org Cc: Adam Vande More <amvandemore@gmail.com> Subject: Re: csup vs freebsd-update Message-ID: <49E4526E.2070203@gmail.com> In-Reply-To: <49E1363C.4020205@gmail.com> References: <49E079A1.9090901@gmail.com> <49E1363C.4020205@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <andrei [at] bsoft-company.ro> www <http://www.bsoft-company.ro/>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49E4526E.2070203>