I had a laptop with no HDD and was running FreeBSD to a USB stick for a while.
Upon upgrading from 12.2 to 13.0, something happened and I think the install must have failed and reboot while I wasn't around.
Now basic commands like pkg and freebsd-update don't work anymore.
Is there a way for me to manually extract the list of installed packages via text files?
All of the pkg related commands don't work.
I think the USB stick is corrupted and possibly failing.
I was able to copy all files from /var/db/pkg from the broken upgrade.
And I bought a new SSD and did a fresh install of FreeBSD 13 on the same laptop.
So I am running the freshly installed FreeBSD 13 and mounting the USB with the broken FreeBSD upgrade.
I want the list of packages to be in such a manner that I can type the pkg command on the fresh install, copy/paste the list of packages and run it on the fresh install.
Thank you.
Upon upgrading from 12.2 to 13.0, something happened and I think the install must have failed and reboot while I wasn't around.
Now basic commands like pkg and freebsd-update don't work anymore.
Is there a way for me to manually extract the list of installed packages via text files?
All of the pkg related commands don't work.
I think the USB stick is corrupted and possibly failing.
I was able to copy all files from /var/db/pkg from the broken upgrade.
And I bought a new SSD and did a fresh install of FreeBSD 13 on the same laptop.
So I am running the freshly installed FreeBSD 13 and mounting the USB with the broken FreeBSD upgrade.
I want the list of packages to be in such a manner that I can type the pkg command on the fresh install, copy/paste the list of packages and run it on the fresh install.
Thank you.