#49245 closed defect (duplicate)
Cannot Run Selfupdate
Reported by: | andy@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | server/hosting | Version: | 2.3.4 |
Keywords: | Cc: | moderndeveloperllc (Mark Garrett), eric.lebigot@… | |
Port: |
Description
I just upgrade a Yosemite computer to El Capitan. As part of this, I upgraded my macports with the .pkg installer, deleted my existing ports, and tried to reinstall.
I was given a message that I should run selfupdate, which gave an error of "port selfupdate failed". I set up macports on a new machine with El Capitan just last week with minimal issues, so I figured there was an issue with residual Yosemite macports junk remaining. So, I did a complete uninstall as recommended, and installed again from the .pkg file.
The error I'm getting is:
> sudo port selfupdate ---> Updating MacPorts base sources using rsync Error: Failed to verify signature for MacPorts source! Please run `port -v selfupdate' for details. Error: /opt/local/bin/port: port selfupdate failed: Failed to verify signature for MacPorts source!
Using the -v flag as suggested, I get:
---> Updating MacPorts base sources using rsync receiving file list ... done sent 36 bytes received 69 bytes 70.00 bytes/sec total size is 27013120 speedup is 257267.81 receiving file list ... done sent 36 bytes received 76 bytes 224.00 bytes/sec total size is 512 speedup is 4.57 Error: Failed to verify signature for MacPorts source! To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: /opt/local/bin/port: port selfupdate failed: Failed to verify signature for MacPorts source!
Finally, running the -d flag gives the following:
DEBUG: Copying /Users/andy/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/release/tarballs ---> Updating MacPorts base sources using rsync receiving file list ... done sent 36 bytes received 69 bytes 210.00 bytes/sec total size is 27013120 speedup is 257267.81 receiving file list ... done sent 36 bytes received 76 bytes 224.00 bytes/sec total size is 512 speedup is 4.57 DEBUG: failed verification with key /opt/local/share/macports/macports-pubkey.pem DEBUG: openssl output: Verification Failure child process exited abnormally DEBUG: Failed to verify signature for MacPorts source! while executing "macports::selfupdate [array get global_options] base_updated" Error: Failed to verify signature for MacPorts source! To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: /opt/local/bin/port: port selfupdate failed: Failed to verify signature for MacPorts source!
If it helps, I've tried doing a selfupdate on the machine I set up successfully last week, and it gives the same error. Is there something about the SSL certificate that needs to be updated?
Change History (3)
comment:1 Changed 9 years ago by moderndeveloperllc (Mark Garrett)
Cc: | mark@… added |
---|
comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Component: | base → server/hosting |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Duplicate of #49233.
Cc Me!