[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

os.path: Installing Pyhton2.2 the debian way



Hi Mailinglist,

> it looks like os.path.realpath was introduced in python2.2.

How do I install python2.2 the debian way ?
On my PC I got the deb's: python (dummy), python2.1 and python2.2 installed

emal@buster:~$ ls -l /usr/bin/python*
lrwxrwxrwx    1 root     root            9 2002-12-17 14:10 /usr/bin/python -> python2.1
-rwxr-xr-x    1 root     root         511K 2002-09-07 17:36 /usr/bin/python2.1
-rwxr-xr-x    1 root     root         726K 2002-09-07 16:38 /usr/bin/python2.2


The programm "dpkg-reconfigure" has no effekt, it run a few seconds and then stop without any output.
root@buster:~$dpkg-reconfigure --frontend Dialog --force python
root@buster:~$dpkg-reconfigure --frontend dialog --force python2.1
root@buster:~$dpkg-reconfigure --frontend dialog --force python2.2


All 3 packages have (nearly) the same content, it would be possible, to change all symbolic links (bin, man, etc.) and the paths and env variables. But it's lots of work and a really "unclean" solution.
How does the "debian way" (if it exists)  looks like to do this?
Are there any other solutions, suggestions?

Thanks and regards
Emal

emal@buster:~$ dpkg -L python
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/python
/usr/share/doc/python/README.Debian
/usr/share/doc/python/copyright
/usr/share/doc/python/python-policy.txt.gz
/usr/share/doc/python/changelog.Debian.gz
/usr/share/doc/python/python-policy.sgml.gz
/usr/share/man
/usr/share/man/man1
/usr/share/apps
/usr/share/apps/konsole
/usr/share/apps/konsole/python.desktop
/usr/bin
/usr/share/man/man1/pydoc.1.gz
/usr/share/man/man1/pygettext.1.gz
/usr/share/man/man1/python.1.gz
/usr/bin/python
/usr/bin/pydoc
/usr/bin/pygettext

emal@buster:~$ dpkg -L python2.1
..
/usr/bin/python2.1
/usr/bin/pydoc2.1
/usr/bin/pygettext2.1


emal@buster:~$ dpkg -L python2.2
...
/usr/bin
/usr/bin/python2.2
/usr/bin/pydoc2.2




Reply to: