[MacPorts] #49284: Error: Failed to verify signature for MacPorts source!

MacPorts noreply at macports.org
Wed Oct 14 12:02:14 PDT 2015


#49284: Error: Failed to verify signature for MacPorts source!
-------------------------------+--------------------------------
 Reporter:  jianguohsiang82@…  |      Owner:  macports-tickets@…
     Type:  defect             |     Status:  new
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:  2.3.4
 Keywords:                     |       Port:
-------------------------------+--------------------------------
 I realise this is a repeat ticket, but I still don't know what to do.

 {{{#!python
   sudo port selfupdate
   }}}


 returns the error:

 {{{#!python
 --->  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

 {{{#!python
 sudo port -v selfupdate
  }}}

 This outputs

 {{{#!python
 --->  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

 {{{#!python
 sudo port -d selfupdate
  }}}

 will output

 {{{#!python
 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?

-- 
Ticket URL: <https://trac.macports.org/ticket/49284>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list