[SOLVED] Error installing wireguard

I double-checked the /etc/apt/sources.list file and it has the same lines as the linked example.

I ran apt install unattended-upgrades but afterwards, plinth doesn’t come back up and I get a " Service Unavailable" message on freedombox.local. I am still able to connect via SSH.

I then rebooted from the command line, but am still getting " Service Unavailable." However, I still have SSH available.

Without yet being able to run Plinth->System->Upgrade, I ran the commands suggested above. First,

apt policy network-manager

network-manager:
  Installed: 1.14.6-2+deb10u1
  Candidate: 1.30.0-2
  Version table:
     1.30.0-2 500
        500 http://deb.debian.org/debian bullseye/main armhf Packages
 *** 1.14.6-2+deb10u1 100
        100 /var/lib/dpkg/status

and then, second, as follows. Do you recommend I run apt autoremove as given in the output from apt dist-upgrade --dry-run?

apt dist-upgrade --dry-run

NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  alsa-topology-conf alsa-ucm-conf apache2 apache2-bin apache2-data apache2-utils augeas-lenses augeas-tools avahi-daemon avahi-utils
  batctl bind9-dnsutils bind9-host bind9-libs borgbackup bridge-utils certbot cockpit cockpit-bridge cockpit-networkmanager
  cockpit-packagekit cockpit-storaged cockpit-system cockpit-ws cracklib-runtime crda curl dconf-gsettings-backend dconf-service debsecan
  distro-info-data dnsmasq-base dnsutils eject exfat-fuse exfat-utils ez-ipupdate fail2ban firmware-ath9k-htc flite fonts-fork-awesome
  fonts-lato gdisk gettext gettext-base gir1.2-udisks-2.0 glib-networking glib-networking-common glib-networking-services groff-base
  gsettings-desktop-schemas haveged htop iftop iso-codes iw javascript-common ldap-utils ldapscripts libapache2-mod-auth-pubtkt libapr1
  libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libasound2 libasound2-data libatasmart4 libaugeas0 libavahi-core7 libb2-1
  libblockdev-crypto2 libblockdev-fs2 libblockdev-loop2 libblockdev-mdraid2 libblockdev-part-err2 libblockdev-part2 libblockdev-swap2
  libblockdev-utils2 libblockdev2 libbluetooth3 libboost-atomic1.67.0 libboost-system1.67.0 libboost-thread1.67.0 libbtrfs0
  libbytesize-common libbytesize1 libcbor0 libcrack2 libcurl4 libdaemon0 libdconf1 libdeflate0 libdw1 libfido2-1 libflite1 libfreetype6
  libfstrm0 libfuse2 libglib2.0-bin libgomp1 libgstreamer1.0-0 libgudev-1.0-0 libhavege2 libicu63 libimagequant0 libintl-perl
  libintl-xs-perl libiw30 libjbig0 libjim0.79 libjpeg62-turbo libjs-bootstrap4 libjs-jquery libjs-modernizr libjs-popper.js libjs-sizzle
  libjs-sphinxdoc libjs-underscore libjson-glib-1.0-0 libjson-glib-1.0-common libkyotocabinet16v5 liblcms2-2 liblua5.3-0 libmaxminddb0
  libmbim-glib4 libmbim-proxy libmm-glib0 libmodule-find-perl libmodule-scandeps-perl libmpdec2 libmpfr6 libndp0 libnl-genl-3-200 libnorm1
  libnss-gw-name libnss-ldapd libnss-mdns libnss-myhostname libntfs-3g883 libpackagekit-glib2-18 libpam-abl libpam-ldapd libpam-tmpdir
  libparted-fs-resize0 libpci3 libpcsclite1 libpgm-5.3-0 libpng16-16 libproc-processtable-perl libprotobuf-c1 libproxy1v5
  libpwquality-common libpwquality-tools libpwquality1 libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib
  libpython3.7-minimal libpython3.7-stdlib libqmi-glib5 libqmi-proxy libreadline7 libsnapper5 libsodium23 libsort-naturally-perl libssh-4
  libteamdctl0 libterm-readkey-perl libtiff5 libuchardet0 libudisks2-0 libunwind8 libusb-1.0-0 libuv1 libvolume-key1 libwebp6
  libwebpdemux2 libwebpmux3 libwrap0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 libzmq5 locales-all lsb-release lsof
  mdadm modemmanager ncurses-term needrestart netcat-openbsd network-manager node-jquery nscd nslcd nslcd-utils ntfs-3g openssh-client
  openssh-server openssh-sftp-server packagekit packagekit-tools pci.ids pciutils php-common php-fpm php7.4-cli php7.4-common php7.4-fpm
  php7.4-json php7.4-opcache php7.4-readline pppoe pwgen python-apt-common python2 python2-minimal python2.7 python2.7-minimal
  python3-acme python3-apt python3-argon2 python3-augeas python3-bcrypt python3-bootstrapform python3-certbot python3-cherrypy3
  python3-configargparse python3-configobj python3-distro python3-distro-info python3-django python3-django-appconf python3-django-axes
  python3-django-captcha python3-django-ipware python3-django-ranged-response python3-django-stronghold python3-future python3-icu
  python3-josepy python3-llfuse python3-markupsafe python3-msgpack python3-nacl python3-olefile python3-pampy python3-paramiko
  python3-parsedatetime python3-pil python3-psutil python3-pyinotify python3-repoze.lru python3-rfc3339 python3-routes python3-ruamel.yaml
  python3-ruamel.yaml.clib python3-simplejson python3-sqlparse python3-systemd python3-tz python3-webob python3-zope.component
  python3-zope.event python3-zope.hookable python3-zope.interface python3.7 python3.7-minimal rfkill sharutils slapd snapper sshfs
  ssl-cert sudo tcpdump udisks2 unattended-upgrades usb-modeswitch usb-modeswitch-data uwsgi uwsgi-core uwsgi-plugin-python3 wamerican
  wget whois wireless-regdb wireless-tools wpasupplicant xauth zile

Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  cockpit-dashboard libgc1c2 libldb1 libmailutils5 libpolkit-backend-1-0 libpython-stdlib libsnapper4 php7.3-cli php7.3-common php7.3-fpm
  php7.3-json php7.3-opcache php7.3-readline python python-crypto python-django-common python-dnspython python-gpg python-ldb
  python-minimal python-pyicu python-samba python-talloc python-tdb
The following NEW packages will be installed:
  libdw1 libgc1 libldb2 libmailutils7 libsnapper5 libunwind8 liburing1 python3-dnspython python3-gpg python3-icu python3-ldb
  python3-markdown python3-pygments python3-samba python3-talloc python3-tdb python3-yaml
The following packages will be upgraded:
  apache2 apache2-bin apache2-data apache2-utils appstream cockpit cockpit-bridge cockpit-networkmanager cockpit-packagekit
  cockpit-storaged cockpit-system cockpit-ws gir1.2-glib-2.0 gir1.2-nm-1.0 glib-networking glib-networking-services guile-2.2-libs
  libappstream4 libgstreamer1.0-0 libnm0 libpolkit-agent-1-0 libpolkit-gobject-1-0 libpython2-stdlib libpython2.7 libpython2.7-minimal
  libpython2.7-stdlib libtdb1 libwbclient0 mailutils mailutils-common network-manager php-common policykit-1 ppp python2 python2-minimal
  python2.7 python2.7-minimal python3-django python3-parsedatetime python3-six samba samba-common samba-common-bin samba-dsdb-modules
  samba-libs samba-vfs-modules snapper zile
49 upgraded, 17 newly installed, 24 to remove and 0 not upgraded.
Remv cockpit-dashboard [188-1]
Inst mailutils [1:3.5-4] (1:3.10-3+b1 Debian:11.0/stable [armhf]) []
Remv libmailutils5 [1:3.5-4] []
Inst mailutils-common [1:3.5-4] (1:3.10-3 Debian:11.0/stable [all]) []
Inst zile [2.4.14-7+b1] (2.4.15-2 Debian:11.0/stable [armhf]) []
Inst guile-2.2-libs [2.2.4+1-2+deb10u1] (2.2.7+1-6 Debian:11.0/stable [armhf]) []
Remv libgc1c2 [1:7.6.4-0.4] []
Inst libgc1 (1:8.0.4-3 Debian:11.0/stable [armhf]) []
Inst libmailutils7 (1:3.10-3+b1 Debian:11.0/stable [armhf])
Inst python3-dnspython (2.0.0-1 Debian:11.0/stable [all])
Inst samba-dsdb-modules [2:4.9.5+dfsg-5+deb10u1] (2:4.13.5+dfsg-2 Debian:11.0/stable [armhf]) []
Inst samba-vfs-modules [2:4.9.5+dfsg-5+deb10u1] (2:4.13.5+dfsg-2 Debian:11.0/stable [armhf]) []
Inst samba [2:4.9.5+dfsg-5+deb10u1] (2:4.13.5+dfsg-2 Debian:11.0/stable [armhf]) []
Inst samba-common-bin [2:4.9.5+dfsg-5+deb10u1] (2:4.13.5+dfsg-2 Debian:11.0/stable [armhf]) []
Remv python-samba [2:4.9.5+dfsg-5+deb10u1] []
Inst samba-libs [2:4.9.5+dfsg-5+deb10u1] (2:4.13.5+dfsg-2 Debian:11.0/stable [armhf]) []
Remv python-ldb [2:1.5.1+really1.4.6-3+deb10u1] []
Remv libldb1 [2:1.5.1+really1.4.6-3+deb10u1] []
Inst libldb2 (2:2.2.0-3.1 Debian:11.0/stable [armhf]) []
Inst python3-ldb (2:2.2.0-3.1 Debian:11.0/stable [armhf]) []
Inst python3-tdb (1.4.3-1+b1 Debian:11.0/stable [armhf]) []
Inst libwbclient0 [2:4.9.5+dfsg-5+deb10u1] (2:4.13.5+dfsg-2 Debian:11.0/stable [armhf]) []
Inst python3-talloc (2.3.1-2+b1 Debian:11.0/stable [armhf]) []
Inst python3-samba (2:4.13.5+dfsg-2 Debian:11.0/stable [armhf]) []
Inst samba-common [2:4.9.5+dfsg-5+deb10u1] (2:4.13.5+dfsg-2 Debian:11.0/stable [all]) []
Remv python-tdb [1.3.16-2+b1] []
Inst libtdb1 [1.3.16-2+b1] (1.4.3-1+b1 Debian:11.0/stable [armhf]) []
Inst liburing1 (0.7-3 Debian:11.0/stable [armhf])
Inst policykit-1 [0.105-25] (0.105-31 Debian:11.0/stable [armhf]) []
Inst libpolkit-agent-1-0 [0.105-25] (0.105-31 Debian:11.0/stable [armhf]) []
Remv libpolkit-backend-1-0 [0.105-25] []
Inst libpolkit-gobject-1-0 [0.105-25] (0.105-31 Debian:11.0/stable [armhf])
Remv python-talloc [2.1.14-2]
Remv python-crypto [2.6.1-9+b1]
Remv python-pyicu [2.2-2]
Remv python-gpg [1.12.0-6]
Remv python [2.7.16-1] [python-dnspython:armhf ]
Remv libpython-stdlib [2.7.16-1] [python-dnspython:armhf ]
Inst snapper [0.8.2-1] (0.8.15-1 Debian:11.0/stable [armhf]) [python-dnspython:armhf ]
Remv libsnapper4 [0.8.2-1] [python-dnspython:armhf ]
Inst libsnapper5 (0.8.15-1 Debian:11.0/stable [armhf]) [python-dnspython:armhf ]
Remv php7.3-fpm [7.3.29-1~deb10u1] [python-dnspython:armhf ]
Remv php7.3-cli [7.3.29-1~deb10u1] [python-dnspython:armhf ]
Remv php7.3-readline [7.3.29-1~deb10u1] [python-dnspython:armhf ]
Remv php7.3-opcache [7.3.29-1~deb10u1] [python-dnspython:armhf ]
Remv php7.3-common [7.3.29-1~deb10u1] [php7.3-json:armhf python-dnspython:armhf ]
Remv php7.3-json [7.3.29-1~deb10u1] [python-dnspython:armhf ]
Remv python-django-common [1:1.11.29-1~deb10u1] [python-dnspython:armhf python3-django:armhf ]
Inst python3-django [1:1.11.29-1~deb10u1] (2:2.2.24-1 Debian:11.0/stable [all]) [python-dnspython:armhf ]
Remv python-dnspython [1.16.0-1+deb10u1]
Remv python-minimal [2.7.16-1]
Inst apache2 [2.4.48-3.1+deb11u1] (2.4.51-1~deb11u1 Debian-Security:11/stable-security [armhf]) []
Inst apache2-bin [2.4.48-3.1+deb11u1] (2.4.51-1~deb11u1 Debian-Security:11/stable-security [armhf]) []
Inst apache2-data [2.4.48-3.1+deb11u1] (2.4.51-1~deb11u1 Debian-Security:11/stable-security [all]) []
Inst apache2-utils [2.4.48-3.1+deb11u1] (2.4.51-1~deb11u1 Debian-Security:11/stable-security [armhf])
Inst python2.7 [2.7.16-2+deb10u1] (2.7.18-8 Debian:11.0/stable [armhf]) []
Inst libpython2.7 [2.7.16-2+deb10u1] (2.7.18-8 Debian:11.0/stable [armhf]) []
Inst libpython2.7-stdlib [2.7.16-2+deb10u1] (2.7.18-8 Debian:11.0/stable [armhf]) []
Inst python2.7-minimal [2.7.16-2+deb10u1] (2.7.18-8 Debian:11.0/stable [armhf]) []
Inst libpython2.7-minimal [2.7.16-2+deb10u1] (2.7.18-8 Debian:11.0/stable [armhf])
Inst python2-minimal [2.7.16-1] (2.7.18-3 Debian:11.0/stable [armhf]) [python2:armhf on python2-minimal:armhf] [python2:armhf ]
Conf libpython2.7-minimal (2.7.18-8 Debian:11.0/stable [armhf]) [python2:armhf ]
Conf python2.7-minimal (2.7.18-8 Debian:11.0/stable [armhf]) [python2:armhf ]
Conf python2-minimal (2.7.18-3 Debian:11.0/stable [armhf]) [python2:armhf ]
Inst python2 [2.7.16-1] (2.7.18-3 Debian:11.0/stable [armhf]) []
Inst libpython2-stdlib [2.7.16-1] (2.7.18-3 Debian:11.0/stable [armhf])
Inst libappstream4 [0.12.5-1] (0.14.4-1 Debian:11.0/stable [armhf])
Inst appstream [0.12.5-1] (0.14.4-1 Debian:11.0/stable [armhf])
Inst ppp [2.4.7-2+4.1+deb10u1] (2.4.9-1+1 Debian:11.0/stable [armhf]) [network-manager:armhf on ppp:armhf] [network-manager:armhf ]
Inst network-manager [1.14.6-2+deb10u1] (1.30.0-2 Debian:11.0/stable [armhf]) []
Inst libnm0 [1.14.6-2+deb10u1] (1.30.0-2 Debian:11.0/stable [armhf])
Inst cockpit-networkmanager [188-1] (239-1 Debian:11.0/stable [all]) []
Inst cockpit-storaged [188-1] (239-1 Debian:11.0/stable [all]) []
Inst cockpit-system [188-1] (239-1 Debian:11.0/stable [all]) []
Inst glib-networking [2.58.0-2+deb10u2] (2.66.0-2 Debian:11.0/stable [armhf]) []
Inst glib-networking-services [2.58.0-2+deb10u2] (2.66.0-2 Debian:11.0/stable [armhf]) []
Inst cockpit-bridge [188-1] (239-1 Debian:11.0/stable [armhf])
Inst cockpit-ws [188-1] (239-1 Debian:11.0/stable [armhf])
Inst cockpit [188-1] (239-1 Debian:11.0/stable [all])
Inst cockpit-packagekit [188-1] (239-1 Debian:11.0/stable [all])
Inst gir1.2-glib-2.0 [1.58.3-2] (1.66.1-1+b1 Debian:11.0/stable [armhf])
Inst gir1.2-nm-1.0 [1.14.6-2+deb10u1] (1.30.0-2 Debian:11.0/stable [armhf])
Inst libdw1 (0.183-1 Debian:11.0/stable [armhf])
Inst libunwind8 (1.3.2-2 Debian:11.0/stable [armhf])
Inst libgstreamer1.0-0 [1.14.4-1] (1.18.4-2.1 Debian:11.0/stable [armhf])
Inst php-common [2:69] (2:76 Debian:11.0/stable [all])
Inst python3-gpg (1.14.0-1+b2 Debian:11.0/stable [armhf])
Inst python3-icu (2.5-1+b2 Debian:11.0/stable [armhf])
Inst python3-markdown (3.3.4-1 Debian:11.0/stable [all])
Inst python3-parsedatetime [2.4-2] (2.6-1 Debian:11.0/stable [all])
Inst python3-pygments (2.7.1+dfsg-2.1 Debian:11.0/stable [all])
Inst python3-six [1.12.0-1] (1.16.0-2 Debian:11.0/stable [all])
Inst python3-yaml (5.3.1-5 Debian:11.0/stable [armhf])
Conf mailutils (1:3.10-3+b1 Debian:11.0/stable [armhf])
Conf mailutils-common (1:3.10-3 Debian:11.0/stable [all])
Conf zile (2.4.15-2 Debian:11.0/stable [armhf])
Conf guile-2.2-libs (2.2.7+1-6 Debian:11.0/stable [armhf])
Conf libgc1 (1:8.0.4-3 Debian:11.0/stable [armhf])
Conf libmailutils7 (1:3.10-3+b1 Debian:11.0/stable [armhf])
Conf python3-dnspython (2.0.0-1 Debian:11.0/stable [all])
Conf samba-dsdb-modules (2:4.13.5+dfsg-2 Debian:11.0/stable [armhf])
Conf samba-vfs-modules (2:4.13.5+dfsg-2 Debian:11.0/stable [armhf])
Conf samba (2:4.13.5+dfsg-2 Debian:11.0/stable [armhf])
Conf samba-common-bin (2:4.13.5+dfsg-2 Debian:11.0/stable [armhf])
Conf samba-libs (2:4.13.5+dfsg-2 Debian:11.0/stable [armhf])
Conf libldb2 (2:2.2.0-3.1 Debian:11.0/stable [armhf])
Conf python3-ldb (2:2.2.0-3.1 Debian:11.0/stable [armhf])
Conf python3-tdb (1.4.3-1+b1 Debian:11.0/stable [armhf])
Conf libwbclient0 (2:4.13.5+dfsg-2 Debian:11.0/stable [armhf])
Conf python3-talloc (2.3.1-2+b1 Debian:11.0/stable [armhf])
Conf python3-samba (2:4.13.5+dfsg-2 Debian:11.0/stable [armhf])
Conf samba-common (2:4.13.5+dfsg-2 Debian:11.0/stable [all])
Conf libtdb1 (1.4.3-1+b1 Debian:11.0/stable [armhf])
Conf liburing1 (0.7-3 Debian:11.0/stable [armhf])
Conf policykit-1 (0.105-31 Debian:11.0/stable [armhf])
Conf libpolkit-agent-1-0 (0.105-31 Debian:11.0/stable [armhf])
Conf libpolkit-gobject-1-0 (0.105-31 Debian:11.0/stable [armhf])
Conf snapper (0.8.15-1 Debian:11.0/stable [armhf])
Conf libsnapper5 (0.8.15-1 Debian:11.0/stable [armhf])
Conf python3-django (2:2.2.24-1 Debian:11.0/stable [all])
Conf apache2 (2.4.51-1~deb11u1 Debian-Security:11/stable-security [armhf])
Conf apache2-bin (2.4.51-1~deb11u1 Debian-Security:11/stable-security [armhf])
Conf apache2-data (2.4.51-1~deb11u1 Debian-Security:11/stable-security [all])
Conf apache2-utils (2.4.51-1~deb11u1 Debian-Security:11/stable-security [armhf])
Conf python2.7 (2.7.18-8 Debian:11.0/stable [armhf])
Conf libpython2.7 (2.7.18-8 Debian:11.0/stable [armhf])
Conf libpython2.7-stdlib (2.7.18-8 Debian:11.0/stable [armhf])
Conf python2 (2.7.18-3 Debian:11.0/stable [armhf])
Conf libpython2-stdlib (2.7.18-3 Debian:11.0/stable [armhf])
Conf libappstream4 (0.14.4-1 Debian:11.0/stable [armhf])
Conf appstream (0.14.4-1 Debian:11.0/stable [armhf])
Conf ppp (2.4.9-1+1 Debian:11.0/stable [armhf])
Conf network-manager (1.30.0-2 Debian:11.0/stable [armhf])
Conf libnm0 (1.30.0-2 Debian:11.0/stable [armhf])
Conf cockpit-networkmanager (239-1 Debian:11.0/stable [all])
Conf cockpit-storaged (239-1 Debian:11.0/stable [all])
Conf cockpit-system (239-1 Debian:11.0/stable [all])
Conf glib-networking (2.66.0-2 Debian:11.0/stable [armhf])
Conf glib-networking-services (2.66.0-2 Debian:11.0/stable [armhf])
Conf cockpit-bridge (239-1 Debian:11.0/stable [armhf])
Conf cockpit-ws (239-1 Debian:11.0/stable [armhf])
Conf cockpit (239-1 Debian:11.0/stable [all])
Conf cockpit-packagekit (239-1 Debian:11.0/stable [all])
Conf gir1.2-glib-2.0 (1.66.1-1+b1 Debian:11.0/stable [armhf])
Conf gir1.2-nm-1.0 (1.30.0-2 Debian:11.0/stable [armhf])
Conf libdw1 (0.183-1 Debian:11.0/stable [armhf])
Conf libunwind8 (1.3.2-2 Debian:11.0/stable [armhf])
Conf libgstreamer1.0-0 (1.18.4-2.1 Debian:11.0/stable [armhf])
Conf php-common (2:76 Debian:11.0/stable [all])
Conf python3-gpg (1.14.0-1+b2 Debian:11.0/stable [armhf])
Conf python3-icu (2.5-1+b2 Debian:11.0/stable [armhf])
Conf python3-markdown (3.3.4-1 Debian:11.0/stable [all])
Conf python3-parsedatetime (2.6-1 Debian:11.0/stable [all])
Conf python3-pygments (2.7.1+dfsg-2.1 Debian:11.0/stable [all])
Conf python3-six (1.16.0-2 Debian:11.0/stable [all])
Conf python3-yaml (5.3.1-5 Debian:11.0/stable [armhf])

1 Like