apwiggins
Dabbler
- Joined
- Dec 23, 2016
- Messages
- 41
Noticed that one of my jails was complaining about missing Node.js. This led me to look at the FreeNAS host where I recently did an upgrade from 11.1U1 to 11.1U2. I don't normally poke around in the command line in FreeNAS, so just some gentle queries to find out what might be ailing this box.
Did some searching through threads and came across this one which isn't promising:
https://forums.freenas.org/index.php?threads/pkg-install-errors-in-jail.35350/
Just to be clear, the main problem seems to be with the FreeNAS host after the upgrade from 11.1U1 to 11.1U2.
Some promise:
Is there any way that I can recreate the repo-local?
Code:
root@freenas2:~ # pkg update Updating local repository catalogue... pkg: Repository local load error: access repo file(/var/db/pkg/repo-local.sqlite) failed: No such file or directory pkg: file:///usr/ports/packages/meta.txz: No such file or directory repository local has no meta file, using default settings pkg: file:///usr/ports/packages/packagesite.txz: No such file or directory Unable to update repository local Error updating repositories! root@freenas2:~ # ls /var/db/pkg local.meta local.sqlite root@freenas2:~ # uname -a FreeBSD freenas2.local 11.1-STABLE FreeBSD 11.1-STABLE #0 r321665+de6be8c8d30(freenas/11.1-stable): Tue Feb 20 02:38:09 UTC 2018
Did some searching through threads and came across this one which isn't promising:
https://forums.freenas.org/index.php?threads/pkg-install-errors-in-jail.35350/
Just to be clear, the main problem seems to be with the FreeNAS host after the upgrade from 11.1U1 to 11.1U2.
Some promise:
Code:
root@freenas2:~ # pkg info | wc -l 371
Is there any way that I can recreate the repo-local?
Last edited by a moderator: