Debian Codegraph @

doc/trouble-shooting.rst

raw
1 ========================
2 Trouble-Shooting Guide
3 ========================
4
5
6 Installing on older Debian releases
7 ===================================
8
9 **TODO**
10
11
12 Fixing package building problems
13 ================================
14
15 'pkg-resources not found' or similar
16 ------------------------------------
17
18 If you get errors regarding ``pkg-resources`` during the virtualenv creation,
19 update your build machine's ``pip`` and ``virtualenv``.
20 The versions on previous releases of many distros
21 are just too old to handle current infrastructure (especially PyPI)
22 – even Debian Jessie comes with the ancient pip 1.5.6.
23
24 This is the one exception to “never sudo pip”, so go ahead and do this:
25
26 .. code-block:: shell
27
28 sudo pip install -U pip virtualenv
29
30 Then try building the package again.
31
32
33 Fixing package installation problems
34 ====================================
35
36 dpkg: too-long line or missing newline in '…/triggers'
37 ------------------------------------------------------
38
39 **TODO** https://github.com/spotify/dh-virtualenv/pull/84