Re: removing a pkg from pkg database without deleting the pkg itself
Date: Thu, 07 Apr 2022 06:54:06 UTC
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.