Date: Mon, 8 Jun 2020 13:35:32 +0530 From: Manish Jain <bourne.identity@hotmail.com> To: Matthew Seaman <matthew@FreeBSD.org>, freebsd-questions@freebsd.org Subject: Re: pkg update Message-ID: <DB8PR06MB6442A8F2A28E9F142CD63F20F6850@DB8PR06MB6442.eurprd06.prod.outlook.com> In-Reply-To: <DB8PR06MB6442BA8377B428750B69933FF6850@DB8PR06MB6442.eurprd06.prod.outlook.com> References: <CY4PR19MB0104E7C06DA8C433858466ABF9870@CY4PR19MB0104.namprd19.prod.outlook.com> <DB8PR06MB6442774CD0501939D4E50FB2F6870@DB8PR06MB6442.eurprd06.prod.outlook.com> <5d3cb5f2-94d0-b16f-763c-03ff4120ed2c@FreeBSD.org> <DB8PR06MB6442BA8377B428750B69933FF6850@DB8PR06MB6442.eurprd06.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-06-08 13:33, Manish Jain wrote: > > > 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 Please excuse the typo : that was meant to read "I would think that the knowledge the system has" Sorry, Manish Jain
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB8PR06MB6442A8F2A28E9F142CD63F20F6850>