Package: python-tk Version: 2.4.3-2 Severity: critical Hello,
I'm not sure this is a bug in python-tk, but it raised trying to upgrade it, so submitting to python-tk. My daily upgrade failed miserably (sorry, I don't have the whole log, as I discovered it too late): ===== [EMAIL PROTECTED]:~$ sudo apt-get update [...] [EMAIL PROTECTED]:~$ sudo apt-get upgrade [...] Unpacking replacement libgtk2.0-0 ... Preparing to replace gcalctool 5.8.17-1 (using .../gcalctool_5.8.19-1_i386.deb) ... /var/lib/dpkg/info/gcalctool.prerm: /usr/sbin/gconf-schemas: /usr/bin/python: bad interpreter: No such file or directory dpkg: warning - old pre-removal script returned error exit status 126 dpkg - trying script from the new package instead ... dpkg: ... it looks like that went OK. Unpacking replacement gcalctool ... [...] Unpacking replacement xscreensaver-gl ... Errors were encountered while processing: /var/cache/apt/archives/python-tk_2.4.3-2_i386.deb /var/cache/apt/archives/python2.3_2.3.5-15_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) [EMAIL PROTECTED]:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree... Done You might want to run ‘apt-get -f install’ to correct these. The following packages have unmet dependencies. darcs-load-dirs: Depends: python2.3 but it is not installed dia-libs: Depends: python2.3 (>= 2.3) but it is not installed load-dirs-common: Depends: python2.3 but it is not installed python: Depends: python2.3 (>= 2.3.5-14) but it is not installed python-minimal: Depends: python2.3 (>= 2.3.5-14) but it is not installed python-uno: Depends: python2.3 (>= 2.3) but it is not installed python2.3-libbtctl: Depends: python2.3 but it is not installed python2.3-pyorbit: Depends: python2.3 but it is not installed reportbug: Depends: python2.3 but it is not installed rhythmbox: Depends: python2.3 (>= 2.3) but it is not installed scribus: Depends: python2.3 (>= 2.3) but it is not installed E: Unmet dependencies. Try using -f. [EMAIL PROTECTED]:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree... Done Correcting dependencies...Done The following extra packages will be installed: python-tk python2.3 Suggested packages: tix python2.3-doc python2.3-profiler Recommended packages: python2.3-cjkcodecs python2.3-iconvcodec python2.3-japanese-codecs The following NEW packages will be installed python2.3 The following packages will be upgraded: python-tk 1 upgraded, 1 newly installed, 0 to remove and 7 not upgraded. 29 not fully installed or removed. Need to get 0B/3162kB of archives. After unpacking 9994kB of additional disk space will be used. Do you want to continue [Y/n]? y WARNING: The following packages cannot be authenticated! python-tk python2.3 Install these packages without verification [y/N]? y Reading package fields... Done Reading package status... Done Retrieving bug reports... Done /bin/sh: /usr/bin/apt-listchanges: /usr/bin/python: bad interpreter: No such file or directory (Reading database ... 112207 files and directories currently installed.) Preparing to replace python-tk 2.4.3-1 (using .../python-tk_2.4.3-2_i386.deb) ... /var/lib/dpkg/info/python-tk.prerm: /usr/bin/pycentral: /usr/bin/python: bad interpreter: No such file or directory dpkg: warning - old pre-removal script returned error exit status 126 dpkg - trying script from the new package instead ... dpkg: error processing /var/cache/apt/archives/python-tk_2.4.3-2_i386.deb (--unpack): there is no script in the new version of the package - giving up /var/lib/dpkg/info/python-tk.postinst: /usr/bin/pycentral: /usr/bin/python: bad interpreter: No such file or directory dpkg: error while cleaning up: subprocess post-installation script returned error exit status 126 dpkg: considering removing python-tk in favour of python2.3 ... python-tk is not properly installed - ignoring any dependencies on it. dpkg: package python-tk requires reinstallation, will not remove. dpkg: regarding .../python2.3_2.3.5-15_i386.deb containing python2.3: python2.3 conflicts with python-tk (<< 2.4.3-2) python-tk (version 2.4.3-1) is broken due to postinst failure. dpkg: error processing /var/cache/apt/archives/python2.3_2.3.5-15_i386.deb (--unpack): conflicting packages - not installing python2.3 Errors were encountered while processing: /var/cache/apt/archives/python-tk_2.4.3-2_i386.deb /var/cache/apt/archives/python2.3_2.3.5-15_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) [EMAIL PROTECTED]:~$ ===== Now, severity is critical, because the results were that: 1) /usr/bin/python was no more available 2) the other packages apt was upgrading weren't configured (I launched the new emacs-snapshot version and I got startup errors, due to the lack of byte-compilation for the emacs add-ons) 3) the only way I found to solve this problem was to edit python-tk's .prerm and .postinst, removing the call to pycentral, purging python-tk with `dpkg --force-all -P`, then manually installing the new python2.3 version and finally fixing the python-tk mess with `apt-get -f install` Thx, bye, Gismo / Luca -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17.6 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages python-tk depends on: ii blt 2.4z-4 the BLT extension library for Tcl/ ii libc6 2.3.6-16 GNU C Library: Shared libraries ii libx11-6 2:1.0.0-7 X11 client-side library ii python 2.3.5-11 An interactive high-level object-o ii tcl8.4 8.4.12-1.1 Tcl (the Tool Command Language) v8 ii tk8.4 8.4.12-1 Tk toolkit for Tcl and X11, v8.4 - python-tk recommends no packages. -- no debconf information
pgpmim0576UEp.pgp
Description: PGP signature

