LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-19-2011, 12:25 PM   #1
thebombzen
Member
 
Registered: Dec 2010
Location: Noneya Business
Distribution: Linux Mint
Posts: 56

Rep: Reputation: 5
Question Fake python 2.6 installation when 2.7 is installed


I have a package (mlt-python to be exact) which can be found here: http://download1.rpmfusion.org/free/...ent/x86_64/os/ and it requires python 2.6.

When I try to install it with yum, I get this error:

[root@chessman Downloads]# yum localinstall mlt-python-0.5.4-1.fc14.x86_64.rpm
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Local Package Process
Examining mlt-python-0.5.4-1.fc14.x86_64.rpm: mlt-python-0.5.4-1.fc14.x86_64
Marking mlt-python-0.5.4-1.fc14.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package mlt-python.x86_64 0:0.5.4-1.fc14 set to be installed
--> Processing Dependency: python(abi) = 2.6 for package: mlt-python-0.5.4-1.fc14.x86_64
--> Finished Dependency Resolution
Error: Package: mlt-python-0.5.4-1.fc14.x86_64 (/mlt-python-0.5.4-1.fc14.x86_64)
Requires: python(abi) = 2.6
Installed: python-2.7-8.fc14.1.x86_64 (@anaconda-InstallationRepo-201010211827.x86_64)
python(abi) = 2.7
Available: python3-3.1.2-14.fc14.i686 (fedora)
python(abi) = 3.1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@chessman Downloads]#


So Apparently I have python 2.7 and it needs python 2.6. Great. Is there a package that fakes python-2.6 and install anything?
 
Old 01-20-2011, 11:19 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,531

Rep: Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622
python 2.6 can be installed along side 2.7
BUT and this is a VERY big warning
2.6 MUST NOT NOT be installed normally
DO NOT build it and install it in /usr

build [--prefix=???] ( or copy the prebuilt 2.6) to /usr/opt/python2.6 , or /usr/local/python2.6

then you need to BUILD( yes from the source code -- NO rpm's) the program that needs the older stable 2.6
and point the configure to the 2.6 version

this IS a pain in the bleep so ...
BUT that is one of the problems with fedora it is TOO CUTTING EDGE at times


also you DO KNOW that that "development/x86_64/os/" is
for the NEXT version of fedora , Fedora 15 and NOT FOR 14 that is one of the "rawhide" archives
and is not 100% compatible with 14

also why are you dl'ing loose rpms and using "localinstall"

Last edited by John VV; 01-20-2011 at 11:31 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Python Installed; bash command: python base.py. gets syntax error in base.py cre84j Linux - Software 4 01-23-2011 05:46 PM
How do I fake an RPM file being installed? herby1620 Fedora 4 10-08-2010 03:01 AM
How can I uninstall a python package installed with python setup.py install? milomak Linux - Software 1 11-16-2009 10:22 PM
Why dbus-python is installed, but it is flagged as not installed? redhatwannabe Linux - Enterprise 2 09-26-2009 04:08 AM
python how to work with fake csv donnied Programming 2 09-29-2008 07:05 AM

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

All times are GMT -5. The time now is 10:40 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