Finally: ubuntu@lxc-maas:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: archdetect-deb authbind avahi-daemon avahi-utils bind9utils curtin-common dbconfig-common dbconfig-pgsql docutils-common formencode-i18n grub-common ieee-data libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core7 libdaemon0 libdbi-perl libdebian-installer4 libecap3 libip4tc2 libirs-export160 libisccfg-export160 libjs-angularjs libjs-sphinxdoc libjs-underscore liblcms2-2 libltdl7 libnspr4 libnss-mdns libnss3 libpaper-utils libpaper1 libprotobuf10 libsodium23 libvirt-clients libvirt0 libwebpdemux2 libwebpmux3 libyajl2 maas-rack-controller maas-region-api maas-region-controller os-prober postgresql pxelinux python-babel-localedata python3-alabaster python3-babel python3-bs4 python3-bson python3-bson-ext python3-convoy python3-crochet python3-curtin python3-django python3-django-maas python3-django-piston3 python3-djorm-ext-pgarray python3-dnspython python3-docutils python3-formencode python3-html5lib python3-imagesize python3-iso8601 python3-lib2to3 python3-lxml python3-maas-client python3-maas-provisioningserver python3-macaroonbakery python3-mimeparse python3-nacl python3-netaddr python3-oauth python3-olefile python3-pbr python3-petname python3-pexpect python3-pil python3-ply python3-prettytable python3-protobuf python3-psycopg2 python3-ptyprocess python3-pygments python3-pymacaroons python3-pyparsing python3-pyvmomi python3-rfc3339 python3-roman python3-seamicroclient python3-simplejson python3-simplestreams python3-sphinx python3-sqlparse python3-tempita python3-txtftp python3-tz python3-uvloop python3-webencodings sgml-base sphinx-common squid squid-common squid-langpack syslinux-common xml-core Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: bind9-dnsutils bind9-libs libjson-c4 liblmdb0 libmaxminddb0 libuv1 maas Suggested packages: mmdb-bin The following NEW packages will be installed: bind9-dnsutils bind9-libs libjson-c4 liblmdb0 libmaxminddb0 The following packages will be upgraded: libuv1 maas 2 upgraded, 5 newly installed, 0 to remove and 730 not upgraded. 4 not fully installed or removed. Need to get 0 B/1433 kB of archives. After this operation, 4240 kB of additional disk space will be used. Do you want to continue? [Y/n] y Preconfiguring packages ... Selecting previously unselected package libjson-c4:amd64. (Reading database ... 60175 files and directories currently installed.) Preparing to unpack .../0-libjson-c4_0.13.1+dfsg-7_amd64.deb ... Unpacking libjson-c4:amd64 (0.13.1+dfsg-7) ... Selecting previously unselected package liblmdb0:amd64. Preparing to unpack .../1-liblmdb0_0.9.24-1_amd64.deb ... Unpacking liblmdb0:amd64 (0.9.24-1) ... Selecting previously unselected package libmaxminddb0:amd64. Preparing to unpack .../2-libmaxminddb0_1.4.2-0ubuntu1_amd64.deb ... Unpacking libmaxminddb0:amd64 (1.4.2-0ubuntu1) ... Preparing to unpack .../3-libuv1_1.34.2-1ubuntu1_amd64.deb ... Unpacking libuv1:amd64 (1.34.2-1ubuntu1) over (1.18.0-3) ... Selecting previously unselected package bind9-libs:amd64. Preparing to unpack .../4-bind9-libs_1%3a9.16.1-0ubuntu2_amd64.deb ... Unpacking bind9-libs:amd64 (1:9.16.1-0ubuntu2) ... Selecting previously unselected package bind9-dnsutils. Preparing to unpack .../5-bind9-dnsutils_1%3a9.16.1-0ubuntu2_amd64.deb ... Unpacking bind9-dnsutils (1:9.16.1-0ubuntu2) ... Preparing to unpack .../6-maas_1%3a0.6_all.deb ... 2020-04-28T20:45:02Z INFO Waiting for restart... error: cannot perform the following tasks: - Setup snap "maas" (5229) security profiles (cannot setup udev for snap "maas": cannot reload udev rules: exit status 2 udev output: ) - Setup snap "maas" (5229) security profiles (cannot reload udev rules: exit status 2 udev output: ) - Setup snap "maas" (5229) security profiles for auto-connections (cannot reload udev rules: exit status 2 udev output: ) dpkg: error processing archive /tmp/apt-dpkg-install-DNuDep/6-maas_1%3a0.6_all.deb (--unpack): new maas package pre-installation script subprocess returned error exit status 1 Errors were encountered while processing: /tmp/apt-dpkg-install-DNuDep/6-maas_1%3a0.6_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)