From owner-freebsd-questions@freebsd.org Wed Nov 2 12:19:17 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 27166C29368 for ; Wed, 2 Nov 2016 12:19:17 +0000 (UTC) (envelope-from maxnix.bsd@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 9C04F1A3E for ; Wed, 2 Nov 2016 12:19:16 +0000 (UTC) (envelope-from maxnix.bsd@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id p190so264710661wmp.1 for ; Wed, 02 Nov 2016 05:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=Hd7Q5Q7dMVx6Xn6lCRmfTZ2EYuDowUK50Viz8qY+lIA=; b=Nloi7yrDuMaxCzknXJVQSEDKwLAHRS3hnnjLWy5hJ7uCtDApCU8+Hy5e5Gio+VlMkJ f0aVow+EiBihaok8Ph96Si5HWgtKNz2KPhVCPdPHHXegNdh4VZwwlruLPk+udEBo1Gvt aHwxZWt/xtgIFlerCxf4TQSnxUV/OckaFOfNmbqcs9PCiXcDRDrawt3cKmExXR9VklUr Uhw5KM+n1Muo+PM2RfemQQtWlk7tjrHwdUgkllZqqvILNQ0lwjoozNA2Nnw9FufZ6dhF gAJZlZjb40+LOBVl6nXoAJTLLkpCxld0Flm1G8o8hWH63L+KstnBHGRHr4lmre94xHxA U+pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Hd7Q5Q7dMVx6Xn6lCRmfTZ2EYuDowUK50Viz8qY+lIA=; b=JYFp/wH3h4duGgTNqEM5ugNV+sp4i0l0VKtPlqt/PLEwL4MGnJ4kYKGRwzYrVgEblD Zy8FYVEnBn3x5mRCGzxAdJ2DzRxAlKvqYRiOK5PjlJkisa6aQ/F4JwpyDkeqqcIp7W+g /+mraTbMMBREERbTx9LDl2aMI3n0pM+anYLFxASiHHJwhQamy7NS7qmsrcFcJIuZju9N McSeGKzu9PieXGjDBvc8UJYnlCdxvixCNt2pDjOtlFYzPEjgXO4nIhMMi8svoVXNcEV3 m6wxw6Qr6Yv6B7nbRDUwyp/xVubo+5thJ1e2Yvk/uhtRHs3VPNFlFHOaMlD7e3J/BIh8 eZ4w== X-Gm-Message-State: ABUngvcxedJ15CvXAMsKe8FZNORbt0idQwmiuE+k0jeCaatv7QcYkI/AyKpG8FHBZ8FxQw== X-Received: by 10.28.21.68 with SMTP id 65mr2805674wmv.132.1478089154528; Wed, 02 Nov 2016 05:19:14 -0700 (PDT) Received: from net.jail ([5.87.116.151]) by smtp.gmail.com with ESMTPSA id s204sm2938296wmd.1.2016.11.02.05.19.13 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 Nov 2016 05:19:14 -0700 (PDT) Date: Wed, 2 Nov 2016 13:18:58 +0100 From: maxnix To: freebsd-questions@freebsd.org Subject: Re: pkg results in errors "different from original checksum, not removing" Message-ID: <20161102131858.350a9f16@net.jail> In-Reply-To: References: <3241E433-BF99-4EDD-B994-F39CD53E88F9@gmail.com> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.29; i386-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 12:19:17 -0000 Il giorno Wed, 2 Nov 2016 09:34:04 +0100 Olaoluwa Omokanwaiye ha scritto: > Hi, > I believe pkg delete package name > Does the job. > > Check here > https://www.freebsd.org/cgi/man.cgi?query=pkg-delete&sektion=8 > > Regards > Ola > > Sent from my iPhone > "pkg delete" and "pkg remove" are the same. You can use the one or the other indiscriminately. :) > > On 2 Nov 2016, at 9:25 AM, 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 > > [1/5] Deinstalling py35-gdbm-3.5.1_4... > > [1/5] Deleting files for py35-gdbm-3.5.1_4: 100% > > [2/5] Deinstalling py35-tkinter-3.5.1_6... > > [2/5] Deleting files for py35-tkinter-3.5.1_6: 100% > > [3/5] Deinstalling py35-sqlite3-3.5.1_7... > > [3/5] Deleting files for py35-sqlite3-3.5.1_7: 100% > > [4/5] Deinstalling py35-setuptools35-20.0... > > [4/5] Deleting files for py35-setuptools35-20.0: 100% > > [5/5] Deinstalling python35-3.5.1_3... > > [5/5] Deleting files for python35-3.5.1_3: 0% > > pkg: /usr/local/bin/2to3-3.5 different from original checksum, not > > removing [5/5] Deleting files for python35-3.5.1_3: 0% > > pkg: /usr/local/bin/idle3.5 different from original checksum, not > > removing [5/5] Deleting files for python35-3.5.1_3: 0% > > pkg: /usr/local/bin/pydoc3.5 different from original checksum, not > > removing [5/5] Deleting files for python35-3.5.1_3: 0% > > pkg: /usr/local/bin/python3.5 different from original checksum, not > > removing [5/5] Deleting files for python35-3.5.1_3: 0% > > pkg: /usr/local/bin/python3.5-config different from original > > checksum, not removing [5/5] Deleting files for python35-3.5.1_3: > > 0% pkg: /usr/local/bin/python3.5m different from original checksum, > > not removing [5/5] Deleting files for python35-3.5.1_3: 0% > > pkg: /usr/local/bin/python3.5m-config different from original > > checksum, not removing [5/5] Deleting files for python35-3.5.1_3: > > 0% pkg: /usr/local/bin/pyvenv-3.5 different from original checksum, > > not removing [5/5] Deleting files for python35-3.5.1_3: 1% > > pkg: /usr/local/lib/libpython3.5m.so different from original > > checksum, not removing [5/5] Deleting files for python35-3.5.1_3: > > 47% > > pkg: /usr/local/lib/python3.5/multiprocessing/dummy/__pycache__/__init__.cpython-35.opt-1.pyc > > different from original checksum, not removing [5/5] Deleting files > > for python35-3.5.1_3: 47% > > > > > > etc. > > What should I do to remove the installed package? > > Ciao > > Vittorio > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Give a look at this issue on github: https://github.com/freebsd/pkg/issues/1394 I your case probably the checksum failed by accident, so you can manually remove those files without problems. HTH