Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#49284 closed defect (duplicate)

Error: Failed to verify signature for MacPorts source!

Reported by: jianguohsiang82@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port:

Description

I realise this is a repeat ticket, but I still don't know what to do.

  sudo port selfupdate

returns the error:

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

So, I try

sudo port -v selfupdate

This outputs

--->  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  74.67 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 MacPorts source!

and

sudo port -d selfupdate

will output

DEBUG: Copying /Users/MYNAME/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  42.00 bytes/sec
total size is 27013120  speedup is 257267.81
receiving file list ... done

sent 36 bytes  received 76 bytes  74.67 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!

How should I solve this?

Change History (2)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed

Duplicate of #49233.

comment:2 in reply to:  1 Changed 9 years ago by jianguohsiang82@…

Replying to mf2k@…:

Duplicate of #49233.

Yes, but how can I solve this?

  sudo port sync

doesn't work

Note: See TracTickets for help on using tickets.