pkgsrc-Users archive

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

pkg_add SSL Authentication error, was: Errors installing curl



On Tue, 12 May 2020 at 09:34, Jonathan Perkin <jperkin%joyent.com@localhost> wrote:
>
> * 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.
>

Incidentally, I get an SSL Authentication error when using pkg_add:

# pkg_add curl                                                 <
126347515951104:error:1416D108:SSL
routines:tls_process_key_exchange:wrong signature
length:/usr/src/crypto/external/bsd/openssl/dist/:
pkg_add: Can't process
https://cdn.netbsd.org:443/pub/pkgsrc/packages/NetBSD/amd64/9.0/All//curl*:
Authentication error
pkg_add: no pkg found for 'curl', sorry.
pkg_add: 1 package addition failed




-- 
Ottavio Caruso


Home | Main Index | Thread Index | Old Index