[MacPorts] #30356: Port 2.0.0 port upgrade fails

MacPorts noreply at macports.org
Mon Jul 25 00:50:01 PDT 2011


#30356: Port 2.0.0 port upgrade fails
--------------------------------+-------------------------------------------
 Reporter:  blattnem@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  base                |     Version:  2.0.0                                
 Keywords:                      |        Port:                                       
--------------------------------+-------------------------------------------
Changes (by jmr@…):

  * component:  ports => base


Old description:

> I moved to Mac OS Lion and updated port to 2.0.0. Everything went
> smoothly. But now I am unable to do: port upgrade outdated (does not work
> for any package). I get errors like:
>
> --->  Cleaning perl5.12
> --->  Unable to uninstall perl5.12 @5.12.3_1, the following ports depend
> on it:
> --->    perl5 @5.12.3_1+perl5_12
> Warning: Uninstall forced.  Proceeding despite dependencies.
> --->  Uninstalling perl5.12 @5.12.3_1
> Error: Uninstall perl5.12 5.12.3_1 failed: error deleting
> "/opt/local/var/macports/software/perl5.12/5.12.3_1": directory not empty

New description:

 I moved to Mac OS Lion and updated port to 2.0.0. Everything went
 smoothly. But now I am unable to do: port upgrade outdated (does not work
 for any package). I get errors like:
 {{{
 --->  Cleaning perl5.12
 --->  Unable to uninstall perl5.12 @5.12.3_1, the following ports depend
 on it:
 --->    perl5 @5.12.3_1+perl5_12
 Warning: Uninstall forced.  Proceeding despite dependencies.
 --->  Uninstalling perl5.12 @5.12.3_1
 Error: Uninstall perl5.12 5.12.3_1 failed: error deleting
 "/opt/local/var/macports/software/perl5.12/5.12.3_1": directory not empty
 }}}

--

Comment:

 Looks like the last part of the selfupdate failed; the port image should
 be an archive, not a directory. SHow the output of
 {{{
 sudo port -df selfupdate
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/30356#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list