-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip uninstall removes "/var/*" #55
Comments
What version of pip? This is pretty strange, I've not run into it. |
centos 6.4 |
distribute 0.6.45 |
Thanks, I'll try and replicate. |
My team has encountered this same issue and unfortunately lost three servers in the process. In trying to investigate further, I found this issue raised against the "pip" project apparently describing the same problem. The issue was subsequently passed off to the "distribute" project by raising this issue, which is still open. Irrespective of whether the root cause of this problem is due to a defect in another project, it would be nice to make the necessary changes to this project such that others don't experience the same surprise. Apparently this is caused by empty file lists getting passed to the "data_files" argument of the "setup(...)" function called in the "setup.py" file. For anyone who is interested, my fork contains a tentative fix for this issue. I have asked one of my team members to validate the fix. If all is well, I'll submit a pull request for the change. |
I apologize for the trouble and appreciate the patch. |
Can you submit this as a pull request please? |
No worries. The pull request has been submitted. |
Fix for issue #55 where the "/var" directory was being deleted during uninstallation
When will this change be in a release? I just ran into the same issue. |
1.0.13 will be "very soon" |
Although this bug has been fixed, we'd appreciate some kind of warning. Thru NewRelic, you know who's got the plugin installed, and from there you should send out an alert. Today we just lost our production server, and has probably lost several hours of work (thank God for backups, at least). Shame on you! |
NewRelic did send a warning to every account that installed it. Sorry that you lost your server and the work involved to recover it. |
This is kinda critical.
I installed the plugin, then decided to reinstall it. Soon after the host I was doing it on collapsed.![screenshot from 2013-06-27 22 02 37](https://camo.githubusercontent.com/799d355dcff176fecfa1f31d00321324cd4f9aeaae772c98bc4e34435809ac14/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3339383738312f3731373833332f31666137643937382d646635352d313165322d393266352d6136363663656131373266372e706e67)
Investigating the issue uncovered that "pip uninstall" removed everything under "/var"
See screenshot
The text was updated successfully, but these errors were encountered: