pkg update
Manish Jain
bourne.identity at hotmail.com
Mon Jun 8 08:04:21 UTC 2020
On 2020-06-08 11:57, Matthew Seaman wrote:
>> rm -rf/var/cache/pkg/* /var/db/pkg/repo-*.sqlite
>> pkg bootstrap -f
>> pkg update -f
>>
> Doing this will really spoil your day. The first command removes all of
> the accumulated knowledge your system has about what packages are
> installed, meaning the third command will*only* know about pkg(8) for
> the forced update. Recovering from this situation is quite painful.
Hi Matthew,
I would think that the system has about what packages are
installed is hived under /var/db/pkg/local.sqlite (which my command
pointedly spares out).
Regards,
Manish Jain
More information about the freebsd-questions
mailing list