corrupt PortIndex file

Ryan Schmidt ryandesign at macports.org
Sat Sep 7 21:45:37 UTC 2019



On Aug 29, 2019, at 18:54, Bjarne D Mathiesen wrote:

> Whenever I do something like this
> 
> #=> port installed name:^clang name:^llvm name:*gcc* name:libcxx
> 
> I get this :
> 
> Warning: It looks like your PortIndex file for
> rsync://rsync.macports.org/release/tarballs/ports.tar may be corrupt.
> Warning: Can't open index file for source:
> rsync://rsync.macports.org/release/tarballs/ports.tar

I don't know why your portindex would be corrupt. Try "sudo port selfupdate". If it's still corrupted then, let us know.

Please switch your sources.conf to rsync://rsync.macports.org/macports/release/tarballs/ports.tar


> I do have some somewhat crazy user:group settings on
> root at 0125000629 01:34:31
> /macports/var/macports/sources/rsync.macports.org/release/tarballs
> #=> ls -l
> total 327904
> -rw-r--r--   1 root  admin     12762967 29 Aug 20:30 PortIndex
> -rw-r--r--   1 root  admin          512 29 Aug 20:44 PortIndex.rmd160
> drwxr-xr-x  10 root  postgres      1156  5 Mar  2017 base
> -rw-r--r--   1 root  admin     85764608 26 Feb  2017 base.tar
> -rw-r--r--   1 root  admin          512 26 Feb  2017 base.tar.rmd160
> drwxr-xr-x  53 ldap  postgres      2108 30 Aug 01:38 ports
> -rw-r--r--   1 root  admin     69342720 29 Aug 23:36 ports.tar
> -rw-r--r--   1 root  admin          512 29 Aug 23:36 ports.tar.rmd160
> 
> Any pointers as to how I can fix this issue ?!? :-) :-D

If you're referring to the unexpected "ldap" and "postgres" user and group appearing here, I've explained that before. Ignore it. It shouldn't be causing any problems.

https://lists.macports.org/pipermail/macports-users/2019-August/046996.html




More information about the macports-users mailing list