Skip to content
This repository was archived by the owner on Oct 19, 2021. It is now read-only.

removal of symlinks fail when target is removed first #51

Closed
michaelrsweet opened this issue Mar 4, 2016 · 2 comments
Closed

removal of symlinks fail when target is removed first #51

michaelrsweet opened this issue Mar 4, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@michaelrsweet
Copy link
Owner

Version: -current
Original reporter: Bill Janssen

I'm seeing a lot of messages in my log like this:

epm: Unable to stat "/vagrant/goodstuff/Package/opt/goodstuff/bin/easy_install-2.7": No such file or directory
epm: Unable to remove "/vagrant/goodstuff/Package/opt/goodstuff/bin": Directory not empty
ESP Package Manager v4.3
Copyright 1999-2007 by Easy Software Products.
... and so forth ...

This winds up leaving lots of packaging junk lying around. easy_install-2.7 is a symlink to easy_install, which gets removed first. Perhaps 'lstat' instead of 'stat'?

@michaelrsweet michaelrsweet added this to the Stable milestone Mar 3, 2017
@michaelrsweet michaelrsweet self-assigned this Mar 11, 2017
@michaelrsweet
Copy link
Owner Author

[master 7e6a771] Fix unlink_directory with symlinks (Issue #51)

@janssen
Copy link

janssen commented Nov 2, 2017

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants