pkgsrc-Users archive

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

RE: Errors installing curl, was: Re: Issues installing binary packages on NetBSD 9.0 (KASLR)



Additional to this...

Pkgin see the kits

root@new106-/root: pkgin av|grep php74-bz2-7.4.3
php74-bz2-7.4.3      PHP extension for bzip2 compression

pkg_add doesn't

root@new106-/root: pkg_add php74-bz2-7.4.3
pkg_add: no pkg found for 'php74-bz2-7.4.3', sorry.
pkg_add: 1 package addition failed

I mention this because in some cases where I had the original (long - sorry)
error I reported, the package would install ok if I used pkg_add.

-----Original Message-----
From: pkgsrc-users-owner%NetBSD.org@localhost <pkgsrc-users-owner%NetBSD.org@localhost> On
Behalf Of Jonathan Perkin
Sent: Tuesday, May 12, 2020 4:35 AM
To: Ottavio Caruso <ottavio2006-usenet2012%yahoo.com@localhost>
Cc: pkgsrc-users <pkgsrc-users%netbsd.org@localhost>
Subject: Re: Errors installing curl, was: Re: Issues installing binary
packages on NetBSD 9.0 (KASLR)

* On 2020-05-12 at 09:30 BST, Ottavio Caruso wrote:

> Incidentally, on a plain vanilla NetBSD 9.0/amd64, I have a different
> set of errors, I wonder if they are related:
> 
> oc@NetBSD:/home/oc$ doas pkgin update
> processing remote summary
> (https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.0/All)...
> database for
https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.0/All
> is up-to-date
> oc@NetBSD:/home/oc$ doas pkgin install curl
> calculating dependencies...done.
> 
> 6 packages to install:
>   libunistring-0.9.10 python37-3.7.5 libxml2-2.9.10nb1 nghttp2-1.40.0
>   libidn2-2.3.0 curl-7.67.0
> 
> 0 to refresh, 0 to upgrade, 6 to install
> 30M to download, 110M to install
> 
> proceed ? [Y/n] y
> libunistring-0.9.10.tgz                       100%  581KB 581.3KB/s
00:01
> download error: libunistring-0.9.10 size does not match pkg_summary

This indicates that the package repository is not being atomically
updated.  Doing so is critical to ensure that the repository is
consistent and to avoid such errors.

It's not necessarily related, but it is another clear issue with this
repository that should be fixed.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com



Home | Main Index | Thread Index | Old Index