Re: ports.tar corrupt?

2022-10-16 Thread Dave Horsfall
On Mon, 17 Oct 2022, raf via macports-users wrote:

[...]

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

Aha...  I've always answered "Y", so I'll give that way a go.

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

Unfortunately I'm stuck on 10.13.6...

-- Dave


Re: ports.tar corrupt?

2022-10-16 Thread raf via macports-users
On Mon, Oct 17, 2022 at 11:27:39AM +1100, Joshua Root  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



Re: ports.tar corrupt?

2022-10-16 Thread Joshua Root

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



ports.tar corrupt?

2022-10-16 Thread Dave Horsfall
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 for 
rsync://rsync.macports.org/macports/release/tarballs/ports.tar may be corrupt.

Etc.

How do I fix that?

Thanks.

-- Dave