Removing out-of-date packages

Elias Pipping pipping at math.fu-berlin.de
Thu Feb 1 07:47:13 PST 2007


On Feb 1, 2007, at 2:54 PM, Daniel J. Luke wrote:
> On Feb 1, 2007, at 7:57 AM, Chris Jefferson wrote:
>> Hello, thank you.
>>
>> I get the following error message:
>>
>> ~$ sudo port uninstall inactive
>> --->  Unable to uninstall apr 1.2.7_0, the following ports depend  
>> on it:
>> --->    apr-util
>> --->    subversion
>> --->    apr-util
>> --->    subversion
>> --->    apr-util
>> Error: port uninstall failed: Please uninstall the ports that depend
>> on apr first.
>
> sudo port -f uninstall inactive

"inactive" is somewhat broken, i believe. (that's why i wouldn't  
recommend using "sudo port -f uninstall inactive" but a "port  
uninstall inactive" first to make sure the right things are uninstalled.

e.g. i had optipng 0.5.4, upgraded to 0.5.5.

so 0.5.4 is inactive, 0.5.5 is active

"port list inactive" lists optipng 0.5.5
"(sudo) port uninstall inactive" uninstalls optipng 0.5.5

also, "port list inactive" appears to display every single port there  
is (yes even those you don't have installed) if you don't have any  
inactive ports.


Elias Pipping





More information about the macports-users mailing list