pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_summary



On Thu, 7 Jun 2007, Yury Kamiakou wrote:

> I'm trying to do binary update for my NetBSD 4.0_BETA2:
> 
> $ sudo pkg_chk -b -P
> ftp://ftp.netbsd.org/pub/pkgsrc/packages-2007Q1/NetBSD-4.0/i386/All -u -v
> Variable MAKECONF = /dev/null
> Variable PKGSRCDIR = /usr/pkgsrc (using default)
> ftp: connect to address 2001:4f8:1:c:230:48ff:fe31:43f2: No route to host
> pkg_summary.gz: No such file or directory.
> gzip: (stdin): unexpected end of file
> ftp: connect to address 2001:4f8:1:c:230:48ff:fe31:43f2: No route to host
> pkg_chk-summary: No such file or directory.
> 
> As I understand, pkg_summary.gz file is missng at this URL destination.
> Why I can't find this file?

Nobody uploaded it. Maybe it wasn't generated either.

I had a look on the FTP server.

All the package repositories under pub/NetBSD/packages/current-packages/ 
have a pkg_summary.gz file. (That's 30 choices for various operating 
systems, ports, and branches of pkgsrc.)

Of all the package repos under /pub/pkgsrc/, only 48 of 76 have 
pkg_summary.gz files. Of these 48 pkg_summary.gz files, six are also found 
in the pub/NetBSD/packages/current-packages/ directory (using null 
mounts).

I don't know if the existing pkg_summary.gz files are complete though.

(I am still confused why we have different locations on the FTP server.)

The 28 collections without any pkg_summary are:

/ftp/pub/pkgsrc/packages-2006Q2/NetBSD-2.0/sparc64
/ftp/pub/pkgsrc/packages-2006Q2/NetBSD-2.1/alpha
/ftp/pub/pkgsrc/packages-2006Q2/NetBSD-3.0/mipsel
/ftp/pub/pkgsrc/packages-2006Q3/NetBSD-2.0/sparc64
/ftp/pub/pkgsrc/packages-2006Q3/NetBSD-2.1/alpha
/ftp/pub/pkgsrc/packages-2006Q3/NetBSD-4.0/alpha
/ftp/pub/pkgsrc/packages-2006Q3/NetBSD-4.0/sparc64
/ftp/pub/pkgsrc/packages-2006Q4/NetBSD-2.0/sparc64
/ftp/pub/pkgsrc/packages-2006Q4/NetBSD-2.1/i386
/ftp/pub/pkgsrc/packages-2006Q4/NetBSD-2.1/sparc
/ftp/pub/pkgsrc/packages-2006Q4/NetBSD-3.0/mipsel
/ftp/pub/pkgsrc/packages-2006Q4/NetBSD-3.0/sparc64
/ftp/pub/pkgsrc/packages-2006Q4/NetBSD-3.1/powerpc
/ftp/pub/pkgsrc/packages-2006Q4/NetBSD-4.0/sparc64
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-2.0/sparc64
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-2.1/alpha
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-2.1/i386
/ftp/pub/pkgsrc/packages-2006Q4/NetBSD-2.1/sparc
/ftp/pub/pkgsrc/packages-2006Q4/NetBSD-3.0/mipsel
/ftp/pub/pkgsrc/packages-2006Q4/NetBSD-3.0/sparc64
/ftp/pub/pkgsrc/packages-2006Q4/NetBSD-3.1/powerpc
/ftp/pub/pkgsrc/packages-2006Q4/NetBSD-4.0/sparc64
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-2.0/sparc64
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-2.1/alpha
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-2.1/i386
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-2.1/sparc
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-3.0/alpha
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-3.0/sparc64
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-3.1/i386
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-3.1/powerpc
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-3.1/sparc
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-4.0/alpha
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-4.0/arm
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-4.0/i386
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-4.0/powerpc
/ftp/pub/pkgsrc/packages-2007Q1/NetBSD-4.0/sparc64

Should we have a cron job that checks for missing pkg_summary.gz daily?

Should we have a cron job that updates or regenerates pkg_summary.gz daily 
based on what is available in its corresponding All/ directory?


  Jeremy C. Reed



Home | Main Index | Thread Index | Old Index