Opened 13 years ago

Closed 13 years ago

#29000 closed defect (worksforme)

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 jmroot (Joshua Root))

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 (4)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Component: portsbase
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 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

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 13 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 13 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

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.