PDA

View Full Version : help with the ln command



Tuxgrrrl
02-07-2007, 09:06 PM
Greetings ALL.
We need to temporarily redirect Pythons pointer from version 2.4 to version 2.3 and we seem to be doing something wrong.
We have read and reread and reread everything we could get on ln and still cant figure it.



Python 2.3 is in /usr/local/bin

when given $ ls -l /usr/local/bin/python*
-rwxr-xr-x 2 root root 3002090 2007-02-04 09:56 /usr/local/bin/python
-rwxr-xr-x 2 root root 3002090 2007-02-04 09:56 /usr/local/bin/python2.3

When given
# ls -l /usr/bin/python*
lrwxrwxrwx 1 root root 24 2007-02-04 13:35 /usr/bin/python -> /usr/local/bin/python2.3
-rwxr-xr-x 1 root root 1019680 2006-10-11 14:52 /usr/bin/python2.4
-rwxr-xr-x 1 root root 1145032 2006-10-06 08:23 /usr/bin/python2.5
-rwxr-xr-x 1 root root 1276 2006-10-06 08:23 /usr/bin/python2.5-config
lrwxrwxrwx 1 root root 9 2006-12-02 10:42 /usr/bin/python.orig -> python2.4


BUT...
when given
# dpkg -i cpia-control_0.5.1-2_i386.deb
...
dpkg: dependency problems prevent configuration of cpia-control:
cpia-control depends on python (<< 2.4); however:
Version of python on system is 2.4.3-11ubuntu3.


Can some kind soul please tell us what we are doing wrong?

Thanks for your time.

angor
02-08-2007, 10:24 AM
Some guesswork on my part...
Since python-2.3 resides in /usr/local it has very probably not been installed
with dpkg (or apt, for that matter), because no distro *ever* touches that
directory (or should burn in hell). So dpkg knows nothing about v2.3, only about
the other versions in /usr/bin.

Should the above be correct you might try obtaining the sources for cpia-control
and compile and install from there (probably to /usr/local as well, which would
be apropriate for *locally* compiled software.

angor
02-08-2007, 10:25 AM
Some guesswork on my part...
Since python-2.3 resides in /usr/local it has very probably not been installed
with dpkg (or apt, for that matter), because no distro *ever* touches that
directory (or should burn in hell). So dpkg knows nothing about v2.3, only about
the other versions in /usr/bin.

Should the above be correct you might try obtaining the sources for cpia-control
and compile and install from there (probably to /usr/local as well, which would
be apropriate for *locally* compiled software.

angor
02-08-2007, 10:26 AM
Some guesswork on my part...
Since python-2.3 resides in /usr/local it has very probably not been installed
with dpkg (or apt, for that matter), because no distro *ever* touches that
directory (or should burn in hell). So dpkg knows nothing about v2.3, only about
the other versions in /usr/bin.

Should the above be correct you might try obtaining the sources for cpia-control
and compile and install from there (probably to /usr/local as well, which would
be apropriate for *locally* compiled software.

angor
02-08-2007, 10:27 AM
Some guesswork on my part...
Since python-2.3 resides in /usr/local it has very probably not been installed
with dpkg (or apt, for that matter), because no distro *ever* touches that
directory (or should burn in hell). So dpkg knows nothing about v2.3, only about
the other versions in /usr/bin.

Should the above be correct you might try obtaining the sources for cpia-control
and compile and install from there (probably to /usr/local as well, which would
be apropriate for *locally* compiled software.

angor
02-08-2007, 10:32 AM
... but I was answered with an error and a page with debugging info for
php and did not realize my answer had come through anyway.