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

Dale Scott dalescott at shaw.ca
Thu Nov 3 17:16:37 UTC 2016


-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Victor
Sent: Thursday, November 3, 2016 10:24 AM
To: FreeBSD Mailing List
Cc: Ben Woods
Subject: Re: pkg results in errors "different from original checksum, not
removing"

>Do you mean that I have to delete files from the directory /var/cache/pkg?
Right?
>Ciao
>Vittorio

Delete them using the paths in the messages from pkg. 

> [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.

I.e. % rm /usr/local/bin/2to3-3.5

The cache directory is where the package source files are stored, deleting
the source package files will have essentially no effect. If you were to
re-install a package, and even if the current version was still the same,
the only effect will be that the package will be downloaded again rather
than being used from the cache.

---
Dale R. Scott, P.Eng.
Transparency with Trust
Blog: http://www.dalescott.net
LinkedIn: https://ca.linkedin.com/in/dalescott





More information about the freebsd-questions mailing list