Having the same issues, even after numerous attempts to manually fix it.

-- 
Best regards,
Domagoj Stolfa

On Mon, Feb 27, 2017 at 11:34:34PM +0900, Tomoya Tabuchi wrote:
> On Mon, Feb 27, 2017 at 01:02:23PM +0000, Filippo Moretti wrote:
> > After a blackout caused by my wife I only get a few pkg shown with the 
> > command pkg info while they should be hundreds.I also get this error 
> > message when trying to install packages by pkg installpkg: Repository 
> > FreeBSD load error: access repo file(/var/db/pkg/repo-FreeBSD.sqlite) 
> > failed: No such file or directory(I do have a file name local.sqlite)Is 
> > there a way to recover the pkg database or should I reinstall the OS.Filippo
> > 
> > 
> > _______________________________________________
> > freebsd-current@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> 
> Hello,
> 
> I have a similar problem.
> pkg(8) tells me to do a `pkg update', and when I do that I get the following.
> 
> Updating FreeBSD repository catalogue...
> pkg: Repository FreeBSD load error: access repo
> file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory
> meta.txz                                 : 100%  944 B     0.9kB/s
> 00:01    
> packagesite.txz                          : 100%    6 MiB 986.3kB/s
> 00:06    
> pkg: rsa verify failed: error:04091077:rsa routines:INT_RSA_VERIFY:wrong
> signature length
> pkg: No trusted certificate has been used to sign the repository
> Unable to update repository FreeBSD
> Error updating repositories!
> 
> I am on r314247 and the version of pkg(8) is 1.10.0.
> 
> Tomoya
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Attachment: signature.asc
Description: PGP signature

Reply via email to