Package: python-support
Version: 1.0.10
Severity: normal
Hello,
I am using a Debian testing was downgraded from Ubuntu maverick. Admittedly
this history may be part of the problem, but I am reporting it nonetheless as
a) I don't think so
b) even if it is, to address it may help the overall stability/experience of
Debian
update-initramfs: Generating /boot/initrd.img-2.6.36-rc6-amd64
Processing triggers for python-support ...
/usr/lib/pymodules/python2.5/usbcreator/install.py:254: Warning: 'with' will
become a reserved keyword in Python 2.6
Compiling /usr/lib/pymodules/python2.5/usbcreator/install.py ...
File "/usr/lib/pymodules/python2.5/usbcreator/install.py", line 254
with open(os.path.join(self.target, '.disk', 'info'),'r') as f:
^
SyntaxError: invalid syntax
$ dpkg -S /usr/lib/pymodules/python2.5/usbcreator/install.py
dpkg: /usr/lib/pymodules/python2.5/usbcreator/install.py not found.
$ dpkg -S /usr/lib/pymodules/python2.5/usbcreator/
dpkg: /usr/lib/pymodules/python2.5/usbcreator not found.
$ which python
/usr/bin/python
$ python --version
Python 2.6.6
So, apparently some python 2.6-incompatible code is executed by 2.6.
I did
$ sudo dpkg --purge python2.5 python-all python2.5-dev python-all-dev
and
$sudo apt-get -f install
has then worked. I have not tested, sadly, if it had worked before,
i.e. if the installation was reported to have not worked before. Looking
at the console-dump above it seems like a clean install nonetheless.
Hope this to have helped somewhat. I apologise for the noise if not.
SM
-- System Information:
LSB Version:
core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu maverick (development branch)
Release: 10.10
Codename: maverickArchitecture: amd64 (x86_64)
Kernel: Linux 2.6.32-22-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-support depends on:
ii dpkg 1.15.8.5 Debian package management system
ii python 2.6.6-3 interactive high-level object-orie
python-support recommends no packages.
python-support suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]