[MacPorts] #50527: 'sudo port clean' fails
MacPorts
noreply at macports.org
Wed Feb 3 20:21:07 PST 2016
#50527: 'sudo port clean' fails
-----------------------+--------------------------------
Reporter: bmayer@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: invalid | Keywords:
Port: |
-----------------------+--------------------------------
Changes (by ryandesign@…):
* status: new => closed
* cc: ryandesign@… (added)
* resolution: => invalid
Old description:
> I was performing a 'upgrade outdated' and ran into the issue:
> $ time sudo port upgrade outdated
> Password:
> ---> Computing dependencies for qwt61
> Error: Unable to exec port: Can't install qwt61 because conflicting ports
> are active: qwt52
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
>
> The next step is to do a 'sudo port clean' as near as I can tell, but
> that appears to have confused itself.
>
> $ sudo port clean
> Can't map the URL 'file://.' to a port description file ("Could not find
> Portfile in /Users/xok").
> Please verify that the directory and portfile syntax are correct.
> To use the current port, you must be in a port's directory.
New description:
I was performing a 'upgrade outdated' and ran into the issue:
{{{
$ time sudo port upgrade outdated
Password:
---> Computing dependencies for qwt61
Error: Unable to exec port: Can't install qwt61 because conflicting ports
are active: qwt52
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
}}}
The next step is to do a 'sudo port clean' as near as I can tell, but that
appears to have confused itself.
{{{
$ sudo port clean
Can't map the URL 'file://.' to a port description file ("Could not find
Portfile in /Users/xok").
Please verify that the directory and portfile syntax are correct.
To use the current port, you must be in a port's directory.
}}}
--
Comment:
You did not tell MacPorts what port you wanted to clean.
However, cleaning won't help in this case. The messages is quite clear:
you can't install qwt61 because the conflicting port qwt52 is already
active. Decide which of those two ports you want, and uninstall the other.
--
Ticket URL: <https://trac.macports.org/ticket/50527#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list