You are not logged in.
I have a problem where I installed a program (fail2ban) earlier from the sources and it used a python setup script to install. Now I noticed that pacman also offers fail2ban. I want to keep my system clean so I want to first remove the version I installed from sources but I cannot find any way to do that. The readme told me to install using "python setup.py install" but there is no "python setup.py uninstall" or anything similar. I am getting very frustrated about this issue.
Last edited by Sekra (2009-04-12 09:47:56)
Offline
There may be something like "python setup.py uninstall"
Offline
The readme told me to install using "python setup.py install" but there is no "python setup.py uninstall" or anything similar.
Ehm?
Offline
If you can't find a clear list of files that it installed and other changes that it made, you could try using pacpal's "--list-unpkgd" option if you have an idea of where it's installed.
You could also just force-install the pacman package and hope that it overwrites all of the manually installed files.
The last thing that I can think of is manually installing fail2ban in a chroot and then checking what files it creates.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Sekra wrote:The readme told me to install using "python setup.py install" but there is no "python setup.py uninstall" or anything similar.
Ehm?
HAHA! I should read things more carefully... If you know some python, you can also look at the setup.py script and see what it installs.
Offline
solved the problem by removing everything I could find with 'locate fail2ban'.. I hope I didnt break anything by doing that
Offline
Or you can see what has been installed by running setup.py again with --root=/some/dir, and then looking in /some/dir.
Offline
tag [SOLVED] ?
When everything's coming your way, you're in the wrong lane I say.
FAQ / Beginners Guide / The Arch Way
Offline
Or you can see what has been installed by running setup.py again with --root=/some/dir, and then looking in /some/dir.
Dont want to mess up the system. I'm amazed how ppl tell that linux is advanced and stuff but then you cant find a simple uninstall command for things like this.
Offline
tomk wrote:Or you can see what has been installed by running setup.py again with --root=/some/dir, and then looking in /some/dir.
Dont want to mess up the system. I'm amazed how ppl tell that linux is advanced and stuff but then you cant find a simple uninstall command for things like this.
No different from windows.
Anyway, this is why package managers like pacman exists. You should have used it in the first place
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
tomk wrote:Or you can see what has been installed by running setup.py again with --root=/some/dir, and then looking in /some/dir.
Dont want to mess up the system. I'm amazed how ppl tell that linux is advanced and stuff but then you cant find a simple uninstall command for things like this.
That won't mess up your system. Anyway, be amazed that the developer of that particular program didn't provide a way to uninstall it.
Last edited by moljac024 (2009-04-12 12:18:35)
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Sekra wrote:tomk wrote:Or you can see what has been installed by running setup.py again with --root=/some/dir, and then looking in /some/dir.
Dont want to mess up the system. I'm amazed how ppl tell that linux is advanced and stuff but then you cant find a simple uninstall command for things like this.
That won't mess up your system. Anyway, be amazed that the developer of that particular program didn't provide a way to uninstall it.
Sadly, setuptools is a mess
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline