Subject: Re: pkg/32440: newly expanded pkgsrc on newly installed 3.0 doesn't
To: Anne Bennett <anne@porcupine.montreal.qc.ca>
From: Dennis den Brok <d.den.brok@gmx.net>
List: pkgsrc-bugs
Date: 01/03/2006 11:12:35
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Try ftp://ftp.netbsd.org/pub/pkgsrc/2005Q4 (and there, according to the
modification time of the file, pkgsrc.tar.gz; use your CVS command from
below in order to get a tree that ain't "a bit behind", it should just
work then). Yes, this should be documented. I guess if there were a WIKI
on netbsd.org this would have long since been accomplished, to join a
discussion on another mailing list. ;-)

Cheers,

Dennis den Brok


Anne Bennett schrieb:
> I'm trying to find the corresponding source tarball, but
> ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc-2005Q4 seems to
> contains just the binary package distributions for (some of) the
> various ports, as opposed to pkgsrc-current (and its tarball
> pkgsrc-current.tar.gz), which contains the source tree that I am
> looking for.
> 
> I humbly suggest that it would be less confusing for people if
> /pub/NetBSD/packages/pkgsrc-yyyyQn and /pub/NetBSD/packages/pkgsrc-current
> referred to the same kind of thing, that is, all source tarballs
> or all binary distributions.  Where *can* I get a pkgsrc-2005Q4
> tarball, anyway?  I have looked through the web site documentation
> fairly carefully, and remain in the dark.
> 
> For now, in the absence of a 2005Q4 source tarball, I shall try
> instead to get a newer pkgsrc via cvs, as suggested by wiz, who
> points out that "the tarballs are a bit behind".  This requires
> learning to use cvs, which according to the documentation involves
> simply:
> 
>   # cd /usr/pkgsrc
>   # cvs -q update -dP
> 
> but when I try this, I get:
> 
>   cvs update: in directory inputmethod/canna-server-bin:
>   cvs update: cannot read CVS/Root: No such file or directory
>   cvs update: please correct this problem
>   cvs update: in directory inputmethod/canna-server-bin:
>   cvs [update aborted]: cannot read CVS/Repository: No such file or directory
> 
> Trying again with "-t" instead of "-q" produces massive output until:
> 
>   S-> xCVS_CHDIR /tmp/xvs-serv24470/ham/tfkiss/files
>   select: Bad file descriptor
> 
> Examining the allegedly faulty directory, I see:
> 
>   # ls -l inputmethod/canna-server-bin/CVS
>   -rw-rw-r--  1 root  wheel  0 Dec 29 02:08 Entries
>   -rw-rw-r--  1 root  wheel  0 Dec 29 02:08 Repository
>   -rw-rw-r--  1 root  wheel  0 Dec 29 02:08 Root
> 
> ... which looks pretty useless, so I removed the directory
> "inputmethod/canna-server-bin" and repeated "cvs -q update -dP".
> I ran into the same problem with "inputmethod/canuum", which also 
> contained a bunch of empty files in CVS/.  
> 
>   # ls -l */*/CVS/Repository | grep " 0 " 
> ... revealed 248 more likely bad packages, which I removed from my
> tree, then re-ran the update.  Oops, there are some bad
> subdirectories.  Let's try this instead:
> 
>   # find . -path CVS/Repository -size 0c -print
> ... OK, this whole tree is too corrupt to use.  I have removed it, and
> am using CVS to repopulate to it.  It seems to be working.
> 
> With luck tomorrow evening I will be able to install packages.  :-)
> 
> 
> Anne.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDuk4T6bcd7Ldw0wURAhS7AKDscsGQ/yJc/Om3kqFHwp0gozkYMACcDh9i
467+H0JI6Dbz/19Mv7ydE7o=
=rsTk
-----END PGP SIGNATURE-----