pkg results in errors "different from original checksum, not removing"

maxnix maxnix.bsd at gmail.com
Wed Nov 2 12:19:17 UTC 2016


Il giorno Wed, 2 Nov 2016 09:34:04 +0100
Olaoluwa Omokanwaiye <laoluomoks at 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 at 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 at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"  
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at 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


More information about the freebsd-questions mailing list