How To Recover From Firewall Putting HTML In A Port's Source Filename?

Ryan Schmidt ryandesign at
Mon Sep 24 03:30:10 UTC 2018

On Sep 23, 2018, at 20:21, Mike Crawford wrote:

> Taco Bell's firewall blocks "Downloads and Freeware".  I contemplated
> explaining the difference between freeware and Open Source to the
> manager, but realized I was still hungry.  Having blown the last of my
> cash on a Beefy 5-Layer Burrito, I came home and made a grilled
> cheese.
> It was good.  Observe:
>   $ file /opt/local/var/macports/distfiles/p7zip/p7zip_16.02_src_all.tar.bz2.html
>   /opt/local/var/macports/distfiles/p7zip/p7zip_16.02_src_all.tar.bz2.html:
> HTML document text, UTF-8 Unicode text
>   $ sudo port uninstall p7zip
>   $ sudo port install p7zip
> --->  Verifying checksums for p7zip
> Error: Failed to checksum p7zip: p7zip_16.02_src_all.tar.bz2 does not
> exist in /opt/local/var/macports/distfiles/p7zip
> Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_p7zip/p7zip/main.log
> for details.
> Error: Follow https://guide.macports.or
> How to recover?   TNAX! -- Mike

I guess we cover this here:

"In order to retry downloading the distfile after resolving your problem you must first delete the old download:"

So try:

sudo port clean --dist p7zip

More information about the macports-users mailing list