Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2020 13:33:38 +0530
From:      Manish Jain <bourne.identity@hotmail.com>
To:        Matthew Seaman <matthew@FreeBSD.org>, freebsd-questions@freebsd.org
Subject:   Re: pkg update
Message-ID:  <DB8PR06MB6442BA8377B428750B69933FF6850@DB8PR06MB6442.eurprd06.prod.outlook.com>
In-Reply-To: <5d3cb5f2-94d0-b16f-763c-03ff4120ed2c@FreeBSD.org>
References:  <CY4PR19MB0104E7C06DA8C433858466ABF9870@CY4PR19MB0104.namprd19.prod.outlook.com> <DB8PR06MB6442774CD0501939D4E50FB2F6870@DB8PR06MB6442.eurprd06.prod.outlook.com> <5d3cb5f2-94d0-b16f-763c-03ff4120ed2c@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB8PR06MB6442BA8377B428750B69933FF6850>