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.
Hi i just updated python on my system, because of a needed dependency, (im running RH8) the thing is that after i installed the rpm (believe me when i say i have tried every way described by python.org my rpm database still says I running the old version (2.2.1) while python -V command says I am running 3.4.
Is this just the database not updating or what? I need this new version of python to install bittorrent. Thanks alot
Thanks for the response. I will try rpm --rebuildb and see if it works. As for the bittorrent rpm's, I have one but it yells at me about dependencies. Of course these dependencies, depends on others which eventually leads to the new python version.
Unfortunately what you suggested did not work, Python is still v. 2.2 in the dbase.
Is really confusing because there seems two be 2 python programs on the system but they both are the same version. When i run python -V i get: 2.3.4 and when i run python2.3 -v i get the same.
I am so confused, feels like I tried everything. Any suggestions are most welcome. Thx
I think I know what I did wrong (problem aint fixed yet but I "feel" like im closer). Anyways the fault was partly mine, partly python.org's (when I say party, I mean 99.9% mine and .1% python.org's) Upon closer examination of the upgrade options it says:
Quote:
Edit the .spec file and change the "config_binsuffix" line to "none".
Which i had missed on my first run through. So i removed the last rpm install i did (the one that didnt work) and did as the instructions instructed and things started looking better (eg. the rpms that resulted had 'python' in the file name and not 'python2.3') So I went to install the first of the rpm's and this is what I got:
Quote:
error: Failed dependencies:
python2 is needed by (installed) pyxf86config-0.3.1-2
python2 is needed by (installed) redhat-config-keyboard-1.0.1-1
python2 >= 2.2 is needed by (installed) orbit-python-1.99.0-4
python2 is needed by (installed) redhat-config-rootpassword-1.0.1-1
python2 is needed by (installed) redhat-config-soundcard-1.0.1-2
python2 is needed by (installed) redhat-config-xfree86-0.6.7-1
python2 is needed by (installed) redhat-config-mouse-1.0.1-2
python2 is needed by (installed) redhat-config-language-1.0.1-6
python2 is needed by (installed) redhat-logviewer-0.8.3-2
python2 is needed by (installed) redhat-config-kickstart-2.3.3-3
python2 >= 2.2 is needed by (installed) pygtk2-1.99.12-7
python2 is needed by (installed) redhat-config-users-1.1.1-2
python2 is needed by (installed) redhat-config-securitylevel-1.0.1-1
python2 is needed by (installed) redhat-config-date-1.5.2-10
Distutils is needed by (installed) 4Suite-0.11.1-10
python = 2.2.1 is needed by (installed) sip-3.3.2-4
/usr/bin/python2.2 is needed by (installed) redhat-config-keyboard-1.0.1-1
/usr/bin/python2.2 is needed by (installed) redhat-config-rootpassword-1.0.1-1
/usr/bin/python2.2 is needed by (installed) redhat-config-soundcard-1.0.1-2
/usr/bin/python2.2 is needed by (installed) rhpl-0.51-1
/usr/bin/python2.2 is needed by (installed) redhat-config-mouse-1.0.1-2
/usr/bin/python2.2 is needed by (installed) firstboot-1.0.1-10
/usr/bin/python2.2 is needed by (installed) comps-extras-8.0-3
/usr/bin/python2.2 is needed by (installed) redhat-config-language-1.0.1-6
/usr/bin/python2.2 is needed by (installed) redhat-logviewer-0.8.3-2
/usr/bin/python2.2 is needed by (installed) redhat-config-kickstart-2.3.3-3
/usr/bin/python2.2 is needed by (installed) redhat-config-users-1.1.1-2
/usr/bin/python2.2 is needed by (installed) redhat-config-securitylevel-1.0.1-1
/usr/bin/python2.2 is needed by (installed) authconfig-gtk-4.2.12-3
/usr/bin/python2.2 is needed by (installed) redhat-config-date-1.5.2-10
/usr/bin/python2.2 is needed by (installed) redhat-config-network-1.1.20-1
Python2.2 is the one I think is currently installed on my system. Doing a rpm -U , a rpm -I , a rpm -U --force, and a rpm -i --force results in the same output.
So I ask you is there a way to solve my problems? I get the feeling after these packages are installed, my problem will be no more (hopefully). Also the python site recommends not to upgrade the system python (which is 2.2 currently), because it says there might be problems. But I think this is the only was to do what I want to do. ( i have already attempted compiling python2.3 from source and all works well but i have same dependency problems with bittorrent). Anyone got any suggestions??
I removed each of the rpm's from the database by issuing a rpm -e --nodeps rpm_name then immediately installed the corresponding one created by the spec file with rpm -ivh rpm_name
This worked and now python is upgraded. Of course this didnt solve my bittorrent problem because it says its dependent on python-base. I downloaded this and tries to rpm install it but got another dependency error:
Quote:
error: Failed dependencies:
libpython2.3 = 2.3-3mdk is needed by python-base-2.3-3mdk
libintl.so.2 is needed by python-base-2.3-3mdk
libpython2.3.so.1.0 is needed by python-base-2.3-3mdk
The only thing that I can find that looks somewhat related to one of those entries is libpython2.3.a which is located in the python-devel package
Anyone know where i can find these? Or what I should do?
Thanks alot for your help (and dont worry if your not an expert, Im not either, thats whats so great about linux ) As you requested here are the rpm's that I have tried to install along with their corresponding dependency errors:
The bittorrent rpm:
bittorrent-3.2.1b-6mdk.noarch.rpm
And its errors:
Thanks alot for your help (and dont worry if your not an expert, Im not either, thats whats so great about linux ) As you requested here are the rpm's that I have tried to install along with their corresponding dependency errors:
The bittorrent rpm:
bittorrent-3.2.1b-6mdk.noarch.rpm
And its errors:
Quote:
error: Failed dependencies:
python-base >= 2.3 is needed by bittorrent-3.2.1b-6mdk
python-base is needed by bittorrent-3.2.1b-6mdk
So i downloaded python base in the following rpm:
python-base-2.3-3mdk.i586.rpm
And its errors:
Quote:
error: Failed dependencies:
libpython2.3 = 2.3-3mdk is needed by python-base-2.3-3mdk
libintl.so.2 is needed by python-base-2.3-3mdk
libpython2.3.so.1.0 is needed by python-base-2.3-3mdk
Im actually running Red Hat 8 and not mandrake. (Does the mdk in the rpm's mean ifs for madrake??)
Anyways I will try your links.
Thanks for all the help!!! It is greatly appreciated
I know both mandrake and RH use rpm's for their package system, so if a package w/ mdk in the filename indicates a mandrake package, will it work w/ RH and vice versa?
Finally after going through a dependency hell I installed bittorrent. I would like to offer my sincerest thanks to you MikeBest for helping me out with my problem If you are ever in need of a solution in the future please feel free to email me or pm me (cant say i will be able to solve the problem but ill definetly give it a try )
Anyways for everyone who has a similar problem to mine in the future, these are the packages I installed to solve my problem (though not in this order):
1. bittorrent-3.2.1b-6mdk.noarch.rpm
2. libintl2-0.13.1-1mdk.i586.rpm
3. libpython2.3-2.3-3mdk.i586.rpm
4. libpython2.3-devel-2.3.3-2mdk.i586.rpm
5. python2.3-2.3.4-2pydotorg.src.rpm (see above posts about how to install this one)
6. python-base-2.3-3mdk.i586.rpm
Now i get to figure out how to use bittorrent
Once again thanks MikeBest
Your very welcome movitto, thanks for the offer of future help.
Just to clear up about the mdk on rpms, from the Mandrake RPM HOWTO v1.1.1,
The release is a number followed by mdk (stands for "Mandrake"; this is absolutely mandatory)
I have had some success installing RPMs for other platforms. The only way I can try to classify which ones are more likely to work is to say that the self-contained ones or the ones that are at a very low level i.e. python libraries have a higher chance of success due to the relatively low number of dependencies.
Good luck with bittorrent, it's a very cool program
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.