This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nvetoshkin
Recipients alexis, eric.araujo, nvetoshkin, tarek
Date 2012-05-18.08:50:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337331032.2.0.780379839017.issue14848@psf.upfronthosting.co.za>
In-reply-to
Content
When I attempt to remove package with pysetup remove 'package-name' on Fedora 17 - it fails with:
'my-package' cannot be removed
Error: [Errno 18] Invalid cross-device link

strace'ing showed that there was an attempt to call rename from package dir into /tmp which is tmpfs.

Proposed fix is trivial - use shutil.move instead of barebone os.rename.
History
Date User Action Args
2012-05-18 08:50:32nvetoshkinsetrecipients: + nvetoshkin, tarek, eric.araujo, alexis
2012-05-18 08:50:32nvetoshkinsetmessageid: <1337331032.2.0.780379839017.issue14848@psf.upfronthosting.co.za>
2012-05-18 08:50:31nvetoshkinlinkissue14848 messages
2012-05-18 08:50:31nvetoshkincreate