Hi,
As Ryan has been alluding to, something is not right with your
installation, and its very hard to work out what from the information
you are providing.
You say your OS has effectively been updated. Have you followed the
migration instructions
https://trac.macports.org/wiki/Migration
that are required following a major OS update ? If not try following
them now.
Chris
On 09/10/18 04:50, M P wrote:
No, I have not customized sources.conf
This is a mac after a major repair with replaced motherboard. My admin
made a backup copy on HD and reinstalled most back from Sierra to
Mojave. Macports worked fine before when I installed back in 2017. There
are a few other ports that don't install e.g.
%sudo port install R
Error: Port R not found
and some produce this odd (not in the ports tree - ?) message with warning
%sudo port install xxdiff
Password:
Warning: Skipping xxdiff (not in the ports tree)
--->Scanning binaries for linking errors
--->No broken files found.
--->No broken ports found.
%sudo port -d selfupdate
Password:
DEBUG: Copying
/Users/pagowski/Library/Preferences/com.apple.dt.Xcode.plist to
/opt/local/var/macports/home/Library/Preferences
DEBUG: MacPorts sources location:
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
<http://rsync.macports.org/macports/release/tarballs>
--->Updating MacPorts base sources using rsync
DEBUG: system: /usr/bin/rsync -rtzvl --delete-after
rsync://rsync.macports.org/macports/release/tarballs/base.tar
<http://rsync.macports.org/macports/release/tarballs/base.tar>
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
<http://rsync.macports.org/macports/release/tarballs>
Willkommen auf dem RSYNC-server auf ftp.fau.de <http://ftp.fau.de>.
Nicht all unsere Mirror sind per rsync verfuegbar.
Welcome to the RSYNC daemon on ftp.fau.de <http://ftp.fau.de>.
Not all of our mirrors are available through rsync.
receiving file list ... done
sent 16 bytesreceived 55 bytes20.29 bytes/sec
total size is 85608960speedup is 1205760.00
DEBUG: system: /usr/bin/rsync -rtzvl --delete-after
rsync://rsync.macports.org/macports/release/tarballs/base.tar.rmd160
<http://rsync.macports.org/macports/release/tarballs/base.tar.rmd160>
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
<http://rsync.macports.org/macports/release/tarballs>
Willkommen auf dem RSYNC-server auf ftp.fau.de <http://ftp.fau.de>.
Nicht all unsere Mirror sind per rsync verfuegbar.
Welcome to the RSYNC daemon on ftp.fau.de <http://ftp.fau.de>.
Not all of our mirrors are available through rsync.
receiving file list ... done
sent 16 bytesreceived 62 bytes31.20 bytes/sec
total size is 512speedup is 6.56
DEBUG: successful verification with key
/opt/local/share/macports/macports-pubkey.pem
DEBUG: system: /usr/bin/tar -C
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/tmp
<http://rsync.macports.org/macports/release/tarballs/tmp> -xf
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base.tar
<http://rsync.macports.org/macports/release/tarballs/base.tar>
MacPorts base version 2.5.4 installed,
DEBUG: Rebuilding and reinstalling MacPorts if needed
MacPorts base version 2.5.4 downloaded.
--->Updating the ports tree
Synchronizing local ports tree from
rsync://rsync.macports.org/macports/release/tarballs/ports.tar
<http://rsync.macports.org/macports/release/tarballs/ports.tar>
DEBUG: system: /usr/bin/rsync -rtzvl --delete-after --include=/ports.tar
--include=/ports.tar.rmd160 --exclude=*
rsync://rsync.macports.org/macports/release/tarballs/
<http://rsync.macports.org/macports/release/tarballs/>
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
<http://rsync.macports.org/macports/release/tarballs>
Willkommen auf dem RSYNC-server auf ftp.fau.de <http://ftp.fau.de>.
Nicht all unsere Mirror sind per rsync verfuegbar.
Welcome to the RSYNC daemon on ftp.fau.de <http://ftp.fau.de>.
Not all of our mirrors are available through rsync.
receiving file list ... done
./
ports.tar
ports.tar.rmd160
sent 56412 bytesreceived 4631 bytes13565.11 bytes/sec
total size is 64588288speedup is 1058.08
DEBUG: successful verification with key
/opt/local/share/macports/macports-pubkey.pem
DEBUG: system: /usr/bin/tar -C
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/tmp
<http://rsync.macports.org/macports/release/tarballs/tmp> -xf
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports.tar
<http://rsync.macports.org/macports/release/tarballs/ports.tar>
On Mon, Oct 8, 2018 at 9:30 PM Ryan Schmidt <ryandes...@macports.org
<mailto:ryandes...@macports.org>> wrote:
On Oct 8, 2018, at 21:26, M P wrote:
> On Mon, Oct 8, 2018 at 8:24 PM M P wrote:
>
>> I removed
>> /opt/local/var/macports/sources/rsync.macports.org
<http://rsync.macports.org>
>>
>> Then still a problem with nco port:
>>
>> %sudo port -v selfupdate
>> ---> Updating MacPorts base sources using rsync
>>
>> Willkommen auf dem RSYNC-server auf ftp.fau.de <http://ftp.fau.de>.
>> Nicht all unsere Mirror sind per rsync verfuegbar.
>>
>> Welcome to the RSYNC daemon on ftp.fau.de <http://ftp.fau.de>.
>> Not all of our mirrors are available through rsync.
>>
>>
>> receiving file list ... done
>> base.tar
>> sent 38 bytes received 15706352 bytes 229290.36 bytes/sec
>> total size is 85608960 speedup is 5.45
>>
>> Willkommen auf dem RSYNC-server auf ftp.fau.de <http://ftp.fau.de>.
>> Nicht all unsere Mirror sind per rsync verfuegbar.
>>
>> Welcome to the RSYNC daemon on ftp.fau.de <http://ftp.fau.de>.
>> Not all of our mirrors are available through rsync.
>>
>>
>> receiving file list ... done
>> base.tar.rmd160
>>
>> sent 38 bytes received 625 bytes 265.20 bytes/sec
>> total size is 512 speedup is 0.77
>> MacPorts base version 2.5.4 installed,
>> MacPorts base version 2.5.4 downloaded.
>> ---> Updating the ports tree
>> Synchronizing local ports tree from
rsync://rsync.macports.org/macports/release/tarballs/ports.tar
<http://rsync.macports.org/macports/release/tarballs/ports.tar>
>>
>> Willkommen auf dem RSYNC-server auf ftp.fau.de <http://ftp.fau.de>.
>> Nicht all unsere Mirror sind per rsync verfuegbar.
>>
>> Welcome to the RSYNC daemon on ftp.fau.de <http://ftp.fau.de>.
>> Not all of our mirrors are available through rsync.
>>
>>
>> receiving file list ... done
>> ./
>> ports.tar
>> ports.tar.rmd160
>>
>> sent 112 bytes received 12370338 bytes 204470.25 bytes/sec
>> total size is 64589824 speedup is 5.22
>>
>> %port upgrade outdated
>> Nothing to upgrade.
>>
>> %sudo port install nco
>> Error: Port nco not found
>>
>
> Maybe the mirror does not have this port?
> %port search nco
> Warning: Can't open index file for source:
rsync://rsync.macports.org/macports/release/tarballs/ports.tar
<http://rsync.macports.org/macports/release/tarballs/ports.tar>
> Error: search for name nco failed: No index(es) found! Have you
synced your port definitions? Try running 'port selfupdate'.
All mirrors have all of the port definitions; they just copy them
from our primary public server. Also, rsync.macports.org
<http://rsync.macports.org> is our primary public server, not a mirror.
Your output still does not show the portindex being fetched or
generated, and I don't know why that would happen. In fact
selfupdate appears to be exiting entirely, before printing the
output that should always be printed at the end, as I showed before:
> ---> MacPorts base is already the latest version
>
> The ports tree has been updated. To upgrade your installed ports,
you should run
> port upgrade outdated
The question is, where is it exiting? Ok, it fetched ports.tar. Did
it verify it? Did it extract it? Can you selfupdate again but use
the -d flag instead of -v to get more detailed information?
Have you customized your sources.conf file? If so, what does it contain?
Has this ever worked? If so, when, and what changed since then?