Re: Butchered python configuration ...
itsovermyhead writes: > FYI - This problem was solved by a kind and clear post. See below. > > http://lists.debian.org/debian-user/2009/04/msg02759.html Thank you for using the correct forum for these questions; I'm glad you found the Debian resources useful. -- \ “We tend to scoff at the beliefs of the ancients. But we can't | `\scoff at them personally, to their faces, and this is what | _o__) annoys me.” —Jack Handey | Ben Finney -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Butchered python configuration ...
FYI - This problem was solved by a kind and clear post. See below. http://lists.debian.org/debian-user/2009/04/msg02759.html You lot on this list are grumpy buggers... 2009/4/29 Dmitrijs Ledkovs : > 2009/4/28 itsovermyhead : >> 2009/4/28 Piotr Ożarowski : >>> [itsovermyhead, 2009-04-28] dev3:/usr/bin# ls -la python* -rwxr-xr-x 2 root root 1015264 2008-10-23 08:53 python -rwxr-xr-x 2 root root 1015264 2008-10-23 08:53 python2.4 -rwxr-xr-x 1 root root 1276 2008-10-23 08:53 python2.4-config >>> >>> I'd start with: >>> # rm /usr/bin/python # and all other local files >>> # ln -s /usr/bin/python2.4 /usr/bin/python >> >> Thanks for your reply Piotr - are you confident about this solution? A >> lot of people use this server so I want to be as sure as possible that >> this is the right approach to the problem. >> >> Can you could explain your reasoning so I can understand what you're >> proposing better. >> >> Cheers >> >> S >> > > As far as i know. python binary is always the default python > interpreter which points to one of the supported version and by > default it points (symlink) to python2.5 in lenny (I think). the > pythonX.Y are actually real binaries. > > If you are not convineced I gues you should > > $apt-get source python > > and study the packaging. > > > -- > With best regards > > > Dmitrijs Ledkovs (for short Dima), > Ледков Дмитрий Юрьевич > -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Butchered python configuration ...
2009/4/28 itsovermyhead : > 2009/4/28 Piotr Ożarowski : >> [itsovermyhead, 2009-04-28] >>> dev3:/usr/bin# ls -la python* >>> -rwxr-xr-x 2 root root 1015264 2008-10-23 08:53 python >>> -rwxr-xr-x 2 root root 1015264 2008-10-23 08:53 python2.4 >>> -rwxr-xr-x 1 root root 1276 2008-10-23 08:53 python2.4-config >> >> I'd start with: >> # rm /usr/bin/python # and all other local files >> # ln -s /usr/bin/python2.4 /usr/bin/python > > Thanks for your reply Piotr - are you confident about this solution? A > lot of people use this server so I want to be as sure as possible that > this is the right approach to the problem. > > Can you could explain your reasoning so I can understand what you're > proposing better. > > Cheers > > S > As far as i know. python binary is always the default python interpreter which points to one of the supported version and by default it points (symlink) to python2.5 in lenny (I think). the pythonX.Y are actually real binaries. If you are not convineced I gues you should $apt-get source python and study the packaging. -- With best regards Dmitrijs Ledkovs (for short Dima), Ледков Дмитрий Юрьевич -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Butchered python configuration ...
Le mardi 28 avril 2009 à 22:53 +1200, itsovermyhead a écrit : > Thanks for your reply Piotr - are you confident about this solution? A > lot of people use this server so I want to be as sure as possible that > this is the right approach to the problem. If a lot of people use this server, why did you break the installation so badly to begin with? -- .''`. Josselin Mouette : :' : `. `' “I recommend you to learn English in hope that you in `- future understand things” -- Jörg Schilling signature.asc Description: Ceci est une partie de message numériquement signée
Re: Butchered python configuration ...
[itsovermyhead, 2009-04-28] > 2009/4/28 Piotr Ożarowski : > > [itsovermyhead, 2009-04-28] > >> dev3:/usr/bin# ls -la python* > >> -rwxr-xr-x 2 root root 1015264 2008-10-23 08:53 python > >> -rwxr-xr-x 2 root root 1015264 2008-10-23 08:53 python2.4 > >> -rwxr-xr-x 1 root root 1276 2008-10-23 08:53 python2.4-config > > > > I'd start with: > > # rm /usr/bin/python # and all other local files > > # ln -s /usr/bin/python2.4 /usr/bin/python > > Thanks for your reply Piotr - are you confident about this solution? A > lot of people use this server so I want to be as sure as possible that > this is the right approach to the problem. that should only make python-central work again if your /usr/bin/python is actually Python 2.5 then expect problems > Can you could explain your reasoning so I can understand what you're > proposing better. python-central expects a symlink in /usr/bin/python -- -=[ Piotr Ożarowski ]=- -=[ http://www.ozarowski.pl ]=- -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Butchered python configuration ...
2009/4/28 Piotr Ożarowski : > [itsovermyhead, 2009-04-28] >> dev3:/usr/bin# ls -la python* >> -rwxr-xr-x 2 root root 1015264 2008-10-23 08:53 python >> -rwxr-xr-x 2 root root 1015264 2008-10-23 08:53 python2.4 >> -rwxr-xr-x 1 root root 1276 2008-10-23 08:53 python2.4-config > > I'd start with: > # rm /usr/bin/python # and all other local files > # ln -s /usr/bin/python2.4 /usr/bin/python Thanks for your reply Piotr - are you confident about this solution? A lot of people use this server so I want to be as sure as possible that this is the right approach to the problem. Can you could explain your reasoning so I can understand what you're proposing better. Cheers S > -- > -=[ Piotr Ożarowski ]=- > -=[ http://www.ozarowski.pl ]=- > > > -- > To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > > -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Butchered python configuration ...
[itsovermyhead, 2009-04-28] > dev3:/usr/bin# ls -la python* > -rwxr-xr-x 2 root root 1015264 2008-10-23 08:53 python > -rwxr-xr-x 2 root root 1015264 2008-10-23 08:53 python2.4 > -rwxr-xr-x 1 root root1276 2008-10-23 08:53 python2.4-config I'd start with: # rm /usr/bin/python # and all other local files # ln -s /usr/bin/python2.4 /usr/bin/python [...] > Okay twit oh, no more help from me, sorry -- -=[ Piotr Ożarowski ]=- -=[ http://www.ozarowski.pl ]=- -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org