Date: Fri, 1 Apr 2016 07:35:08 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: How to unlist a package Message-ID: <56FE169C.4060803@FreeBSD.org> In-Reply-To: <wu7d1qaowj3.fsf@banyan.cs.ait.ac.th> References: <wu7d1qaowj3.fsf@banyan.cs.ait.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aTwIJlWKRdJ7nOQfJjXOV7CrEtiOTW6q7 Content-Type: multipart/mixed; boundary="ETsj9o8g39pfluhPwDbA1T35m5ITlsGVE" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Message-ID: <56FE169C.4060803@FreeBSD.org> Subject: Re: How to unlist a package References: <wu7d1qaowj3.fsf@banyan.cs.ait.ac.th> In-Reply-To: <wu7d1qaowj3.fsf@banyan.cs.ait.ac.th> --ETsj9o8g39pfluhPwDbA1T35m5ITlsGVE Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 01/04/2016 04:09, Olivier Nicole wrote: > So how can I tell the package system that this very package is not > installed anymore, but without doing a delete? You can't do that by use of pkg(8) -- you'ld have to directly manipulate the pkg database, which is not recommended. The simplest way to achieve what you want would be to just: pkg delete clamav-unofficial-sigs and then reinstall the developer version. (Should work fine for this port, but in general, this trick will fail if the package you're trying to replace is a dependency of something else, as pkg(8) will reinstall the apparently missing dependnecy on the next update.) The best way of doing this would be to update the clamav-unofficial-sigs port to install the developer version you prefer, and preferably submit your changes so they can be committed to the ports. Cheers, Matthew --ETsj9o8g39pfluhPwDbA1T35m5ITlsGVE-- --aTwIJlWKRdJ7nOQfJjXOV7CrEtiOTW6q7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJW/hacXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATjDYP/0MGBRayFwZ0pEbByvHVNEIR ZnfqYMR2AXrJaMRvQiYLPB9WycVvUa9GfvQmDJ4++vJ1wWkaC51QPS0KU1ozvZ6f uhva5sKMpzBDRvsXHryp9kk6yNIvSUJ8lgkMoeNieFI/yz/7+2fee8cNiC2U3L8a bWM+9pwMKbsZF+yrkAdNPapdYkTeQlMaiLcqmGBQnxg5Yp9RZzUc/6yhtt1cu2cH SsE1JYxY7/H0q7QSWudUNUJ3pYEmsEBQM6n0doSbMkQM0UkaHzfuWEgdMjaNhVHr 7E+t1Gf7DL9QlVofMh77DclF+Rw997LU+aGAmVjOPLXUm8Vyq6P5lY2cvuiyr3s8 cxdQtl3CaunYxMlW8FFxCkg6fX3YvOwwMYTwtabdBvVhWkkfEfJx/lnGPOZoX1ZU 9Gd2CGfBg171Wmy3PQs/FAkm/GmjqGOl2J5UzokiaFZ4yVIevB9SxZFoPzzIoQ2C IFTgmSHWLlC7x+qjCupGGZ5NPAbdskNRVZ31k5uc4uaVQAUwffzqDO93fy1C+m+E Iz9qpZt0AsRorKkxhZVd5bw7BQUePD33XTLOKRNrgC09YCmYawBT8IVcoo0eMdd6 +9DSDLGC8br/CFbVChQWb8gi2YGh3PNruB6U07MvrtR6LAgXRR4bHkRmB6jfwd6b 9SYsCjyTE+/fd0+FH5Yf =Nv26 -----END PGP SIGNATURE----- --aTwIJlWKRdJ7nOQfJjXOV7CrEtiOTW6q7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56FE169C.4060803>