New submission from Vetoshkin Nikita <nikita.vetosh...@gmail.com>:

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.

----------
assignee: eric.araujo
components: Distutils2
messages: 161042
nosy: alexis, eric.araujo, nvetoshkin, tarek
priority: normal
severity: normal
status: open
title: os.rename should not be used
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14848>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to