Opened 10 years ago

Closed 10 years ago

#43797 closed defect (invalid)

port definitions are more than two weeks old

Reported by: jsbfan@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.2.1
Keywords: Cc:
Port:

Description

After running port selfupdate and port upgrade outdated, I get the message "Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'. Nothing to upgrade." I have read all the posts and all the old tickets I could find regarding this issue, and still I haven't come across the solution. I have run port clean, I have uninstalled and reinstalled all ports. I am at a loss as to what I can do. I have Mac OS X 10.8.5. Thanks for any help.

Change History (3)

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Component: portsbase
Keywords: selfupdate removed

Please provide the output of sudo port -d selfupdate. It seems there's a connection problem to the macports servers from your location. See wiki:FAQ#selfupdatefails for common reasons and workarounds.

comment:2 Changed 10 years ago by jsbfan@…

Thanks for the reply. Here is the output of selfupdate -d:

DEBUG: Copying /Users/lorenzelli/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences

DEBUG: MacPorts sources location: /opt/local/var/macports/sources/mirror.aero.org/macports-release/base ---> Updating MacPorts base sources using rsync receiving file list ... done

sent 45 bytes received 10065 bytes 1555.38 bytes/sec total size is 4562307 speedup is 451.27 MacPorts base version 2.2.1 installed, DEBUG: Rebuilding and reinstalling MacPorts if needed MacPorts base version 2.2.1 downloaded. ---> Updating the ports tree Synchronizing local ports tree from rsync://mirror.aero.org/macports-release/ports DEBUG: /usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*' rsync://mirror.aero.org/macports-release/ports/ /opt/local/var/macports/sources/mirror.aero.org/macports-release/ports receiving file list ... done _resources/port1.0/fetch/mirror_sites.tcl

sent 324 bytes received 765749 bytes 2874.57 bytes/sec total size is 40023542 speedup is 52.25 DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://mirror.aero.org/macports-release/ports/PortIndex_darwin_12_i386/PortIndex /opt/local/var/macports/sources/mirror.aero.org/macports-release/ports receiving file list ... done

sent 45 bytes received 70 bytes 230.00 bytes/sec total size is 10388772 speedup is 90337.15 ---> 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

And here is the output of port -d upgrade outdated:

DEBUG: Copying /Users/lorenzelli/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'. Nothing to upgrade.

comment:3 Changed 10 years ago by neverpanic (Clemens Lang)

Resolution: invalid
Status: newclosed

It seems you are using an outdated mirror. Please edit your $prefix/etc/macports/sources.conf and choose one of our official Portfile mirrors (see wiki:Mirrors) or contact your mirror administrators and ask them to fix the issue.

Since you apparently also changed your source tree mirror, please fix that as well (it should be defined in $prefix/etc/macports/macports.conf) to avoid problems when 2.3.0 is released.

Note: See TracTickets for help on using tickets.