No, I'd rather not do that given that it would involve reinstalling nginx, several docker images and others. I mean ... it is possible but I'd be looking at a few days of work to set everything back up again, even with backups of the data files.
I managed to get synaptic installed and using that, I was able to get update-manager installed by forcing 1:22.04.22 (jammy-updates) rather than 1:22.04.21+zorin1 (jammy). This restores the Software & Updates GUI app but the "Settings & Pro..." button is still broken and the root cause is:
$ update-manager
WARNING:root:can not import unity GI Namespace Dbusmenu not available
Traceback (most recent call last):
File "/usr/bin/software-properties-gtk", line 100, in <module>
app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 162, in __init__
SoftwareProperties.__init__(self, options=options, datadir=datadir)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 110, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 604, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 91, in get_sources
raise NoDistroTemplateException(
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Zorin/jammy
I tried:
sudo apt install --reinstall software-properties-gtk update-notifier-common
That ran without any errors:
$ sudo apt install --reinstall software-properties-gtk update-notifier-common
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed
update-notifier-common
0 to upgrade, 1 to newly install, 1 reinstalled, 0 to remove and 0 not to upgrade.
Need to get 325 kB of archives.
After this operation, 1,504 kB of additional disk space will be used.
Get:1 https://ppa.launchpadcontent.net/zorinos/patches/ubuntu jammy/main amd64 update-notifier-common all 3.192.54.8+zorin2 [223 kB]
Get:2 https://ppa.launchpadcontent.net/zorinos/patches/ubuntu jammy/main amd64 software-properties-gtk all 0.99.22.9+zorin1 [102 kB]
Fetched 325 kB in 0s (662 kB/s)
Selecting previously unselected package update-notifier-common.
(Reading database ... 307263 files and directories currently installed.)
Preparing to unpack .../update-notifier-common_3.192.54.8+zorin2_all.deb ...
Unpacking update-notifier-common (3.192.54.8+zorin2) ...
Preparing to unpack .../software-properties-gtk_0.99.22.9+zorin1_all.deb ...
Unpacking software-properties-gtk (0.99.22.9+zorin1) over (0.99.22.9+zorin1) ...
Setting up update-notifier-common (3.192.54.8+zorin2) ...
update-notifier-download.service is a disabled or a static unit not running, not starting it.
update-notifier-motd.service is a disabled or a static unit not running, not starting it.
Setting up software-properties-gtk (0.99.22.9+zorin1) ...
Processing triggers for shared-mime-info (2.1-2) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for libglib2.0-0:amd64 (2.72.4-0ubuntu2.6) ...
Processing triggers for man-db (2.10.2-1) ...
But it didn't fix the "cannot find a distribution template..." problem.
Question ... did I do the wrong thing by forcing 1:22.04.22 (jammy-updates) when reinstalling update-manager?