Re: possible problem with pkg in FreeBSD11.4-BETA2
Hi! > This might be due to cockpit error, but I don't remember the exact history > of this machine. I have a test machine that was running 11.3-RELEASE, and > had been upgraded with freebsd-update. I upgraded it to 11.4-BETA1 last > week, and BETA2 this weekend. Then I tried "pkg upgrade" and got an > error: Use pkg bootstrap -f There's some hickup in the upgrade path between your version and the most current, so... -- p...@opsec.eu+49 171 3101372Now what ? ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
possible problem with pkg in FreeBSD11.4-BETA2
This might be due to cockpit error, but I don't remember the exact history of this machine. I have a test machine that was running 11.3-RELEASE, and had been upgraded with freebsd-update. I upgraded it to 11.4-BETA1 last week, and BETA2 this weekend. Then I tried "pkg upgrade" and got an error: vmguest2# pkg upgrade Updating FreeBSD repository catalogue... pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2 pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0 Fetching meta.txz: 100%916 B 0.9kB/s00:01 pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2 repository FreeBSD has no meta file, using default settings Fetching packagesite.txz: 100%6 MiB 651.6kB/s00:10 pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2 pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0 Unable to open created repository FreeBSD Unable to update repository FreeBSD Error updating repositories! vmguest2# pkg -v 1.10.5 More details in case they are useful: vmguest2# ll /usr/sbin/pkg -r-xr-xr-x 1 root wheel 33464 May 15 21:15 /usr/sbin/pkg* vmguest2# ll /usr/local/sbin/pkg -rwxr-xr-x 1 root wheel 186920 May 15 2019 /usr/local/sbin/pkg* vmguest2# ll /var/db/pkg/ total 59204 -rw-r--r-- 1 root wheel 163 May 16 07:39 FreeBSD.meta -rw-r--r-- 1 root wheel413696 May 16 03:01 local.sqlite -rw-r--r-- 1 root wheel 53915648 Jun 15 2019 repo-FreeBSD.sqlite -r--r--r-- 1 root wheel 6141600 May 15 03:07 vuln.xml ry FreeBSD Error updating repositories! vmguest2# pkg info bash-5.0.3 GNU Project's Bourne Again SHell gettext-runtime-0.19.8.1_2 GNU gettext runtime libraries and programs indexinfo-0.3.1Utility to regenerate the GNU info page index pkg-1.10.5_5 Package manager vmguest2# ls -l /usr/local/bin total 1332 -rwxr-xr-x 1 root wheel 1157192 May 15 2019 bash -r-xr-xr-x 1 root wheel 6774 May 15 2019 bashbug -rwxr-xr-x 1 root wheel40432 May 15 2019 envsubst -rwxr-xr-x 1 root wheel40416 May 15 2019 gettext -r-xr-xr-x 1 root wheel 4629 May 15 2019 gettext.sh -rwxr-xr-x 1 root wheel11496 May 15 2019 indexinfo -rwxr-xr-x 1 root wheel40424 May 15 2019 ngettext lrwxr-xr-x 1 root wheel4 May 15 2019 rbash -> bash Mike ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
State of encrypted-almost-everything on ZFS in 2020
Hi, can the following be done these days? - Encrypted ZFS root pool on RAID-Z - Supply the key for the encrypted root pool during boot via USB thumb drive - No keyboard is attached to the machine - No /boot on the thumb drive, just the key - I don't mind if /boot is encrypted or not (the use case is not to protect against nation state attackers) - Bonus points if I can use bectl Every single posting regarding this topic I can find always comes down to either a) One needs /boot on the thumb drive, or b) One uses a keyboard and supplies a passphrase instead of a keyfile. I'd like to have a setup where essentially nothing is stored on the USB drive except the keyfile. Thank you and best regards Riggs ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"