Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#27382 closed defect (fixed)

FAILURE of 'port uninstall --follow-dependencies' with flat registry

Reported by: sebascabot@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 2.0.0
Component: base Version: 1.9.2
Keywords: Cc:
Port:

Description

I always get the error

Error: port uninstall failed: can't read "port": no such variable

When performing an uninstall command with the --follow-dependencies option.

Ex.

sudo port uninstall --follow-dependencies gzip
--->  Deactivating gzip @1.4_0
Error: port uninstall failed: can't read "port": no such variable

Then, running the command in debug mode give me this:

sudo port -d uninstall --follow-dependencies gzip
DEBUG: can't read "port": no such variable
    while executing
"$port negated_variants"
    (procedure "registry_uninstall::uninstall" line 205)
    invoked from within
"registry_uninstall::uninstall $portname $composite_version [array get options]"
Error: port uninstall failed: can't read "port": no such variable

Change History (2)

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

Keywords: uninstall --follow-dependencies removed
Milestone: MacPorts Future
Resolution: fixed
Status: newclosed
Summary: FAILURE of 'port uninstall --follow-dependencies'FAILURE of 'port uninstall --follow-dependencies' with flat registry

r73640 - You really want to switch to sqlite anyway.

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

Milestone: MacPorts FutureMacPorts 2.0.0
Note: See TracTickets for help on using tickets.