CarbonHeaders obsolete: uninstall dependencies

Ryan Schmidt ryandesign at macports.org
Mon Jan 19 16:32:50 PST 2015


On Jan 19, 2015, at 6:08 PM, Tim Johnson wrote:

> * Lawrence Velázquez <larryv at macports.org> [150119 13:53]:
>> On Jan 19, 2015, at 5:30 PM, Tim Johnson <tim at akwebsoft.com> wrote:
>> 
>>> Since I have only entry - level knowledge of macports, and I don't
>>> wish to do "damage" I'm must ask :
>>> 
>>> Is this just a matter of running 
>>> sudo port libunwind-headers ?
>>> and then
>>> sudo port uninstall CarbonHeaders ?
>> 
>> Hi Tim,
>> 
>> You probably don't need to keep libunwind-headers installed, so the easiest resolution would be to uninstall them both.
>> 
>>    % sudo port uninstall --follow-dependencies libunwind-headers
>   This command failed for me:
> See the following screen dump :
> ###################################################################
> linus:~ tim$ sudo port uninstall --follow-dependencies libunwind-headers
> Password:
> --->  The following versions of libunwind-headers are currently installed:
> --->      libunwind-headers @30_4
> --->      libunwind-headers @35.1_0
> --->      libunwind-headers @35.1_1
> --->      libunwind-headers @35.3_0
> --->      libunwind-headers @3.5.0_3 (active)
> Error: port uninstall failed: Registry error: Please specify the full version as recorded in the port registry.
> linus:~ tim$ sudo port uninstall --follow-dependencies libunwind-headers @3.5.0_3
> --->  Deactivating libunwind-headers @3.5.0_3
> --->  Cleaning libunwind-headers
> --->  Uninstalling libunwind-headers @3.5.0_3
> --->  Cleaning libunwind-headers
> linus:~ tim$ sudo port uninstall CarbonHeaders
> --->  Unable to uninstall CarbonHeaders @18.1_2, the following ports depend on it:
> --->  	libunwind-headers @35.3_0
> Error: org.macports.uninstall for port CarbonHeaders returned: Please uninstall the ports that depend on CarbonHeaders first.
> ###################################################################
> Then I tried
> linus:~ tim$ sudo port uninstall --follow-dependencies libunwind-headers @3.5.0_0
> Error: port uninstall failed: Registry error: libunwind-headers @3.5.0_0 not registered as installed
> ###################################################################
> 
> Please advise ...

When you have multiple versions of a port installed, which you do for libunwind-headers, you must specify which version you want to uninstall when you uninstall. You did this once for 3.5.0_3; do it again for each other version you have installed. Or just run:

sudo port -u upgrade libunwind-headers

to upgrade libunwind-headers to the latest version and uninstall all older ones.







More information about the macports-users mailing list