Ubuntu Server 24.04.1 LTS fresh install errors in apt install and upgrade

Bo Berglund bo.berglund at gmail.com
Wed Jan 29 12:20:44 UTC 2025


I hoped I would be just breezing through making my new server using a freash
24.04.1 LTS installation ISO followed by the usual list of apt installs, but now
here I am again....

Everything seemed OK until I installed:

sudo apt install mosquitto mosquitto-clients

At the end of that I got to this message:

Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 148.

And the service check yielded this:

sudo systemctl status mosquitto
× mosquitto.service - Mosquitto MQTT Broker
     Loaded: loaded (/usr/lib/systemd/system/mosquitto.service; enabled; preset:
enabled)
     Active: failed (Result: exit-code) since Wed 2025-01-29 12:38:29 CET; 1min
42s ago

So I apt removed these and then ran another apt update / upgrade (did this
yesterday too).

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libcjson1 libavdevice60 ffmpeg libpostproc57 libavcodec60 libavutil58
  libswscale7 libswresample4 libavformat60 libavfilter9
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following upgrades have been deferred due to phasing:
  libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1
libdrm2 libdw1t64 libelf1t64 libgmp10
  libgpg-error-l10n libgpg-error0 libmpc3 libmpfr6 libnfsidmap1 libnl-3-200
libnl-genl-3-200 libnl-route-3-200 libpcre2-8-0
  nfs-common nfs-kernel-server python3-distupgrade ubuntu-release-upgrader-core
wireless-regdb
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.

So the syetem is *not* up-to-date (is that what stopped mosquitto from
installing?).
And it cannot be upgraded because it just lists that 23 packages are not
upgraded when I try....

I have enrolled a few years ago into the Pro system, but they limit to 5 devices
and I have no idea if there are any left now. Can I fiond out somehow?
And I assume that whenever I do an install it consumes one count and I have done
several over the years...

Why does mosquitto not install and how can I get all packages up-to-date?



-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list