Install deprecated KSysGuard on Ubuntu 22.04
Ubuntu 22.04 has removed KSysGuard. KSysGuard had the killer function of being able to monitor remote hosts. Obviously when operating a cluster of computers, this becomes an indispensible function.
Here is what was done to get the current official KDE.org version of KSysGuard installed on Ubuntu 22.04 LTS.
Firstly, the current version of KDE.org's official KSysGuard used here depends on KDE stuff that is a later release than the Ubuntu official release packages. Nevertheless, essentially all that means is a judicious use of the -i ignore dependency option. There seems to also be a bit or package removal and reinstallation - but that part seems to be "magic".
The first challenge was to obtain an official set of packages to replace the now Ubuntu deprecated nonnexistant set. To do this docker was used to get KDE's official plasma desktop up and running.
xhost + docker run \ -it \ --rm \ --name ksysguard \ --env DISPLAY=${DISPLAY} \ --security-opt seccomp=unconfined \ --volume /tmp/.X11-unix:/tmp/.X11-unix \ --volume /docker.local/ksysguard/data/neon:/home/neon \ --network host \ kdeneon/plasma:user \ konsole
Once in the containers graphical console window, use:
apt download ksysguard
apt download ksysguardd
apt download ksysguard-data
Then get the resulting three packages on to the host Ubuntu 22.04 LTS host.
What follows is a transcript of the session where the Ubuntu 22.04 package (which isn't even ksysguard) was automatically removed and replace with the (what I consider to be) correct official KDE.org downloaded packages.
-rw-r--r-- 1 user1 1001 160240 Aug 25 22:35 ksysguard_4%3a5.22.0-0xneon+22.04+jammy+release+build2_amd64.deb -rw-r--r-- 1 user1 1001 54544 Aug 25 22:35 ksysguardd_4%3a5.22.0-0xneon+22.04+jammy+release+build2_amd64.deb -rw-r--r-- 1 user1 1001 450156 Aug 25 22:35 ksysguard-data_4%3a5.22.0-0xneon+22.04+jammy+release+build2_all.deb root@ryzen:/docker.local/ksysguard/data/neon/.ssh# dpkg -i ksysguard-data_4%3a5.22.0-0xneon+22.04+jammy+release+build2_all.deb Selecting previously unselected package ksysguard-data. (Reading database ... 248542 files and directories currently installed.) Preparing to unpack ksysguard-data_4%3a5.22.0-0xneon+22.04+jammy+release+build2_all.deb ... Unpacking ksysguard-data (4:5.22.0-0xneon+22.04+jammy+release+build2) ... Setting up ksysguard-data (4:5.22.0-0xneon+22.04+jammy+release+build2) ... Processing triggers for hicolor-icon-theme (0.17-2) ... root@ryzen:/docker.local/ksysguard/data/neon/.ssh# dpkg -i ksysguardd_4%3a5.22.0-0xneon+22.04+jammy+release+build2_amd64.deb Selecting previously unselected package ksysguardd. (Reading database ... 248688 files and directories currently installed.) Preparing to unpack ksysguardd_4%3a5.22.0-0xneon+22.04+jammy+release+build2_amd64.deb ... Unpacking ksysguardd (4:5.22.0-0xneon+22.04+jammy+release+build2) ... Setting up ksysguardd (4:5.22.0-0xneon+22.04+jammy+release+build2) ... root@ryzen:/docker.local/ksysguard/data/neon/.ssh# dpkg -i ksysguard_4%3a5.22.0-0xneon+22.04+jammy+release+build2_amd64.deb (Reading database ... 248693 files and directories currently installed.) Preparing to unpack ksysguard_4%3a5.22.0-0xneon+22.04+jammy+release+build2_amd64.deb ... Unpacking ksysguard (4:5.22.0-0xneon+22.04+jammy+release+build2) over (4:5.22.0-0xneon+22.04+jammy+release+build2) ... dpkg: dependency problems prevent configuration of ksysguard: ksysguard depends on libksignalplotter9; however: Package libksignalplotter9 is not installed. ksysguard depends on libqt5core5a (>= 5.15.5+p22.04+tunstable+git20220820.0059); however: Version of libqt5core5a:amd64 on system is 5.15.3+dfsg-2ubuntu0.2. ksysguard depends on libqt5dbus5 (>= 5.15.5+p22.04+tunstable+git20220820.0059); however: Version of libqt5dbus5:amd64 on system is 5.15.3+dfsg-2ubuntu0.2. ksysguard depends on libqt5gui5 (>= 5.15.5+p22.04+tunstable+git20220820.0059); however: Version of libqt5gui5:amd64 on system is 5.15.3+dfsg-2ubuntu0.2. ksysguard depends on libqt5widgets5 (>= 5.15.5+p22.04+tunstable+git20220820.0059); however: Version of libqt5widgets5:amd64 on system is 5.15.3+dfsg-2ubuntu0.2. ksysguard depends on libqt5xml5 (>= 5.15.5+p22.04+tunstable+git20220820.0059); however: Version of libqt5xml5:amd64 on system is 5.15.3+dfsg-2ubuntu0.2. dpkg: error processing package ksysguard (--install): dependency problems - leaving unconfigured Processing triggers for desktop-file-utils (0.26-1ubuntu3) ... Processing triggers for mailcap (3.70+nmu1ubuntu1) ... Errors were encountered while processing: ksysguard root@ryzen:/docker.local/ksysguard/data/neon/.ssh# dpkg --ignore-depends=libqt5core5a -i ksysguard_4%3a5.22.0-0xneon+22.04+jammy+release+build2_amd64.deb (Reading database ... 248693 files and directories currently installed.) Preparing to unpack ksysguard_4%3a5.22.0-0xneon+22.04+jammy+release+build2_amd64.deb ... Unpacking ksysguard (4:5.22.0-0xneon+22.04+jammy+release+build2) over (4:5.22.0-0xneon+22.04+jammy+release+build2) ... dpkg: dependency problems prevent configuration of ksysguard: ksysguard depends on libksignalplotter9; however: Package libksignalplotter9 is not installed. ksysguard depends on libqt5dbus5 (>= 5.15.5+p22.04+tunstable+git20220820.0059); however: Version of libqt5dbus5:amd64 on system is 5.15.3+dfsg-2ubuntu0.2. ksysguard depends on libqt5gui5 (>= 5.15.5+p22.04+tunstable+git20220820.0059); however: Version of libqt5gui5:amd64 on system is 5.15.3+dfsg-2ubuntu0.2. ksysguard depends on libqt5widgets5 (>= 5.15.5+p22.04+tunstable+git20220820.0059); however: Version of libqt5widgets5:amd64 on system is 5.15.3+dfsg-2ubuntu0.2. ksysguard depends on libqt5xml5 (>= 5.15.5+p22.04+tunstable+git20220820.0059); however: Version of libqt5xml5:amd64 on system is 5.15.3+dfsg-2ubuntu0.2. dpkg: error processing package ksysguard (--install): dependency problems - leaving unconfigured Processing triggers for desktop-file-utils (0.26-1ubuntu3) ... Processing triggers for mailcap (3.70+nmu1ubuntu1) ... Errors were encountered while processing: ksysguard root@ryzen:/docker.local/ksysguard/data/neon/.ssh# apt install libksignalplotter9 Reading package lists... Done Building dependency tree... Done Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: ksysguard : Depends: libqt5core5a (>= 5.15.5+p22.04+tunstable+git20220820.0059) but 5.15.3+dfsg-2ubuntu0.2 is to be installed Depends: libqt5dbus5 (>= 5.15.5+p22.04+tunstable+git20220820.0059) but 5.15.3+dfsg-2ubuntu0.2 is to be installed Depends: libqt5gui5 (>= 5.15.5+p22.04+tunstable+git20220820.0059) but 5.15.3+dfsg-2ubuntu0.2 is to be installed Depends: libqt5widgets5 (>= 5.15.5+p22.04+tunstable+git20220820.0059) but 5.15.3+dfsg-2ubuntu0.2 is to be installed Depends: libqt5xml5 (>= 5.15.5+p22.04+tunstable+git20220820.0059) but 5.15.3+dfsg-2ubuntu0.2 is to be installed libksignalplotter9 : Depends: libkf5sysguard-bin (= 4:5.24.6-0ubuntu0.1) but it is not going to be installed Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). root@ryzen:/docker.local/ksysguard/data/neon/.ssh# apt --fix-broken install Reading package lists... Done Building dependency tree... Done Reading state information... Done Correcting dependencies... Done The following package was automatically installed and is no longer required: libffi7 Use 'apt autoremove' to remove it. The following packages will be REMOVED: ksysguard 0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade. 1 not fully installed or removed. After this operation, 622 kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 248693 files and directories currently installed.) Removing ksysguard (4:5.22.0-0xneon+22.04+jammy+release+build2) ... Processing triggers for mailcap (3.70+nmu1ubuntu1) ... Processing triggers for desktop-file-utils (0.26-1ubuntu3) ... root@ryzen:/docker.local/ksysguard/data/neon/.ssh# apt install libksignalplotter9 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: libffi7 Use 'apt autoremove' to remove it. The following additional packages will be installed: libkf5sysguard-bin The following NEW packages will be installed: libkf5sysguard-bin libksignalplotter9 0 to upgrade, 2 to newly install, 0 to remove and 0 not to upgrade. Need to get 91.4 kB of archives. After this operation, 381 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://au.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libkf5sysguard-bin amd64 4:5.24.6-0ubuntu0.1 [56.5 kB] Get:2 http://au.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libksignalplotter9 amd64 4:5.24.6-0ubuntu0.1 [35.0 kB] Fetched 91.4 kB in 0s (872 kB/s) Selecting previously unselected package libkf5sysguard-bin. (Reading database ... 248686 files and directories currently installed.) Preparing to unpack .../libkf5sysguard-bin_4%3a5.24.6-0ubuntu0.1_amd64.deb ... Unpacking libkf5sysguard-bin (4:5.24.6-0ubuntu0.1) ... Selecting previously unselected package libksignalplotter9. Preparing to unpack .../libksignalplotter9_4%3a5.24.6-0ubuntu0.1_amd64.deb ... Unpacking libksignalplotter9 (4:5.24.6-0ubuntu0.1) ... Setting up libkf5sysguard-bin (4:5.24.6-0ubuntu0.1) ... Sucessfully set capabilities for ksgrd_network_helper Setting up libksignalplotter9 (4:5.24.6-0ubuntu0.1) ... Processing triggers for libc-bin (2.35-0ubuntu3.1) ... root@ryzen:/docker.local/ksysguard/data/neon/.ssh# dpkg -i ksysguard_4%3a5.22.0-0xneon+22.04+jammy+release+build2_amd64.deb Selecting previously unselected package ksysguard. (Reading database ... 248701 files and directories currently installed.) Preparing to unpack ksysguard_4%3a5.22.0-0xneon+22.04+jammy+release+build2_amd64.deb ... Unpacking ksysguard (4:5.22.0-0xneon+22.04+jammy+release+build2) ... dpkg: dependency problems prevent configuration of ksysguard: ksysguard depends on libqt5core5a (>= 5.15.5+p22.04+tunstable+git20220820.0059); however: Version of libqt5core5a:amd64 on system is 5.15.3+dfsg-2ubuntu0.2. ksysguard depends on libqt5dbus5 (>= 5.15.5+p22.04+tunstable+git20220820.0059); however: Version of libqt5dbus5:amd64 on system is 5.15.3+dfsg-2ubuntu0.2. ksysguard depends on libqt5gui5 (>= 5.15.5+p22.04+tunstable+git20220820.0059); however: Version of libqt5gui5:amd64 on system is 5.15.3+dfsg-2ubuntu0.2. ksysguard depends on libqt5widgets5 (>= 5.15.5+p22.04+tunstable+git20220820.0059); however: Version of libqt5widgets5:amd64 on system is 5.15.3+dfsg-2ubuntu0.2. ksysguard depends on libqt5xml5 (>= 5.15.5+p22.04+tunstable+git20220820.0059); however: Version of libqt5xml5:amd64 on system is 5.15.3+dfsg-2ubuntu0.2. dpkg: error processing package ksysguard (--install): dependency problems - leaving unconfigured Processing triggers for desktop-file-utils (0.26-1ubuntu3) ... Processing triggers for mailcap (3.70+nmu1ubuntu1) ... Errors were encountered while processing:> ksysguard>