Opened 13 years ago

Last modified 13 years ago

#30356 closed defect

Port 2.0.0 port upgrade fails — at Version 1

Reported by: blattnem@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.0.0
Keywords: Cc:
Port:

Description (last modified by jmroot (Joshua Root))

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

Change History (1)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Component: portsbase
Description: modified (diff)

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
Note: See TracTickets for help on using tickets.