[Python-modules-team] Bug#768954: python-cssutils: Empty package, upgrade fails during alternative updates

Yannick Roehlly yannick.roehlly at gmail.com
Mon Nov 10 11:21:19 UTC 2014

Package: python-cssutils
Version: 1.0-1
Severity: grave
Justification: renders package unusable


The package does not contain the Python modules nor the scripts. The
missing scripts make the install fails during update-alternative:

update-alternatives: erreur: le chemin alternatif /usr/bin/cssparse_py2 n'existe pas

A first problem is that in the switch to pybuild you quoted:

export PYBUILD_NAME="cssutils"

so pybuild will install everything in debian/python-"cssutils" and
those files wont be packaged. Note that python3-cssutils has the same

Also, you should take care of not packaging *_py2 scripts in the
Python 2 package (resp. *_py3 / Python 3) because even when correcting
PYBUILD_NAME, both Python 2 and 3 packages contain the same "binaries".



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.17.2 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-cssutils depends on:
ii  python-pkg-resources  5.5.1-1

python-cssutils recommends no packages.

python-cssutils suggests no packages.

-- no debconf information

More information about the Python-modules-team mailing list