PDA

View Full Version : [Solved] Problem with CVSup


lvac
December 16th, 2009, 07:10
http://preview.shareapic.net/preview6/020611490.jpg (http://www.shareapic.net/View-20611490-VTTC.html)
I live in Vietnam, this is the ports-supfile:
http://c.upanh.com/uploads/13-Dec-2009/xbszzgrh7yeig7pyphci.jpg
After rebooting, I entered these commands:

#cd /root
#cvsup -g -L 2 ports-supfile

But an error message always appear:
http://c.upanh.com/uploads/13-Dec-2009/ru3y0598yq7ghgnv2.jpg
I tried changing host information in the ports-supfile to Philippine mirror: cvsup1.ph.freebsd.org (Philippine is near my country). However, a error message also appear (similar to the preceding error message).

SirDice
December 16th, 2009, 11:03
Make sure DNS is properly setup. Have a look at /etc/resolv.conf.

DutchDaemon
December 16th, 2009, 11:58
And also have a look at portsnap.

Nirbo
December 17th, 2009, 22:51
Kind of looks like VirtualBox doesn't have a driver for the network adapter FreeBSD is trying to use. Try switching the adapter settings in the network section of your virtual machine.

Also, CVS is better done with the built in csup tool (cvsup is a pain in comparison for simply updating src/ports)

And thirdly, sysutils/fastest-cvsup is a port that pings CVSup servers so you can find the one with the best latency for you.

sixtydoses
December 18th, 2009, 00:11
If you're doing csup for ports, your tag should be current, and not RELENG_8_0.

LateNiteTV
December 18th, 2009, 00:14
just use portsnap for ports like DutchDaemon suggested. much much much faster than csup.

zeiz
December 20th, 2009, 02:00
The error was in command, cvsup doesn't work, csup does :)
so csup -L 2 /root/ports-supfile should work.
however portsnap indeed is more convenient.
portsnap fetch extract - for the first time then just
portsnap fetch update

Nirbo
December 20th, 2009, 07:55
The error was in command, cvsup doesn't work, csup does :)
so csup -L 2 /root/ports-supfile should work.

Command would work both ways (since both programs have -L as their verbosity flag), but only with cvsup installed. But for the average end user, csup is waaaaay better.

I remember compiling cvsup-without-gui. It sucked.

FreeBSD has been doing great at replacing a few of the more annoying tools and getting most of the important tools to only have dependencies in the base. If only we could someday have a BSD licensed compiler or graphical server :P

dennylin93
December 20th, 2009, 13:43
If only we could someday have a BSD licensed compiler or graphical server :P

Clang might replace GCC in the future :). Servers with GUIs don't really appeal to me though.

zeiz
December 20th, 2009, 23:59
but only with cvsup installed
of course...:)
If only we could someday have a BSD licensed compiler or graphical server
+1
Servers with GUIs don't really appeal to me though
I got it as graphical server = ~Xorg but not equal "server with GUI"