Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
FC6 on my machine. I am installing a number of packages related to python, such as wxGlade,
wxPython, etc. In trying to update some packages I need from EXTRAS, I have run into a conflict. Apparently, I have two different versions of python, and I would like to remove the OLDER one. Here is what I have:
Apparently, trying to install the python-devel module for version 2.4.4-1 is conflicting with version 2.4.3-18.fc6. Since I don't need the older version any longer, HOW do I get rid of it?
I have tried yum remove, but you see, both versions are python.i386. I tried
yum remove python.i386-2.4.3-18.fc6 and also yum remove python.i386 2.4.3-18.fc6
and neither of these commands works. I am sure there must be a way to remove a specific
version, but that is why I am here asking the question.
I appreciate your help on this one - Thanks - JimmyCFiverTwo
[root@localhost ~]# $rpm -qa | grep -i python
-bash: -qa: command not found
[root@localhost ~]#
I would like to have an explanation of what this command you have given me
does exactly.
I am merely told that I have two versions of python, the older version is conflicting
with the updated python development package. There is another exact problem such as
this on this site, but nobody ever responded to it...so there are no answers.
I merely want to know HOW to uninstall a specific version WITHOUT disturbing a newer
one. I don't want to bolix up the dependencies or screw things up. Apparently,
rpm doesn't have a -qa command or something is missing in my bash shell.
The $ sign represents a command prompt which tells you to run the command that follows as a normal user. If the prompt is a # it means switch to root before running the command.
The output definitely shows two versions of python and its kind of strange because the new version should have uninstalled the old version. Try doing the following
Your response was right on the head. First you have to uninstall the old
version of python using the:
rpm -e python-2.4.3-18.fc6 command first
That was exactly what I needed to know. This should help other people encountering
the same problem. It's the rpm -e command specifically, that does the trick. I went
on ahead after that and updated python-devel and it did it without a flaw.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.