port -u upgrade outdated

Thomas De Contes d.l.tDeContes at free.fr
Mon Oct 22 19:08:30 PDT 2007


Le 22 oct. 07 à 11:17, William Davis a écrit :

>
> On Oct 21, 2007, at 8:01 PM, Thomas De Contes wrote:
>
>> i don't use -nf more, i think it's not the right way
>> i use "port upgrade outdated", wasting some disk space, waiting to  
>> be able to do "port -u upgrade outdated"
>>
>> but on the computer where i made tests with "port -nfu upgrade  
>> outdated", i don't know how to recover tiff,
>> even with "port clean tiff" it doesn't works :-(
>
> If you are saying that upgrading is leaving a bunch of inactive old  
> versions of ports lying around then why not use
>
> sudo port -d uninstall inactive
>
> to remove them?
>
> If you want to be safe you can always do:
>
> port list inactive
>
> first to see what will go away.
>
> but Im no expert so you may want another opinion.

thomas% port list inactive
glib2                          @2.14.2         devel/glib2
gtk2                           @2.12.1         x11/gtk2
libpng                         @1.2.22         graphics/libpng
mpfr                           @2.3.0          devel/mpfr
openssl                        @0.9.8f         devel/openssl
pango                          @1.18.3         x11/pango
sqlite3                        @3.5.1          databases/sqlite3
thomas% port -d uninstall inactive
DEBUG: gtk2 depends on this port
DEBUG: atk depends on this port
DEBUG: pango depends on this port
DEBUG: pango depends on this port
DEBUG: gtk2 depends on this port
--->  Unable to uninstall glib2 2.14.1_0, the following ports depend  
on it:
--->    gtk2
--->    atk
--->    pango
--->    pango
--->    gtk2
DEBUG: Please uninstall the ports that depend on glib2 first.
     while executing
"portuninstall::uninstall $portname [composite_version $portversion  
[array get variations]] [array get options]"
Error: port uninstall failed: Please uninstall the ports that depend  
on glib2 first.
thomas% port list inactive
glib2                          @2.14.2         devel/glib2
gtk2                           @2.12.1         x11/gtk2
libpng                         @1.2.22         graphics/libpng
mpfr                           @2.3.0          devel/mpfr
openssl                        @0.9.8f         devel/openssl
pango                          @1.18.3         x11/pango
sqlite3                        @3.5.1          databases/sqlite3


-- 
j'agis contre l'assistanat, je travaille dans une SCOP !




More information about the macports-users mailing list