Opened 10 years ago

Closed 9 years ago

#45575 closed defect (worksforme)

MACPORTS update error

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

issuing this:

sudo port -v selfupdate

gives this:

--->  Updating MacPorts base sources using rsync
receiving file list ... done

sent 36 bytes  received 69 bytes  11.05 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!

Failed to verify signature?

Change History (6)

comment:1 Changed 10 years ago by topjetboy@…

i accidentally pasted twice and it won't let me correct my mistake.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Description: modified (diff)
Keywords: update error removed

I've corrected the double-paste.

Does this error occur every time you try to selfupdate? I've never seen this problem before.

comment:3 Changed 10 years ago by topjetboy@…

yes, every time. even after restarting terminal. These are the contents of my opt/local/bin/

drwxr-xr-x   8 root  admin     272 Oct 22 21:47 .
drwxr-xr-x  13 root  admin     442 Oct 22 21:44 ..
-r-xr-xr-x   1 root  admin   37436 Oct 22 21:47 daemondo
-r-xr-xr-x   1 root  admin  183739 Oct 22 21:47 port
lr-xr-xr-x   1 root  admin      40 Oct 22 21:47 port-tclsh -> /opt/local/libexec/macports/bin/tclsh8.5
lr-xr-xr-x   1 root  admin       4 Oct 22 21:47 portf -> port
-r-xr-xr-x   1 root  admin    8582 Oct 22 21:47 portindex
-r-xr-xr-x   1 root  admin    2424 Oct 22 21:47 portmirror

Also, I installed MacPorts on a machine that has homebrew (http://brew.sh) There seems to be some interaction there as well. When I run 'brew doctor' ( a troubleshooting app), I get:

Warning: You have MacPorts or Fink installed:
  /opt/local/bin/port

This can cause trouble. You don't have to uninstall them, but you may want to
temporarily move them out of the way, e.g.

  sudo mv /opt/local ~/macports

I did not move MacPorts however.

Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

We do not support using MacPorts on a machine that has another package manager installed. It causes problems. Please pick one package manager to use, and uninstall the others.

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

You can also try to delete the ports.tar and its signature located somwhere in /opt/local/var/macports and re-run selfupdate (which will re-download the file).

If you really must use multiple package managers, do yourself a favour and always use port -t. It'll be slower, but avoid problems.

comment:6 Changed 9 years ago by larryv (Lawrence Velázquez)

Resolution: worksforme
Status: newclosed

No response in 8 months.

Note: See TracTickets for help on using tickets.