corrupt PortIndex file

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

corrupt PortIndex file

Bjarne D Mathiesen
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 do have some somewhat crazy user:group settings on
root@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

--
Bjarne D Mathiesen
Korsør ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et (næsten) M$-frit miljø
MacOS X 10.13.6 High Sierra :
   17" 2011 MacBook Pro ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
   2012 Mac Pro ; 2 x 3.46GHz 6-Core Xeon ; 48GB
MacOS X 10.6.8 Snow Leopard :
   Mac Mini ; 2GHz Core 2 Duo (64 bit) ; 4GB (3GB actual) 667MHz
   Mac Mini ; 1.83GHz Core Duo (32 bit) ; 2GB 667Mhz
Reply | Threaded
Open this post in threaded view
|

Re: corrupt PortIndex file

ryandesign2
Administrator


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