NetBSD-Users archive

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

Re: pkgin error (possible workaround)



Thanks for the report.

On Thu, May 21, 2020 at 12:38 PM Greg Troxel <gdt%lexort.com@localhost> wrote:
>
> Lars-Johan Liman <liman%netnod.se@localhost> writes:
>
> > I've found that the x86_64 and amd64 directories seem to be out of sync
> > on cdn.netbsd.org. In short, pkg_summary seems to be updated in x86_64
> > but not in amd64. For me the following simple workaround worked:
>
> Thanks for the specific report.
>
> > I modified the repository pointer in
> >
> > /usr/pkg/etc/pkgin/repositories.conf
> >
> > from:
> >
> > http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.0/All
> >
> > to:
> >
> > http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/9.0/All
>
> amd64 is the name of the port, which is about specific hardware aas well
> as the instruction set, and packages are generally shared among all
> ports with the same instruction set and ABI.   So arguably x86_64 is
> preferred anyway -- even if x86_64 appears only on the amd64 port!
>
> For your info, on ftp.netbsd.org, in /pub/pkgsrc/packages/NetBSD, doing
> ls -l (and skipping the other lines) one gets:
>
>   lrwxrwxr-x   1 joerg     netbsd     6 May 28  2008 amd64 -> x86_64
>   drwxrwxr-x  16 pkgmastr  netbsd  1024 May 15 02:57 x86_64
>
> I can confirm the bad behavior.  Fetching
>
>    wget http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.0/All/pkg_summary.bz2
>    wget http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/9.0/All/pkg_summary.bz2
>
> I get the following: (.1 is 2nd fetch):
>
>   -rw-r--r--  1 gdt  users    3270343 May 17 16:03 pkg_summary.bz2
>   -rw-r--r--  1 gdt  users    3258465 May 21 10:54 pkg_summary.bz2.1


Home | Main Index | Thread Index | Old Index