Re: pkg upgrade error after system failure
cadavo at mail.ru
Mon Nov 11 06:13:35 PST 2019
The first way works!
I moved and copied the cert files as you said and then copied old (corrupted) local.sqlite to /var/db/pkg and started pkg upgrade -f. The process in progress now and works as it should.
Thanks a lot.
>Понедельник, 11 ноября 2019, 15:47 +03:00 от Rimvydas Jasinskas <rimvydasjas at gmail.com>:
>You are getting ssl error at ssl_clnt.c:1121 if any of the
>/etc/ssl/cert.pem /usr/local/etc/ssl/cert.pem are corrupted or both
>Something is damaged after force shutdown in your base. Try this:
># mv /etc/ssl/cert.pem /etc/ssl/cert.pem.orig
># mv /usr/local/etc/ssl/cert.pem /usr/local/etc/ssl/cert.pem.orig
># cp /usr/share/examples/etc/ssl/cert.pem /etc/ssl/cert.pem
>If that doesn't work, then as last resort you could disable SSL
>certificate verification (depending on shell you are using):
># setenv SSL_NO_VERIFY_PEER yes
># export SSL_NO_VERIFY_PEER=yes
>I hope this helps. Just in case I recommend to rebuild and reinstall
>both world and kernel.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users