ports.tar corrupt?

raf macports at raf.org
Mon Oct 17 01:37:51 UTC 2022


On Mon, Oct 17, 2022 at 11:27:39AM +1100, Joshua Root <jmr at macports.org> wrote:

> Dave Horsfall wrote:
> 
> > I don't know what it is with MacPorts and me, but here's the latest
> > problem; when doing my weekly "port upgrade outdated" I get:
> > 
> >      Warning: Port cairo not found:
> >      Warning: It looks like your PortIndex file forrsync://rsync.macports.org/macports/release/tarballs/ports.tar  may be corrupt.
> > 
> > Etc.
> > 
> > How do I fix that?
> 
> If the PortIndex is truly corrupt, a selfupdate or sync should set it right.
> But I think this might be a previously discussed issue where a scheduled
> reclaim run can happen when exiting after syncing the ports tree, without
> reloading the index. I'm not sure if a ticket was ever filed. If that's the
> case, you don't need to do anything, everything will be fine the next time
> you run port (because it loads the index anew when it starts).
> 
> - Josh

I get the same messages on macos-10.6.8 when doing
"port selfupdate && port upgrade outdated and not MacVim"
and I say yes to reclaiming. But if I say no, and reclaim
separately, it's fine.

It doesn't happen for me on macos-10.14.6.

cheers,
raf



More information about the macports-users mailing list