Re[4]: pkg upgrade error after system failure

Ilia Gorstkine cadavo at mail.ru
Mon Nov 11 06:13:35 PST 2019


Rimvydas,
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>:
>
>Ilia,
>
>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
>are missing.
>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.
>
>Best regards,
>Rimvydas


-- 
Ilia Gorstkine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20191111/ecd232c2/attachment.htm>


More information about the Users mailing list