Package: openvswitch-common Version: 2.10.0+2018.08.28+git.8ca7c82b7d+ds1-12 Severity: grave
Hi, openvswitch-common correctly depends on python3, because it ships scripts written in Python 3: ``` # file /usr/bin/ov* | grep python /usr/bin/ovn-detrace: a /usr/bin/python3 script, ASCII text executable /usr/bin/ovn-docker-overlay-driver: a /usr/bin/python3 script, ASCII text executable /usr/bin/ovn-docker-underlay-driver: a /usr/bin/python3 script, ASCII text executable /usr/bin/ovs-dpctl-top: a /usr/bin/python3 script, ASCII text executable /usr/bin/ovs-l3ping: a /usr/bin/python3 script, ASCII text executable /usr/bin/ovs-parse-backtrace: a /usr/bin/python3 script, ASCII text executable /usr/bin/ovs-pcap: a /usr/bin/python3 script, ASCII text executable /usr/bin/ovs-tcpdump: a /usr/bin/python3 script, ASCII text executable /usr/bin/ovs-tcpundump: a /usr/bin/python3 script, ASCII text executable /usr/bin/ovs-test: a /usr/bin/python3 script, ASCII text executable /usr/bin/ovs-vlan-test: a /usr/bin/python3 script, ASCII text executable ``` But openvswitch-common depends on python-six (pulling in Python 2) instead of python3-six. Following script import six and will fail if python3-six is missing: ``` # grep "from six" $(file /usr/bin/ov* | grep python | sed 's/:.*//') /usr/bin/ovs-l3ping:from six.moves import xmlrpc_client as xmlrpclib /usr/bin/ovs-test:from six.moves import xmlrpc_client as xmlrpclib /usr/bin/ovs-vlan-test:from six.moves import BaseHTTPServer /usr/bin/ovs-vlan-test:from six.moves import http_client as httplib ``` This can be easily reproduced in a minimal Debian chroot: ``` # ovs-l3ping Traceback (most recent call last): File "/usr/bin/ovs-l3ping", line 24, in <module> from six.moves import xmlrpc_client as xmlrpclib ModuleNotFoundError: No module named 'six' ``` -- Benjamin Drung System Developer Debian & Ubuntu Developer 1&1 IONOS Cloud GmbH | Greifswalder Str. 207 | 10405 Berlin | Germany E-mail: benjamin.dr...@cloud.ionos.com | Web: www.ionos.de Head Office: Berlin, Germany District Court Berlin Charlottenburg, Registration number: HRB 125506 B Executive Management: Christoph Steffens, Matthias Steinberg, Achim Weiss Member of United Internet