Package: python-mode
Version: 1:6.1.3-2
Severity: normal

Dear maintainers,
I am trying to install python on a Jessie system (X86/amd64) in order to use it with xemacs21 editor.

ansible@solo:~$ cat /etc/debian_version
8.5
ansible@solo:~$ uname -a
Linux solo 4.6.0-0.bpo.1-amd64 #1 SMP Debian 4.6.4-1~bpo8+1 (2016-08-11) x86_64 GNU/Linux


ansible@solo:~$ dpkg -l |grep python
ii dh-python 2.20160818~bpo8+1 all Debian helper tools for packaging Python libraries and applications ii libpython-stdlib:amd64 2.7.9-1 amd64 interactive high-level object-oriented language (default python version) ii libpython2.7:amd64 2.7.9-2 amd64 Shared Python runtime library (version 2.7) ii libpython2.7-minimal:amd64 2.7.9-2 amd64 Minimal subset of the Python language (version 2.7) ii libpython2.7-stdlib:amd64 2.7.9-2 amd64 Interactive high-level object-oriented language (standard library, version 2.7) ii libpython3-stdlib:amd64 3.4.2-2 amd64 interactive high-level object-oriented language (default python3 version) ii libpython3.4:amd64 3.4.2-1 amd64 Shared Python runtime library (version 3.4) ii libpython3.4-minimal:amd64 3.4.2-1 amd64 Minimal subset of the Python language (version 3.4) ii libpython3.4-stdlib:amd64 3.4.2-1 amd64 Interactive high-level object-oriented language (standard library, version 3.4) ii python 2.7.9-1 amd64 interactive high-level object-oriented language (default version) ii python-appindicator 0.4.92-3.1 amd64 Python bindings for libappindicator ii python-apt 0.9.3.12 amd64 Python interface to libapt-pkg ii python-apt-common 0.9.3.12 all Python interface to libapt-pkg (locales) ii python-beautifulsoup 3.2.1-1 all error-tolerant HTML parser for Python ii python-brlapi 5.3.1-1~bpo8+1 amd64 Braille display access via BRLTTY - Python bindings ii python-cairo 1.8.8-1+b2 amd64 Python bindings for the Cairo vector graphics library ii python-central 0.6.17 all register and build utility for Python packages ii python-chardet 2.3.0-1 all universal character encoding detector for Python2 ii python-crypto 2.6.1-5+b2 amd64 cryptographic algorithms and protocols for Python ii python-dbus 1.2.0-2+b3 amd64 simple interprocess messaging system (Python interface) ii python-dbus-dev 1.2.0-2 all main loop integration development files for python-dbus ii python-debian 0.1.27 all Python modules to work with Debian-related data formats ii python-debianbts 2.6.0~bpo8+1 all Python interface to Debian's Bug Tracking System ii python-defusedxml 0.4.1-2 all XML bomb protection for Python stdlib modules (for Python 2) ii python-docutils 0.12+dfsg-1 all text processing system for reStructuredText (implemented in Python 2) ii python-ecdsa 0.11-1 all ECDSA cryptographic signature library (Python 2) ii python-enum34 1.0.3-1 all backport of Python 3.4's enum package ii python-feedparser 5.1.3-3 all Universal Feed Parser for Python ii python-fpconst 0.7.2-5 all Utilities for handling IEEE 754 floating point special values ii python-gconf 2.28.1+dfsg-1.1 amd64 Python bindings for the GConf configuration database system ii python-gi 3.14.0-1 amd64 Python 2.x bindings for gobject-introspection libraries ii python-gi-cairo 3.14.0-1 amd64 Python Cairo bindings for the GObject library ii python-glade2 2.24.0-4 amd64 GTK+ bindings: Glade support ii python-gnome2 2.28.1+dfsg-1.1 amd64 Python bindings for the GNOME desktop environment ii python-gobject 3.14.0-1 all Python 2.x bindings for GObject - transitional package ii python-gobject-2 2.28.6-12+b1 amd64 deprecated static Python bindings for the GObject lib ii python-gpgme 0.3-1+b1 amd64 python wrapper for the GPGME library ii python-gps 3.16-1~bpo8+1 amd64 Global Positioning System - Python libraries ii python-gtk2 2.24.0-4 amd64 Python bindings for the GTK+ widget set ii python-gtksourceview2 2.10.1-2 amd64 Python bindings for the GtkSourceView widget ii python-httplib2 0.9+dfsg-2 all comprehensive HTTP client library written for Python ii python-jinja2 2.8-1~bpo8+1 all small but fast and easy to use stand-alone template engine ii python-libxml2 2.9.1+dfsg1-5+deb8u2 amd64 Python bindings for the GNOME XML library ii python-louis 2.5.3-3 all Python bindings for liblouis ii python-lxml 3.4.0-1 amd64 pythonic binding for the libxml2 and libxslt libraries ii python-mako 1.0.0+dfsg-0.1 all fast and lightweight templating for the Python platform ii python-markupsafe 0.23-1+b1 amd64 HTML/XHTML/XML string library for Python ii python-minimal 2.7.9-1 amd64 minimal subset of the Python language (default version) iF python-mode 1:6.1.3-2 all Python mode for GNU Emacs and XEmacs ii python-netaddr 0.7.18-1~bpo8+1 all manipulation of various common network address notations (Python 2) ii python-notify 0.1.1-4 amd64 Python bindings for libnotify ii python-numpy 1:1.8.2-2 amd64 Numerical Python adds a fast array facility to the Python language ii python-packagekit 0.7.6-3 all PackageKit backend Python bindings ii python-paramiko 1.15.1-1 all Make ssh v2 connections with Python (Python 2) ii python-pil:amd64 3.2.0-2~bpo8+1 amd64 Python Imaging Library (Pillow fork) ii python-pkg-resources 20.10.1-1.1~bpo8+1 all Package Discovery and Resource Access using pkg_resources ii python-pyatspi 2.14.0+dfsg-1 all Assistive Technology Service Provider Interface - Python bindings ii python-pycurl 7.19.5-3 amd64 Python bindings to libcurl ii python-pygments 2.1.3+dfsg-1~bpo8+1 all syntax highlighting package written in Python ii python-pyorbit 2.24.0-7 amd64 A Python language binding for the ORBit2 CORBA implementation ii python-pysimplesoap 1.16-1~bpo8+1 all simple and lightweight SOAP Library (Python 2) ii python-qt4-dbus 4.11.2+dfsg-1 amd64 D-Bus Support for PyQt4 ii python-reportbug 6.6.6~bpo8+1 all Python modules for interacting with bug tracking systems ii python-roman 2.0.0-1 all module for generating/analyzing Roman numerals for Python 2 ii python-selinux 2.3-2 amd64 Python bindings to SELinux shared libraries ii python-six 1.9.0-3~bpo8+1 all Python 2 and 3 compatibility library (Python 2 interface) ii python-soappy 0.12.22-1 all SOAP Support for Python ii python-support 1.0.15 all automated rebuilding support for Python modules ii python-talloc 2.1.2-0+deb8u1 amd64 hierarchical pool based memory allocator - Python bindings ii python-utidylib 0.2-9 all Python wrapper for TidyLib ii python-wicd 1.7.2.4-4.1 all wired and wireless network manager - Python module ii python-wnck 2.32.0+dfsg-3 amd64 Python bindings for the WNCK library ii python-wstools 0.4.3-2 all WSDL parsing tools Python module ii python-xapian 1.2.19-2 amd64 Xapian search engine interface for Python ii python-xdg 0.25-4 all Python 2 library to access freedesktop.org standards ii python-yaml 3.11-2 amd64 YAML parser and emitter for Python ii python-zeitgeist 0.9.14-2.2 all event logging framework - Python bindings ii python2.7 2.7.9-2 amd64 Interactive high-level object-oriented language (version 2.7) ii python2.7-minimal 2.7.9-2 amd64 Minimal subset of the Python language (version 2.7) ii python3 3.4.2-2 amd64 interactive high-level object-oriented language (default python3 version) ii python3-apt 0.9.3.12 amd64 Python 3 interface to libapt-pkg ii python3-brlapi 5.3.1-1~bpo8+1 amd64 Braille display access via BRLTTY - Python3 bindings ii python3-cairo 1.10.0+dfsg-4+b1 amd64 Python 3 bindings for the Cairo vector graphics library ii python3-chardet 2.3.0-1 all universal character encoding detector for Python3 ii python3-dbus 1.2.0-2+b3 amd64 simple interprocess messaging system (Python 3 interface) ii python3-debian 0.1.27 all Python 3 modules to work with Debian-related data formats ii python3-gi 3.14.0-1 amd64 Python 3 bindings for gobject-introspection libraries ii python3-gi-cairo 3.14.0-1 amd64 Python 3 Cairo bindings for the GObject library ii python3-louis 2.5.3-3 all Python bindings for liblouis ii python3-magic 1:5.22+15-2+deb8u1 all File type determination library using "magic" numbers (Python 3 bindings) ii python3-mako 1.0.0+dfsg-0.1 all fast and lightweight templating for the Python 3 platform ii python3-markupsafe 0.23-1+b1 amd64 HTML/XHTML/XML string library for Python 3 ii python3-minimal 3.4.2-2 amd64 minimal subset of the Python language (default python3 version) ii python3-pkg-resources 20.10.1-1.1~bpo8+1 all Package Discovery and Resource Access using pkg_resources ii python3-pyatspi 2.14.0+dfsg-1 all Assistive Technology Service Provider Interface - Python3 bindings ii python3-six 1.9.0-3~bpo8+1 all Python 2 and 3 compatibility library (Python 3 interface) ii python3-speechd 0.8-7 all Python interface to Speech Dispatcher ii python3-uno 1:5.1.5~rc2-1~bpo8+1 amd64 Python-UNO bridge ii python3-xdg 0.25-4 all Python 3 library to access freedesktop.org standards ii python3.2 3.2.3-7 amd64 Interactive high-level object-oriented language (version 3.2) ii python3.2-minimal 3.2.3-7 amd64 Minimal subset of the Python language (version 3.2) ii python3.4 3.4.2-1 amd64 Interactive high-level object-oriented language (version 3.4) ii python3.4-minimal 3.4.2-1 amd64 Minimal subset of the Python language (version 3.4)



ansible@solo:~$ dpkg -l |grep -v ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Architecture Description
+++-=====================================-====================================-============-====================================================================================
iF python-mode 1:6.1.3-2 all Python mode for GNU Emacs and XEmacs


Plase find above trace on the first install
--------------------------------------------
ansible@solo:~/git/manage_ansible.git$ sudo apt-get install  python-mode
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés :
  pychecker pymacs
Paquets suggérés :
  pylint python-ropemacs
Les NOUVEAUX paquets suivants seront installés :
  pychecker pymacs python-mode
0 mis à jour, 3 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 358 ko dans les archives.
Après cette opération, 2 214 ko d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Réception de : 1 http://ftp.fr.debian.org/debian/ jessie/main pychecker all 0.8.19-10 [107 kB] Réception de : 2 http://ftp.fr.debian.org/debian/ jessie/main pymacs all 0.25-1 [111 kB] Réception de : 3 http://ftp.fr.debian.org/debian/ jessie/main python-mode all 1:6.1.3-2 [140 kB]
358 ko réceptionnés en 0s (611 ko/s)
Sélection du paquet pychecker précédemment désélectionné.
(Lecture de la base de données... 299668 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../pychecker_0.8.19-10_all.deb ...
Dépaquetage de pychecker (0.8.19-10) ...
Sélection du paquet pymacs précédemment désélectionné.
Préparation du dépaquetage de .../archives/pymacs_0.25-1_all.deb ...
Dépaquetage de pymacs (0.25-1) ...
Sélection du paquet python-mode précédemment désélectionné.
Préparation du dépaquetage de .../python-mode_1%3a6.1.3-2_all.deb ...
Dépaquetage de python-mode (1:6.1.3-2) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.0.2-5) ...
Paramétrage de pychecker (0.8.19-10) ...
Paramétrage de pymacs (0.25-1) ...
Install emacsen-common for emacs23
emacsen-common: Handling install of emacsen flavor emacs23
Wrote /etc/emacs23/site-start.d/00debian-vars.elc
Wrote /usr/share/emacs23/site-lisp/debian-startup.elc
Install emacsen-common for emacs24
emacsen-common: Handling install of emacsen flavor emacs24
Wrote /etc/emacs24/site-start.d/00debian-vars.elc
Wrote /usr/share/emacs24/site-lisp/debian-startup.elc
Install emacsen-common for xemacs21
emacsen-common: Handling install of emacsen flavor xemacs21
Loading /usr/share/emacs/site-lisp/debian-startup...
Loading 00debian...
Loading site-start...
Loading 00debian-vars...
Loading 10jmlacroix...
Error while loading 10jmlacroix: Cannot open load file: /root/lib/xemacs-lisp/general_init.el
Loading 50a2ps...
Loading 50autoconf...
Loading 50cmake-data...
Loading 50dictionaries-common...
Info: Skip debian-el loading if run under dpkg control.
Loading 50pymacs...
Loading 50python-docutils...
Compiling /etc/xemacs21/site-start.d/00debian-vars.el...
Wrote /etc/xemacs21/site-start.d/00debian-vars.elc
Compiling /usr/share/xemacs21/site-lisp/debian-startup.el...
Wrote /usr/share/xemacs21/site-lisp/debian-startup.elc
Done
Install pymacs for emacs23
install/pymacs: Handling install for emacsen flavor emacs23
Loading 00debian-vars...
Loading /etc/emacs/site-start.d/50a2ps.el (source)...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Info: Skip debian-el loading if run under dpkg control.
Loading /etc/emacs/site-start.d/50pymacs.el (source)...
Loading /etc/emacs/site-start.d/50python-docutils.el (source)...
Wrote /usr/share/emacs23/site-lisp/pymacs/pymacs.elc
Install pymacs for emacs24
install/pymacs: Handling install for emacsen flavor emacs24
Loading 00debian-vars...
Loading /etc/emacs/site-start.d/50a2ps.el (source)...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Info: Skip debian-el loading if run under dpkg control.
Loading /etc/emacs/site-start.d/50pymacs.el (source)...
Loading /etc/emacs/site-start.d/50python-docutils.el (source)...
Wrote /usr/share/emacs24/site-lisp/pymacs/pymacs.elc
Install pymacs for xemacs21
install/pymacs: Handling install for emacsen flavor xemacs21
Loading /usr/share/emacs/site-lisp/debian-startup...
Loading 00debian...
Loading site-start...
Loading 00debian-vars...
Loading 10jmlacroix...
Error while loading 10jmlacroix: Cannot open load file: /root/lib/xemacs-lisp/general_init.el
Loading 50a2ps...
Loading 50autoconf...
Loading 50cmake-data...
Loading 50dictionaries-common...
Info: Skip debian-el loading if run under dpkg control.
Loading 50pymacs...
Loading 50python-docutils...
Compiling /usr/share/xemacs21/site-lisp/pymacs/pymacs.el...
Wrote /usr/share/xemacs21/site-lisp/pymacs/pymacs.elc
Done
Paramétrage de python-mode (1:6.1.3-2) ...
ERROR: python-mode is broken - called emacs-package-install as a new-style add-on, but has no compat file.
Install python-mode for emacs
Install python-mode for emacs23
install/python-mode: Handling install for emacsen flavor emacs23
Wrote /usr/share/emacs23/site-lisp/python-mode/doctest-mode.elc
Wrote /usr/share/emacs23/site-lisp/python-mode/python-mode.elc
Wrote /usr/share/emacs23/site-lisp/python-mode/completion/pycomplete.elc
Install python-mode for emacs24
install/python-mode: Handling install for emacsen flavor emacs24
Wrote /usr/share/emacs24/site-lisp/python-mode/doctest-mode.elc
Wrote /usr/share/emacs24/site-lisp/python-mode/python-mode.elc
Wrote /usr/share/emacs24/site-lisp/python-mode/completion/pycomplete.elc
Install python-mode for xemacs21
install/python-mode: Handling install for emacsen flavor xemacs21
Compiling /usr/share/xemacs21/site-lisp/python-mode/doctest-mode.el...
Wrote /usr/share/xemacs21/site-lisp/python-mode/doctest-mode.elc
Compiling /usr/share/xemacs21/site-lisp/python-mode/python-mode.el...
While compiling toplevel forms in file /usr/share/xemacs21/site-lisp/python-mode/python-mode.el:
  !! File error (("Cannot open load file" "rx"))
>>Error occurred processing python-mode.el: Cannot open load file: rx

Compiling /usr/share/xemacs21/site-lisp/python-mode/completion/pycomplete.el...
Wrote /usr/share/xemacs21/site-lisp/python-mode/completion/pycomplete.elc
Done
ERROR: install script from python-mode package failed
dpkg: erreur de traitement du paquet python-mode (--configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
 python-mode
E: Sub-process /usr/bin/dpkg returned an error code (1)



and trace on the second install
-------------------------------

 sudo apt-get install  python-mode
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
python-mode est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
1 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Paramétrage de python-mode (1:6.1.3-2) ...
ERROR: python-mode is broken - called emacs-package-install as a new-style add-on, but has no compat file.
Install python-mode for emacs
Install python-mode for emacs23
install/python-mode: Handling install for emacsen flavor emacs23
Wrote /usr/share/emacs23/site-lisp/python-mode/doctest-mode.elc
Wrote /usr/share/emacs23/site-lisp/python-mode/python-mode.elc
Wrote /usr/share/emacs23/site-lisp/python-mode/completion/pycomplete.elc
Install python-mode for emacs24
install/python-mode: Handling install for emacsen flavor emacs24
Wrote /usr/share/emacs24/site-lisp/python-mode/doctest-mode.elc
Wrote /usr/share/emacs24/site-lisp/python-mode/python-mode.elc
Wrote /usr/share/emacs24/site-lisp/python-mode/completion/pycomplete.elc
Install python-mode for xemacs21
install/python-mode: Handling install for emacsen flavor xemacs21
Compiling /usr/share/xemacs21/site-lisp/python-mode/doctest-mode.el...
Wrote /usr/share/xemacs21/site-lisp/python-mode/doctest-mode.elc
Compiling /usr/share/xemacs21/site-lisp/python-mode/python-mode.el...
While compiling toplevel forms in file /usr/share/xemacs21/site-lisp/python-mode/python-mode.el:
  !! File error (("Cannot open load file" "rx"))
>>Error occurred processing python-mode.el: Cannot open load file: rx

Compiling /usr/share/xemacs21/site-lisp/python-mode/completion/pycomplete.el...
Wrote /usr/share/xemacs21/site-lisp/python-mode/completion/pycomplete.elc
Done
ERROR: install script from python-mode package failed
dpkg: erreur de traitement du paquet python-mode (--configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
 python-mode
E: Sub-process /usr/bin/dpkg returned an error code (1)



Thanks in advance for your help


--
--------------------------------------
 -- Jean-Marc LACROIX                 --
  -- mailto : jeanmarc.lacr...@free.fr --
    ---------------------------------------

Reply via email to