Friday, July 01, 2005

NetBSD updating pkgsrc

I wrote about pkgsrc in this entry called NetBSD checking the currently installed packages. Since this blog acts as a notepad for me, too, here are the shocking details about the whole update via CVS thing:
We want to make sure the traffic is encrypted, means if we are using csh, we should do
setenv CVS_RSH ssh
either on the command-line or in one of the initialization files like .cshrc or .login, etc. You get the idea. Then we have to change the current working directory to the location of the pkgsrc
cd /usr/pkgsrc
and issue
cvs -q update -dP
I do not use the -q switch (quiet) by the way, I prefer to see exactly what is going on, this may slow the processing down, though.