Date: Thu, 7 Apr 2022 08:54:06 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: tech-lists <tech-lists@zyxst.net> Cc: freebsd-pkg@freebsd.org Subject: Re: removing a pkg from pkg database without deleting the pkg itself Message-ID: <20220407065406.54uggzwqszzmzfx3@aniel.nours.eu> In-Reply-To: <Yk4iuJ35cK4USMxd@cloud9.zyxst.net> References: <Ykrx7YW9rmCez2LC@cloud9.zyxst.net> <20220405071716.vdvxrwyqdjltvjtm@aniel.nours.eu> <Yk4iuJ35cK4USMxd@cloud9.zyxst.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 07, 2022 at 12:31:04AM +0100, tech-lists wrote: > On Tue, Apr 05, 2022 at 09:17:16AM +0200, Baptiste Daroussin wrote: > > > > pkg shell "delete from packages where name='youpackagename'" > > > > This will do the trick > > Unfortunately that didn't work. I tried the following: > > pkg shell "delete from packages where name='nextcloud-php80-23.0.3'" > > pkg shell "delete from packages where name='www/nextcloud'" > > No errors, but pkg info -xo still showed: > > # pkg info -xo nextc > nextcloud-php80-23.0.3 www/nextcloud > > next, tried the pkg sqlite shell: > > sqlite> delete from packages where name="nextcloud-php80-23.0.3"; > sqlite> delete from packages where name="www/nextcloud"; > sqlite> .quit delete from packages where name="nextcloud-php80" > > same result. > -- > J.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220407065406.54uggzwqszzmzfx3>