#30441 closed defect (worksforme)
2.0.0 port -u command fails
Reported by: | wiarda@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.0.0 |
Keywords: | Cc: | ||
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Since updating to 2.0.0 by selfupdate my port -u upgrade outdated fails to install more than one outdated port. It dies on:
---> Uninstalling cairo @1.10.2_3 Error: Uninstall cairo @1.10.2_3 failed: error deleting "/opt/local/var/macports/software/cairo/1.10.2_3": directory not empty To report a bug, see <http://guide.macports.org/#project.tickets>
Attachments (1)
Change History (7)
comment:1 Changed 13 years ago by wiarda@…
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | 2.0.0 removed |
Type: | update → defect |
Clean everything.
sudo port clean all
If any port fails to clean with a message about a directory it can't delete, delete the directory manually.
comment:3 Changed 13 years ago by jmroot (Joshua Root)
Did your selfupdate actually succeed, or did it fail at the very end while trying to convert your images? Show the output of
sudo port -df selfupdate
Changed 13 years ago by wiarda@…
Attachment: | base-fail.txt added |
---|
comment:4 Changed 13 years ago by wiarda@…
Thanks for that amazingly fast response. It worked and the outdated files are now uninstalled and cleaned. I attached the output of the forced selfupdate in case it is of use; I guess the original installation failed and I didn't notice.
comment:5 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Hmm, OK. It would be nice to find out why it failed the first time, but I guess we'll never know.
comment:6 Changed 13 years ago by lhl@…
Just an FYI, I've come across a similar problem after a selfupdate to 2.0.0 and upgrade on an otherwise rather normal/lightly used 1.9.2 MacPorts. After the upgrade and selfupdate, running 'port uninstall inactive' gives a 'directory not empty' error for every package. After re-running selfupdate w/ the '-df' flags, this was fixed. It seems there are a few people having similar issues post 2.0 upgrade, like #30311
Replying to wiarda@…:
macbook 2 GHz Intel Core Duo, OSX 10.6.8