Date: Wed, 2 Nov 2016 13:18:58 +0100 From: maxnix <maxnix.bsd@gmail.com> 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: <F3EBF93D-0BF0-4624-A291-6C01C1EC928D@gmail.com> References: <3241E433-BF99-4EDD-B994-F39CD53E88F9@gmail.com> <F3EBF93D-0BF0-4624-A291-6C01C1EC928D@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Il giorno Wed, 2 Nov 2016 09:34:04 +0100 Olaoluwa Omokanwaiye <laoluomoks@gmail.com> 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 <vdemart@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161102131858.350a9f16>