From owner-freebsd-questions@freebsd.org Wed Nov 2 15:47:18 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 06F08C2BE28 for ; Wed, 2 Nov 2016 15:47:18 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8102B1EDC for ; Wed, 2 Nov 2016 15:47:17 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-it0-x234.google.com with SMTP id e187so87293157itc.0 for ; Wed, 02 Nov 2016 08:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4aGzNMPumFQqmbi213i8qxg1cjCK9m275FBNaiK9/bs=; b=uCQR6b6ivlgkB/bnOYvy0UOPaeqfaj/aHlFb3W2cNbyxWUgokQFPSxiufGyRh2pnyA 3NWxNKxVqBzafoyD9XdpnfDEDqJYMmyRlbr4PTQvbLJXips0TPDFTenuWXDFSKjDA/wq 42YVzGoJ3l8Tlf5x/6Pe0HL0Xz1prcz7RmZFnFDXBGstsiG8w5eiREG5rH2f7oqvxYpZ HYWwzBV7xWPDumJzqgHw2RN7pz60Q4YrYX3MDQCNfX3kE93Ctjb/V71G6wBq1ohspgZS kibIX/vt1i6oM+kTkA+2XLzEonwaXQM8CMBApusaupOqmptReaNe4a9vFABU54xtIqHL nnrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4aGzNMPumFQqmbi213i8qxg1cjCK9m275FBNaiK9/bs=; b=j4yKkcIpwBtaLOrz1D24+616BZHD0mQSZ1e5oZU23q/DZQW6jFmnt3/axx3JjhV02d SS8kAKc/8yhJAw/Wjtie8q3+vuW4dSPtJh9A4+u16FM++kVyhj4mLWeUeNKgCioKIcRD d6MpdJmgzSxvI5JKBFVYGOwpfIW7yMeC4HXBxZIiHMidW4wNAGWiu6LUkWr51b2yuv8k uOsofoY3A5nqz5QGnxtpl/BHwzy0z5Pzuhnx/eV3Z5qLNm5sHnmNPnXsZ5WUUQs2BZwY 7sgBfnvemMzT89Ur/HpkyKwEq/0uO+a5wH/gq24BrkBK0XklV1jUYViY2lhrjPT45RW5 T+Qg== X-Gm-Message-State: ABUngvfu7dyHCjXl7aPEN5Tflpxs+WEc422/foUheOS78RS8mdyk7UxnyB+jAQNJTmgTelBXMcVuTSThAWQZVw== X-Received: by 10.107.47.16 with SMTP id j16mr5891531ioo.108.1478101581210; Wed, 02 Nov 2016 08:46:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.67.196 with HTTP; Wed, 2 Nov 2016 08:46:20 -0700 (PDT) In-Reply-To: <3241E433-BF99-4EDD-B994-F39CD53E88F9@gmail.com> References: <3241E433-BF99-4EDD-B994-F39CD53E88F9@gmail.com> From: Ben Woods Date: Wed, 2 Nov 2016 23:46:20 +0800 Message-ID: Subject: Re: pkg results in errors "different from original checksum, not removing" To: Victor Cc: FreeBSD Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Wed, 02 Nov 2016 15:47:18 -0000 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 > > 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): > > 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 > > Number of packages to be removed: 5 > > The operation will free 101 MiB. > > 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? > 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. 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. Regards, Ben