Removing out-of-date packages
Altoine Barker
ndiscreet at gmail.com
Thu Feb 1 08:36:55 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Try:
sudo port -v uninstall optipng @0.5.4
I think that is the command line that should work for you. HTH
- -Altoine
Elias Pipping wrote:
> 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
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFwhcmS0foIafBdlkRAlT4AJ9Jh3yopH89fZ8pNlqBMPX7QGGQTwCfasCL
EOp6T6wfjkX71tpND2CeWy0=
=dHoI
-----END PGP SIGNATURE-----
More information about the macports-users
mailing list