From owner-freebsd-questions@freebsd.org Fri Apr 1 06:35:12 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9CC4EAEA70D for ; Fri, 1 Apr 2016 06:35:12 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A0871639 for ; Fri, 1 Apr 2016 06:35:12 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id AC99147BE for ; Fri, 1 Apr 2016 06:35:08 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/AC99147BE; dkim=none; dkim-atps=neutral Subject: Re: How to unlist a package To: freebsd-questions@freebsd.org References: From: Matthew Seaman Message-ID: <56FE169C.4060803@FreeBSD.org> Date: Fri, 1 Apr 2016 07:35:08 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aTwIJlWKRdJ7nOQfJjXOV7CrEtiOTW6q7" X-Virus-Scanned: clamav-milter 0.99.1 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.0 required=5.0 tests=SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2016 06:35:12 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aTwIJlWKRdJ7nOQfJjXOV7CrEtiOTW6q7 Content-Type: multipart/mixed; boundary="ETsj9o8g39pfluhPwDbA1T35m5ITlsGVE" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <56FE169C.4060803@FreeBSD.org> Subject: Re: How to unlist a package References: In-Reply-To: --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--