I'm trying experimental packages for 2.1
I read the entire huge thread regarding Python 2.1, without really
understanding the details. Then I looked at:
http://people.debian.org/~nas/woody/
06-Sep-2001 14:08
http://people.debian.org/~flight/python2/
17-Jun-2001 14:24
http://people.debian.org/~flight/python/snapshot/python2.1/
01-Aug-2001 14:44
Okay, so assuming that the technique of comparing date stamps leads me
infallibly to the best version, I install the ones from `~nas/woody'...
I'm running recent woody.
I got some dependency errors when I tried to install:
------- begin included transcript
MAIN imp:/tmp/debs$ sudo dpkg -i ./*.deb
Selecting previously deselected package python-dev.
(Reading database ... 27349 files and directories currently installed.)
Unpacking python-dev (from ./python-dev_2.1.1-0_i386.deb) ...
Selecting previously deselected package python-elisp.
Unpacking python-elisp (from ./python-elisp_2.1.1-0_all.deb) ...
Selecting previously deselected package python-regrtest.
Unpacking python-regrtest (from .../python-regrtest_2.1.1-0_all.deb) ...
Selecting previously deselected package python-xmlbase.
Unpacking python-xmlbase (from .../python-xmlbase_2.1.1-0_i386.deb) ...
Selecting previously deselected package python.
dpkg: considering removing python-base in favour of python ...
dpkg: no, cannot remove python-base (--auto-deconfigure will help):
python-tk depends on python-base (= 1.5.2-16)
python-base is to be removed.
dpkg: regarding ./python_2.1.1-0_i386.deb containing python:
python conflicts with python-zlib
python-base provides python-zlib and is installed.
dpkg: error processing ./python_2.1.1-0_i386.deb (--install):
conflicting packages - not installing python
dpkg: dependency problems prevent configuration of python-dev:
python-dev depends on python (= 2.1.1-0); however:
Package python is not installed.
dpkg: error processing python-dev (--install):
dependency problems - leaving unconfigured
Setting up python-elisp (2.1.1-0) ...
install/python-elisp: ignoring emacsen flavor emacs.
install/python-elisp: byte-compiling for xemacs21...done.
dpkg: dependency problems prevent configuration of python-regrtest:
python-regrtest depends on python (= 2.1.1-0); however:
Package python is not installed.
dpkg: error processing python-regrtest (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-xmlbase:
python-xmlbase depends on python (= 2.1.1-0); however:
Package python is not installed.
python-xmlbase depends on libxmltok1; however:
Package libxmltok1 is not installed.
dpkg: error processing python-xmlbase (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
./python_2.1.1-0_i386.deb
python-dev
python-regrtest
python-xmlbase
MAIN imp:/tmp/debs$
------- end included transcript
It suggested "--auto-deconfigure", whatever that means, so I try it:
------- begin included transcript
MAIN imp:/tmp/debs$ sudo dpkg --auto-deconfigure -i ./*.deb
(Reading database ... 27798 files and directories currently installed.)
Preparing to replace python-dev 2.1.1-0 (using ./python-dev_2.1.1-0_i386.deb) ...
Unpacking replacement python-dev ...
Preparing to replace python-elisp 2.1.1-0 (using ./python-elisp_2.1.1-0_all.deb) ...
remove/python-elisp: ignoring emacsen flavor emacs.
remove/python-elisp: removing for xemacs21...done.
Unpacking replacement python-elisp ...
Preparing to replace python-regrtest 2.1.1-0 (using .../python-regrtest_2.1.1-0_all.deb) ...
Unpacking replacement python-regrtest ...
Preparing to replace python-xmlbase 2.1.1-0 (using .../python-xmlbase_2.1.1-0_i386.deb) ...
Unpacking replacement python-xmlbase ...
dpkg: considering removing python-base in favour of python ...
dpkg: yes, will remove python-base in favour of python.
dpkg: considering removing python2-base in favour of python ...
dpkg: yes, will remove python2-base in favour of python.
Unpacking python (from ./python_2.1.1-0_i386.deb) ...
De-configuring python2-tk, so that we can remove python-base ...
De-configuring python2-dev, so that we can remove python-base ...
De-configuring reportbug, so that we can remove python-base ...
De-configuring python-tk, so that we can remove python-base ...
De-configuring python2-tk, so that we can remove python2-base ...
De-configuring python2-dev, so that we can remove python2-base ...
De-configuring reportbug, so that we can remove python2-base ...
De-configuring python-tk, so that we can remove python2-base ...
dpkg - warning: while removing python2-base, directory `/usr/lib/python2.0/site-packages' not empty so not removed.
More than one copy of package python-tk has been unpacked
in this run ! Only configuring it once.
More than one copy of package reportbug has been unpacked
in this run ! Only configuring it once.
More than one copy of package python2-dev has been unpacked
in this run ! Only configuring it once.
More than one copy of package python2-tk has been unpacked
in this run ! Only configuring it once.
Setting up python-elisp (2.1.1-0) ...
install/python-elisp: ignoring emacsen flavor emacs.
install/python-elisp: byte-compiling for xemacs21...done.
dpkg: dependency problems prevent configuration of python-xmlbase:
python-xmlbase depends on libxmltok1; however:
Package libxmltok1 is not installed.
dpkg: error processing python-xmlbase (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python:
python depends on libssl09; however:
Package libssl09 is not installed.
dpkg: error processing python (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-tk:
python-tk depends on python-base (= 1.5.2-16); however:
Package python-base is not installed.
dpkg: error processing python-tk (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of reportbug:
reportbug depends on python-base (>= 1.5.2-4); however:
Package python-base is not installed.
dpkg: error processing reportbug (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2-dev:
python2-dev depends on python2-base (= 2.0.1-1); however:
Package python2-base is not installed.
dpkg: error processing python2-dev (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2-tk:
python2-tk depends on python2-base (= 2.0.1-1); however:
Package python2-base is not installed.
dpkg: error processing python2-tk (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-dev:
python-dev depends on python (= 2.1.1-0); however:
Package python is not configured yet.
dpkg: error processing python-dev (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-regrtest:
python-regrtest depends on python (= 2.1.1-0); however:
Package python is not configured yet.
dpkg: error processing python-regrtest (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python-xmlbase
python
python-tk
reportbug
python2-dev
python2-tk
python-dev
python-regrtest
------- end included transcript
Okay after resolving the dependencies on libxmltok1 and libssl09 and then re
installing with --auto-deconfigure, then it installs, but:
------- begin included transcript
HACK imp:~/playground/evil-SF-unstable$ python
Python 2.1.1 (#1, Sep 6 2001, 16:59:13)
[GCC 2.95.4 20010319 (Debian prerelease)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import math
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named math
>>>
------- end included transcript
Hm. It isn't immediately obvious to me what's wrong, and I need to go babysit
now, so that's the show-stopper for today.
Thanks a lot for packaging Python for Debian!
Regards,
Zooko
http://zooko.com/
Reply to: