From owner-freebsd-questions@freebsd.org Thu Nov 3 16:25:05 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 6BAA5C29DFE for ; Thu, 3 Nov 2016 16:25:05 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from smtpcmd02101.aruba.it (smtpcmd02101.aruba.it [62.149.158.101]) by mx1.freebsd.org (Postfix) with ESMTP id BA26D137C for ; Thu, 3 Nov 2016 16:25:04 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from [192.168.1.114] ([82.61.102.13]) by smtpcmd02.ad.aruba.it with bizsmtp id 3UPs1u00V0HLlcJ01UPsq4; Thu, 03 Nov 2016 17:23:53 +0100 Subject: Re: pkg results in errors "different from original checksum, not removing" Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Victor In-Reply-To: Date: Thu, 3 Nov 2016 17:23:52 +0100 Cc: Ben Woods Content-Transfer-Encoding: quoted-printable Message-Id: <82DACA70-3577-454D-8D0E-A640CDDF4963@gmail.com> References: <3241E433-BF99-4EDD-B994-F39CD53E88F9@gmail.com> To: FreeBSD Mailing List X-Mailer: Apple Mail (2.1283) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aruba.it; s=a1; t=1478190233; bh=hmCavcTF6kSQLYG/sCSar0wcl37zKwLsWTHt6GBpU4s=; h=Subject:Mime-Version:Content-Type:From:Date:To; b=gQK9E0z6RcJ4ZUuadXfvw75MbmfstYnLZDo+sh1hFb/cy1MoVkrbMAzm506F5vY3O 46w5CS3XKXPigOZP6YjLzhSGVohaDOzM4U+gD57IC5HE4EZXGer1Ly5oM8q9EVwQhl 2p8TLaVGEinAWOdLSErpqfBz4ON1rod0snQoT3F6+jn/zbFlOEPAk/eEbIDRnRDjYm DEQO8E8TzAdKjDjOYv0MONx1KsdxizwZx2M2awkmksb4rLctWHe9w0aMcszvuc/0mM wkMllI0tt7EpF+dzrVYeKSvryc1Cb74x/nuk0UiMdrx1kEXKLTp3JrS9t2qA5wH69R Qf6x5eqgLyW2g== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2016 16:25:05 -0000 Il giorno 02/nov/2016, alle ore 16:46, Ben Woods ha scritto: > On 2 November 2016 at 16:25, Victor wrote: > Under FreeBSD 10.3 I wanted to remove python 3.5 which I had installed = by means of pkg. > Now >=20 > sudo pkg remove python35 > Password: > Checking integrity... done (0 conflicting) > Deinstallation has been requested for the following 5 packages (of 0 = packages in the universe): >=20 > Installed packages to be REMOVED: > python35-3.5.1_3 > py35-setuptools35-20.0 > py35-gdbm-3.5.1_4 > py35-tkinter-3.5.1_6 > py35-sqlite3-3.5.1_7 >=20 > Number of packages to be removed: 5 >=20 > The operation will free 101 MiB. >=20 > Proceed with deinstalling packages? [y/N]: y > [5/5] Deleting files for python35-3.5.1_3: 0% > pkg: /usr/local/bin/2to3-3.5 different from original checksum, not = removing > etc. > What should I do to remove the installed package? >=20 >=20 > To be clear, the package was removed, but pkg let a few files behind = because it believes you edited them from their original package state = and you might want to keep your local changes. >=20 > If you dont want to keep those files, simply remove them with rm(1). = Nothing more to do with pkg, as far as it is concerned the package was = deleted. >=20 > Regards, > Ben Do you mean that I have to delete files from the directory = /var/cache/pkg? Right? Ciao Vittorio