diff --git a/debian/control b/debian/control index b9cd3b0..b5bfed7 100644 --- a/debian/control +++ b/debian/control @@ -17,7 +17,7 @@ Architecture: all Provides: ifupdown Conflicts: ifupdown Replaces: ifupdown -Depends: ${python3:Depends}, ${misc:Depends}, iproute2 +Depends: ${python3:Depends}, ${misc:Depends}, iproute2, python3-setuptools Suggests: isc-dhcp-client, bridge-utils, ethtool, python3-gvgen, python3-mako Description: Network Interface Management tool similar to ifupdown ifupdown2 is ifupdown re-written in Python. It replaces ifupdown and provides diff --git a/ifupdown2/addons/address.py b/ifupdown2/addons/address.py index fc7702f..1ea4df6 100644 --- a/ifupdown2/addons/address.py +++ b/ifupdown2/addons/address.py @@ -9,7 +9,7 @@ import json import time import subprocess -from distutils.util import strtobool +from setuptools.dist import strtobool try: from ifupdown2.lib.addon import AddonWithIpBlackList