Problem with pkg

Domagoj Stolfa domagoj.stolfa at gmail.com
Mon Feb 27 14:38:01 UTC 2017


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 at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20170227/281c5096/attachment.sig>


More information about the freebsd-current mailing list