Reuploading previous attachments after redacting sensitive information.
Original comment copied below:
Okay, I've gone down the rabbit hole with this one. It's possible this is 2 separate issues.
I tested 3 scenarios:
Scenario 1 - Performed a clean Ubuntu Server install (interactive), and installed ubuntu-desktop-minimal post-deployment.
After rebooting, the 50appstream config is present, and I installed snap-store and gnome-software.
Neither snap-store nor gnome-software showed any .deb packages. Only snaps.
I tried re-installing appstream and forcing a refresh of the cache, but still no .deb packages shown.
Nothing I have tried in this install has been able to fix the issue.
Scenario 2 - I performed a clean install using our automated install image (/var/log/installer contents attached) WITHOUT our appstream config reinstall script that I shared previously.
After deployment, ubuntu-desktop-minimal is already installed, and 50appstream config is MISSING (see attachment).
Both snap-store and gnome-software only show snaps. No .deb packages.
Next, I ran the appstream re-install script I shared previously and rebooted the machine.
After the reboot, gnome-software correctly shows .deb packages. However, snap-store is still only showing snaps!!!
Scenario 3 - I performed a clean install using our automated install image (/var/log/installer contents attached), this time including our appstream config reinstall script.
After the deployment, 50appstream config is PRESENT.
Both snap-store and gnome-software work correctly and show both snaps and .deb packages.
The varying behaviour between all 3 has completely blown my mind. I really don't know what is the cause of the issue, and potentially this is even 2 separate issues, since in Scenario 1, neither snap-store nor gnome-software work correctly.
Reuploading previous attachments after redacting sensitive information.
Original comment copied below:
Okay, I've gone down the rabbit hole with this one. It's possible this is 2 separate issues.
I tested 3 scenarios: desktop- minimal post-deployment.
Scenario 1 - Performed a clean Ubuntu Server install (interactive), and installed ubuntu-
After rebooting, the 50appstream config is present, and I installed snap-store and gnome-software.
Neither snap-store nor gnome-software showed any .deb packages. Only snaps.
I tried re-installing appstream and forcing a refresh of the cache, but still no .deb packages shown.
Nothing I have tried in this install has been able to fix the issue.
Scenario 2 - I performed a clean install using our automated install image (/var/log/installer contents attached) WITHOUT our appstream config reinstall script that I shared previously. desktop- minimal is already installed, and 50appstream config is MISSING (see attachment).
After deployment, ubuntu-
Both snap-store and gnome-software only show snaps. No .deb packages.
Next, I ran the appstream re-install script I shared previously and rebooted the machine.
After the reboot, gnome-software correctly shows .deb packages. However, snap-store is still only showing snaps!!!
Scenario 3 - I performed a clean install using our automated install image (/var/log/installer contents attached), this time including our appstream config reinstall script.
After the deployment, 50appstream config is PRESENT.
Both snap-store and gnome-software work correctly and show both snaps and .deb packages.
The varying behaviour between all 3 has completely blown my mind. I really don't know what is the cause of the issue, and potentially this is even 2 separate issues, since in Scenario 1, neither snap-store nor gnome-software work correctly.