Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Apr 2022 00:31:04 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-pkg@freebsd.org
Subject:   Re: removing a pkg from pkg database without deleting the pkg itself
Message-ID:  <Yk4iuJ35cK4USMxd@cloud9.zyxst.net>
In-Reply-To: <20220405071716.vdvxrwyqdjltvjtm@aniel.nours.eu>
References:  <Ykrx7YW9rmCez2LC@cloud9.zyxst.net> <20220405071716.vdvxrwyqdjltvjtm@aniel.nours.eu>

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

--Z23tDd/V6XJuiMnb
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 05, 2022 at 09:17:16AM +0200, Baptiste Daroussin wrote:
>
>pkg shell "delete from packages where name=3D'youpackagename'"
>
>This will do the trick

Unfortunately that didn't work. I tried the following:

pkg shell "delete from packages where name=3D'nextcloud-php80-23.0.3'"

pkg shell "delete from packages where name=3D'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=3D"nextcloud-php80-23.0.3";
sqlite> delete from packages where name=3D"www/nextcloud";
sqlite> .quit

same result.
--=20
J.

--Z23tDd/V6XJuiMnb
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmJOIrAACgkQs8o7QhFz
NAV16Q/+KNWd8G+CRLFDB1rrogvHl/IH3MJ6tUBE7MFwTqXnU0dcdxO8B1qfPpA4
ak+GfLjz5bN9b4+ZiSFgn6vcm1HNAajBC7jaLdFAe5H1oVCaB9HYwXXCG8svRN+A
di4HOuZinA2GsPfCGWXPLYoaQhHtstW9zV07/0p6IT9N24t7pf9bPdcOrkLy0JSn
RruaQE2eo9FyGCMbR4o3MI6jp+gRTWcfXhFu5YhRvmyLPPpv1UYEPtRPds+X2l6t
xjdWxm9++lfvX2ArBb3C2YRtQPbUr2YWbZfTMWaBy5AFkqJE8r5q6FY48RMSULom
j+xumBbgvdIt/DHLcrzXFmnerawL8T09P9hEfbaXZqX4amoxJk3/JgkKXRLc3W4g
oSTSy/tlxbeiqe9+uItWlCS6i3QvvZjnYJhe07H0uHpOdpDbU0dw47ylUvFpjqPt
ECzaZQOn40GwnRmPjspAAQOS1lTA+RjCjM14gYflkEsSD0n4i7/XNePICHmAw4Q/
5QZnKDcV8chlDuPgTUWnKJgcTuCl8HYTbPBhFuH8CyBx5tDhhxKoKg8lOhyhTjhI
s8Cve5ZUm7Ao5Ysd3XUe1w6QKNoEL9ULBtLY5CG5nKoa4pM9PWHRbL/MitfPqu42
QTtLhoJagM0mZCT7m2ue08KkLaJYWeQSmOiKkTdKMBRAWa5tj6s=
=erU+
-----END PGP SIGNATURE-----

--Z23tDd/V6XJuiMnb--



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