Package: yamllint
Version: 1.5.0-1
Severity: important
Dear Maintainer,
* What led up to the situation?
apt-get install yamllint
* What exactly did you do (or not do) that was effective (or
ineffective)?
yamllint my.yml
* What was the outcome of this action?
Traceback (most recent call last):
File "/usr/bin/yamllint", line 6, in <module>
from pkg_resources import load_entry_point
ImportError: No module named 'pkg_resources'
* What outcome did you expect instead?
my.yml
1:1 warning missing document start "---" (document-start)
25:81 error line too long (95 > 80 characters) (line-length)
70:81 error line too long (95 > 80 characters) (line-length)
89:1 error too many blank lines (2 > 0) (empty-lines)
* Solution
apt-get install python3-pkg-resources
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages yamllint depends on:
ii python3-yaml 3.12-1
pn python3:any <none>
yamllint recommends no packages.
yamllint suggests no packages.
-- no debconf information