New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #29000 (closed defect: worksforme)

Opened 2 years ago

Last modified 2 years ago

port upgrade, install... fail with "invalid command name registry::exlcusive_lock"

Reported by: andrew.long@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.9.2
Keywords: Cc:
Port:

Description (last modified by jmr@…) (diff)

Ran "sudo port selfupdate" - ran to completion as follows:-

saganami-island:~ andy$ sudo port selfupdate
Password:
Warning: port definitions are more than two weeks old, consider using selfupdate
--->  Updating the ports tree
--->  Updating MacPorts base sources using rsync
MacPorts base version 1.9.2 installed,
MacPorts base version 1.9.2 downloaded.
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated

Then ran sudo port update outdated

saganami-island:~ andy$ sudo port upgrade outdated
Error: Unable to upgrade port: invalid command name "registry::exclusive_lock"
To report a bug, see <http://guide.macports.org/#project.tickets>

SImilar failure when trying to install mercurial

Regards, Andy

Change History

comment:1 Changed 2 years ago by jmr@…

  • Component changed from ports to base
  • Description modified (diff)

Please remember to preview and use WikiFormatting.

I can only guess that your base install is messed up somehow, maybe some files are from an older version.

comment:2 follow-up: ↓ 3 Changed 2 years ago by ryandesign@…

You could try downloading the MacPorts 1.9.2 disk image for your OS version from our download page and installing it again. This will not affect your installed ports.

comment:3 in reply to: ↑ 2 Changed 2 years ago by andrew.long@…

Replying to ryandesign@…:

You could try downloading the MacPorts 1.9.2 disk image for your OS version from our download page and installing it again. This will not affect your installed ports.

That's worked fine. I must admit, I'd downloaded the update last night, and was prepared to re-install it and to re-download all my old ports, but I'm glad that they were preserved.

Thanks and regards, Andy

PS - Would it have been useful to tr to re-build the installation manually? where would I have had to start?

comment:4 Changed 2 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to worksforme

Not quite sure what you mean by re-build the installation manually. You could have installed from source, but that would have had the same effect as installing from the pkg.

Note: See TracTickets for help on using tickets.