LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-10-2006, 02:01 AM   #1
jimc52
Member
 
Registered: Nov 2005
Location: Oregon, USA
Distribution: Linux Mint 8.2
Posts: 48

Rep: Reputation: 15
Python Ver Conflict with python-dev


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:

python.i386 2.4.3-18.fc6 installed
python.i386 2.4.4-1.fc6 installed

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
 
Old 12-10-2006, 06:57 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
What is the output of doing,
Code:
$rpm -qa | grep -i python
 
Old 12-10-2006, 01:05 PM   #3
jimc52
Member
 
Registered: Nov 2005
Location: Oregon, USA
Distribution: Linux Mint 8.2
Posts: 48

Original Poster
Rep: Reputation: 15
Copied your command, ran in terminal, got this...

[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.

Thankee - JimmyCFiverTwo
 
Old 12-10-2006, 01:08 PM   #4
jimc52
Member
 
Registered: Nov 2005
Location: Oregon, USA
Distribution: Linux Mint 8.2
Posts: 48

Original Poster
Rep: Reputation: 15
OK, see what I did wrong here

I just realized you had a $ in front of the rpm command, that explains the don't recognize response.
I tried it again, and here is what I got:

[root@localhost ~]# rpm -qa | grep -i python
gnome-python2-desktop-2.16.0-1.fc6
gnome-python2-applet-2.16.0-1.fc6
gnome-python2-extras-2.14.2-5.fc6
gnome-python2-gnomedesktop-2.16.0-1.fc6
gnome-python2-metacity-2.16.0-1.fc6
libvirt-python-0.1.9-1.fc6
rpm-python-4.4.2-32
notify-python-0.1.0-3.fc6
gnome-python2-gconf-2.16.2-1.fc6
gnome-python2-gda-2.14.2-2.fc6
gnome-python2-libwnck-2.16.0-1.fc6
python-2.4.3-18.fc6
python-elementtree-1.2.6-5
libselinux-python-1.30.29-2
gnome-python2-gtksourceview-2.16.0-1.fc6
python-2.4.4-1.fc6
audit-libs-python-1.3-2.fc6
gnome-python2-canvas-2.16.2-1.fc6
gnome-python2-bonobo-2.16.2-1.fc6
gnome-python2-nautilus-cd-burner-2.16.0-1.fc6
gnome-python2-gtkspell-2.14.2-5.fc6
gnome-python2-devel-2.16.2-1.fc6
python-imaging-1.1.5-6.fc6
dbus-python-0.70-6
python-sqlite-1.1.7-1.2.1
python-numeric-23.7-2.2.2
postgresql-python-8.1.4-1.1
gnome-python2-gnomekeyring-2.16.0-1.fc6
libxml2-python-2.6.27-1.FC6
gnome-python2-libegg-2.14.2-5.fc6
gnome-python2-gtkmozembed-2.14.2-5.fc6
gnome-python2-rsvg-2.16.0-1.fc6
gnome-python2-gtkhtml2-2.14.2-5.fc6
gamin-python-0.1.7-8.fc6
libxml2-python-2.6.26-2.1.1
python-urlgrabber-2.9.9-2
MySQL-python-1.2.1-1
python-ldap-2.2.0-2.1
gnome-python2-gnomevfs-2.16.2-1.fc6
gnome-python2-gda-devel-2.14.2-2.fc6
audit-libs-python-1.2.8-1.fc6
gnome-python2-gnomeprint-2.16.0-1.fc6
python-virtinst-0.95.0-1.fc6
gnome-python2-2.16.2-1.fc6
gnome-python2-totem-2.16.0-1.fc6
gnome-python2-libgtop2-2.16.0-1.fc6
apt-python-0.5.15lorg3.2-8.fc6

What would this tell me and how do I merely uninstall the older python version that is conflicting?

Thanks - JimmyCFiverTwo
 
Old 12-10-2006, 01:21 PM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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
Code:
#rpm -e python-2.4.3-18.fc6
If thats successful, try doing
Code:
#yum install python-devel
 
Old 12-10-2006, 05:31 PM   #6
jimc52
Member
 
Registered: Nov 2005
Location: Oregon, USA
Distribution: Linux Mint 8.2
Posts: 48

Original Poster
Rep: Reputation: 15
That worked! Thank YOU!

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.

Thank you! JimmyCFiverTwo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Processing Conflict: python-devel conflicts python< 2.3.4-13.1 guarriman Fedora 2 04-23-2009 07:02 PM
LXer: Move to python 2.4 / Changing the packaging style for python packages LXer Syndicated Linux News 0 06-13-2006 07:54 PM
python problem - compiled from source - python -V still showing old version txm123 Linux - Newbie 1 02-15-2006 11:05 AM
WineX, python-gnome, and python-gtk DrD Fedora 0 08-03-2004 12:11 PM
Installing Conflict with libxml2-python 2.5.4 Baircomputers Linux - Software 0 07-07-2004 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration