Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I have installed Python2.5 on my debian machine. Debian had python version 2.4.2 by default. even after installing python2.5 using apt-get and i check on apt-cache it still shows python2.4.2
i need to update the version since one of the packages depends on python2.5
yes python 2.4.2 is linked to a file called python in /usr/bin.
i even tried creating a link between python and the python 2.5
but in vain
both the versions of python are available in /usr/bin
if i try to install openxcap which depends on python2.5
debian:/usr/bin# apt-get -f install openxcap
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
openxcap: Depends: python (>= 2.5) but 2.4.4-2 is to be installed
Depends: python-central (>= 0.6.7) but 0.5.12 is to be installed
Now, I'm not an old-hand at Debian, but if you aren't using python2.4.2 for anything, what about removing it, reinstalling 2.5 (to make sure all the links are updated), and then trying again?
Just making sure I understand correctly -- when you removed the symlink from `python` to python-2.4.2, and added one instead to python-2.5, the output from `python --version` was incorrect?
The OP reported that the problem was with apt-get sahowing the old Python version. Did you install the new Python version using apt, or did you download it from somewhere else and install it. The APT tools don't know about software that was not installed using them. I suggest you install Python 2.5 through apt-get if that was not how you originally did it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.