(macports) sudo port -d selfupdate i was do all same action like the instruction wrote write an answer how to fix https://guide.macports.org/#installing
{\rtf1\ansi\ansicpg1251\cocoartf1404\cocoasubrtf470 {\fonttbl\f0\fnil\fcharset0 Menlo-Regular;} {\colortbl;\red255\green255\blue255;} \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0
\f0\fs22 \cf0 \CocoaLigature0 MacBook-Pro-warpchronicles:~ warpchronicles$ sudo port -d selfupdate\ DEBUG: Copying /Users/warpchronicles/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\ ---> Updating MacPorts base sources using rsync\ DEBUG: system: /usr/bin/rsync -rtzvl --delete-after rsync://rsync.macports.org/macports/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs\ \ Willkommen auf dem RSYNC-server auf ftp.fau.de.\ Nicht all unsere Mirror sind per rsync verfuegbar.\ \ Welcome to the RSYNC daemon on ftp.fau.de.\ Not all of our mirrors are available through rsync.\ \ \ receiving file list ... done\ \ sent 16 bytes received 55 bytes 47.33 bytes/sec\ total size is 85861888 speedup is 1209322.37\ DEBUG: system: /usr/bin/rsync -rtzvl --delete-after rsync://rsync.macports.org/macports/release/tarballs/base.tar.rmd160 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs\ \ Willkommen auf dem RSYNC-server auf ftp.fau.de.\ Nicht all unsere Mirror sind per rsync verfuegbar.\ \ Welcome to the RSYNC daemon on ftp.fau.de.\ Not all of our mirrors are available through rsync.\ \ \ receiving file list ... done\ \ sent 16 bytes received 62 bytes 156.00 bytes/sec\ total size is 512 speedup 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 -xf /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base.tar\ MacPorts base version 2.7.2 installed,\ DEBUG: Rebuilding and reinstalling MacPorts if needed\ MacPorts base version 2.7.2 downloaded.\ ---> Updating the ports tree\ Synchronizing local ports tree from rsync://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/ /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs\ \ Willkommen auf dem RSYNC-server auf ftp.fau.de.\ Nicht all unsere Mirror sind per rsync verfuegbar.\ \ Welcome to the RSYNC daemon on ftp.fau.de.\ Not all of our mirrors are available through rsync.\ \ \ receiving file list ... done\ ./\ \ sent 68 bytes received 99 bytes 111.33 bytes/sec\ total size is 95462400 speedup is 571631.14\ 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 -xf /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports.tar\ DEBUG: system: chmod -R a+r /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs\ DEBUG: system: /opt/local/bin/portindex /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports\ Creating port index in /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports\ \ Total number of ports parsed: 0 \ Ports successfully parsed: 0 \ Ports failed: 0 \ Up-to-date ports skipped: 29154\ \ ---> MacPorts base is already the latest version\ DEBUG: Setting MacPorts sources ownership to root\ \ The ports tree has been updated. To upgrade your installed ports, you should run\ port upgrade outdated}