Opened 8 years ago

Closed 7 years ago

#53220 closed defect (invalid)

Systematic error message : "Warning: Failed to verify signature for archive!"

Reported by: mgsn4ke Owned by:
Priority: Normal Milestone:
Component: base Version: 2.3.5
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port:

Description

Hi guys,

Whatever port I try to install, I get an error message saying that it failed to verify the signature of the archive.

Example for zlib :

sudo port install zlib
--->  Fetching archive for zlib
--->  Attempting to fetch zlib-1.2.10_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/zlib
--->  Attempting to fetch zlib-1.2.10_0.darwin_16.x86_64.tbz2.rmd160 from https://packages.macports.org/zlib
Warning: Failed to verify signature for archive!
Error: org.macports.archivefetch for port zlib returned: archivefetch failed for zlib @1.2.10_0
Please see the log file for port zlib for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_zlib/zlib/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port zlib failed

Example for port selfupdate :

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!

Example for port -v selfupdate

port -v selfupdate
--->  Updating MacPorts base sources using rsync
rsync: getaddrinfo: rsync.macports.org 873: nodename nor servname provided, or not known
rsync error: error in socket IO (code 10) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-51/rsync/clientserver.c(106) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 10
Error: Error synchronizing MacPorts sources: command execution failed
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed

Do you have a explanation for that ? I tried to switch to other internet networks but still got the same issue.

Thanks in advance for your help.

Cheers,

Thomas

Change History (3)

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase

Sounds like there is a problem with your operating system. It's difficult for me to speculate what that problem might be.

Signature verification happens with openssl, so you could check whether you are able to run openssl commands yourself.

The rsync problem might be unrelated. People often have problems connecting to rsync servers on certain types of networks.

comment:2 Changed 8 years ago by jmroot (Joshua Root)

Could be the same issue as #50867; can't tell without the debug output in the log.

comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added
Resolution: invalid
Status: newclosed

Reopen if you still have issues - also attach main.log if you do so

Note: See TracTickets for help on using tickets.