[MacPorts] #35599: "port uninstall inactive" unable to remove p5-xml-parser
MacPorts
noreply at macports.org
Wed Aug 8 16:00:51 PDT 2012
#35599: "port uninstall inactive" unable to remove p5-xml-parser
-------------------------------------+--------------------------------------
Reporter: sam.halliday@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: duplicate | Keywords:
Port: policykit |
-------------------------------------+--------------------------------------
Changes (by ryandesign@…):
* status: new => closed
* resolution: => duplicate
* port: => policykit
Old description:
> When running the above command, I get the following failure, which
> happens quite often (not always the same packages)
>
> ===================
> $ sudo port uninstall inactive
> ---> Unable to uninstall p5-xml-parser @2.400.0_4, the following ports
> depend on it:
> ---> policykit @0.103_1
> Error: org.macports.uninstall for port p5-xml-parser returned: Please
> uninstall the ports that depend on p5-xml-parser first.
> Please see the log file for port p5-xml-parser for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_p5
> -xml-parser_2.400.0_4/p5-xml-parser/main.log
> Warning: Failed to execute portfile from registry for p5-xml-parser
> @2.400.0_4
> ---> Unable to uninstall p5-xml-parser @2.400.0_4, the following ports
> depend on it:
> ---> policykit @0.103_1
> Error: port uninstall failed: Please uninstall the ports that depend on
> p5-xml-parser first.
> ===================
>
> I consider this to be a bug because nothing should be marked as
> "inactive" if it is actually being used by something else.
>
> In order to uninstall any other "inactive" ports (if there are any), I
> usually have to specify their version number, e.g. sudo port uninstall
> py27-lxml @2.3_0
>
> FYI...
>
> $sudo port list inactive
> p5-xml-parser @2.400.0 perl/p5-xml-parser
New description:
When running the above command, I get the following failure, which happens
quite often (not always the same packages)
{{{
$ sudo port uninstall inactive
---> Unable to uninstall p5-xml-parser @2.400.0_4, the following ports
depend on it:
---> policykit @0.103_1
Error: org.macports.uninstall for port p5-xml-parser returned: Please
uninstall the ports that depend on p5-xml-parser first.
Please see the log file for port p5-xml-parser for details:
/opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_p5
-xml-parser_2.400.0_4/p5-xml-parser/main.log
Warning: Failed to execute portfile from registry for p5-xml-parser
@2.400.0_4
---> Unable to uninstall p5-xml-parser @2.400.0_4, the following ports
depend on it:
---> policykit @0.103_1
Error: port uninstall failed: Please uninstall the ports that depend on p5
-xml-parser first.
}}}
I consider this to be a bug because nothing should be marked as "inactive"
if it is actually being used by something else.
In order to uninstall any other "inactive" ports (if there are any), I
usually have to specify their version number, e.g. sudo port uninstall
py27-lxml @2.3_0
FYI...
{{{
$sudo port list inactive
p5-xml-parser @2.400.0 perl/p5-xml-parser
}}}
--
Comment:
It was an error for a dependency on p5-xml-parser to have been added to
the policykit port. #34731 is the ticket requesting that this be fixed.
FYI, [wiki:FAQ#portlist "port list" doesn't do what you think it does].
--
Ticket URL: <https://trac.macports.org/ticket/35599#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list