From nobody Mon Apr 04 13:35:16 2022 X-Original-To: freebsd-pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 663AD1A9769D for ; Mon, 4 Apr 2022 13:35:20 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KXBbr2TTnz4bS3; Mon, 4 Apr 2022 13:35:20 +0000 (UTC) (envelope-from se@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649079320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nEQ1hvuU6wNHI1U0n9l0lDFk37ICv7c2m4RjDpOm6nM=; b=dyDySY07clyyYpSaSkAj6ss/P5ZBOq2i93vieRXgef7w3dyhYx9grtIz7eAGFixZy/Hat7 aoz2I6+WDmqrFubbP3me3F8N+9W0zL0Gsff24Zz5ZHLU79lur/N8UPDSlqA3JlTtVZDLfq D9UyW7wM0GXuPmVlOcKruuskG8MKrk7ePd/FgN/cGYSbl3Y6RZwuYRnkf2TKFMkoUCA0mF 57Wty6PTe7+NjLW3kT5fbHdWTiXyiisM9rv4VOPihNalW90hPO+pmJziZkNd/7aO0t5F7Q Kh10QBjiqZip6+y08w/aqmF4nEHg4aePXweg2AzU1YK7Fqj5HvrrvJ7rEEwT0A== Received: from [IPV6:2003:cd:5f22:6f00:4d7:c9d0:964b:25b7] (p200300cd5f226f0004d7c9d0964b25b7.dip0.t-ipconnect.de [IPv6:2003:cd:5f22:6f00:4d7:c9d0:964b:25b7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id BC3B86E43; Mon, 4 Apr 2022 13:35:19 +0000 (UTC) (envelope-from se@FreeBSD.org) Message-ID: <5dcfff1f-4cbd-992e-0ddc-b923b06c74e1@FreeBSD.org> Date: Mon, 4 Apr 2022 15:35:16 +0200 List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 From: Stefan Esser Subject: Re: removing a pkg from pkg database without deleting the pkg itself To: tech-lists Cc: freebsd-pkg@freebsd.org References: Content-Language: de-DE In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649079320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nEQ1hvuU6wNHI1U0n9l0lDFk37ICv7c2m4RjDpOm6nM=; b=NMP+U0+4f/PBtSihVJJdMYrlFN8ttLlp6gZx35bWBwKPVcx6rxRONm08m3gAfPMSK4DILd LM0erk+U6DDhlxM5FxQRldB+jqEXMX0spiBzgTYiBsdlsxafGlBhCZPklw5yyNu8ghybk9 MpTx0Jh5C2Osto+dFeO+kcxu3Q5l6ff409mF4huNM/nuBcp7/ZdY3F5bXdcySWsUoA89NE 57bYnrSWozJvleBHftwOoh3c273XEws5Zkzqt39Kof+gG2XxELmivZv148s8Syp2YQPYwk ZcnVM8LrWIKuuZAHAKa3wAXgyyQJGnIWJ0RpJEF+0kdYxh6mvTXeznaMeL/vsQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649079320; a=rsa-sha256; cv=none; b=k7ieosRTO0Kd3ZdfciCuwEJQxC8LEAXXB0z1horEVIs6k4vcdDZ/QUOt9obWyfSuDxrbvc A1jqIPJR4T7y8gT3am7LaB7moRfdNOdLJ0473bYBzGAR43UJnKKG4kxRk9DysuNwsw5pVA J5GSsgOf1pVe4K9HBNWQ+5OXE8QbnL+kZd0vlgU8/qhGZC+dnwUFdRKW2H+ojLWCLlN3dL 2v6Tgn+YBZPElkU3Ix8EKSLB3z3/T/qJ69AvORxfGwp0sXzUJQeiBEbUo5zPoedCO4zWkb nD3zTdRm5hgVcoZsjOfziDRoR3N97hVoatDkFzP7pePREZVjCakOX0Ln/iENeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Am 04.04.22 um 15:26 schrieb tech-lists: > Hi, > > I'd like to remove a pkg entry from the database so it's not managed by pkg. The simplest way to exclude an installed package from being managed by pkg is to use "pkg lock": # pkg lock -y See "man pkg-lock" for more details.