Thanks for the continued help. Attached are the results of 'whereis python' and 'ls -l /usr/bin/python'. The symlink points to python2.3. And yet, the zope pre-removal script encounters errors in python1.5, which makes me think it is explicitly seeking and calling routines from the earlier version. More thoughts?
Thanks much, Russ On Tue, 9 Sep 2003, Russell Shaw wrote: > Russ Cook wrote: > > Hi Russell, > > I ran apt-get update, then apt-get install python. I did > > not specify a version. The system stated I am already at > > the latest version. I then ran apt-get install --reinstall --fix-broken > > zope. The log looks the same. If you still have a log of the > > session I sent previously, please notice that the python routines > > which are run seem to be from /usr/lib/python1.5, even though python2.3 > > is installed. Does Zope explicitly look for version 1.5? I'm really > > at a loss as to what is going on here. > > On my system: > > whereis python > > python: /usr/bin/python /usr/bin/python2.2 /usr/bin/python2.1 > /etc/python2.1 /etc/python2.2 /usr/lib/python2.1 > /usr/lib/python2.2 /usr/include/python2.1 /usr/include/python2.2 > /usr/share/man/man1/python.1.gz > > ls -l /usr/bin/python > > /usr/bin/python -> python2.2 > > Your system may have: /usr/bin/python -> python1.5 > > If so, symlink it to point to python2.2. > > The other way is the debian alternatives system. You can have multiple > versions of a tool, such as gcc-2.95.4, gcc-3.3, etc, but one gets called > by the generic name of "gcc". > > man update-alternatives > > rm /usr/bin/python > rm /usr/share/man/man1/python.1.gz > > ln -s /etc/alternatives/pythonbin /usr/bin/python > ln -s /etc/alternatives/pythonman.1.gz /usr/share/man/man1/python.1.gz > > update-alternatives --install /usr/bin/python pythonbin /usr/bin/python2.2 20 \ > --slave /usr/share/man/man1/python.1.gz pythonman.1.gz > /usr/share/man/man1/python2.2.1.gz > > Now check. > > ls -l /usr/bin/python > > /usr/bin/python -> /etc/alternatives/pythonbin > > ls -l /etc/alternatives/pythonbin > > /etc/alternatives/pythonbin -> /usr/bin/python2.2 > > ls -l /usr/share/man/man1/python.1.gz > > /usr/share/man/man1/python.1.gz -> /etc/alternatives/pythonman.1.gz > > ls -l /etc/alternatives/pythonman.1.gz > > /etc/alternatives/pythonman.1.gz -> /usr/share/man/man1/python2.2.1.gz > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >
Script started on Tue 09 Sep 2003 10:57:13 AM CDT [EMAIL PROTECTED]:~$ whereis python python: /usr/bin/python2.3 /usr/bin/python2.2 /usr/bin/python2.1 /usr/bin/python1.5 /usr/bin/python /usr/bin/python2.0 /etc/python2.1 /etc/python1.5 /etc/python2.3 /etc/python2.2 /usr/lib/python2.2 /usr/lib/python1.5 /usr/lib/python2.1 /usr/lib/python2.3 /usr/lib/python2.0 /usr/local/lib/python2.0 /usr/local/lib/python1.5 /usr/local/lib/python2.1 /usr/local/lib/python2.2 /usr/local/lib/python2.3 /usr/include/python2.2 /usr/include/python2.3 /usr/include/python1.5 /usr/share/man/man1/python.1.gz [EMAIL PROTECTED]:~$ ls -l /usr/bin/python [0mlrwxrwxrwx 1 root root 9 2003-09-05 18:52 [01;36m/usr/bin/python[0m -> [0mpython2.3[0m [EMAIL PROTECTED]:~$ Script done on Tue 09 Sep 2003 10:57:59 AM CDT