[Bug 1983112] Re: Appstream does not install config file
James Paton-Smith
1983112 at bugs.launchpad.net
Fri Jun 23 10:26:42 UTC 2023
Had some time to test this more.
I'm almost certain this is caused by the server autoinstall method.
After doing another manual server install (interactive), and installing
ubuntu-desktop-minimal, I just need to do a `snap refresh snapd` to fix
the issue with the software store. /etc/apt/apt.conf.d/50appstream is
present without any extra steps.
If I do an autoinstall, and list appstream as the only package to install, /etc/apt/apt.conf.d/50appstream is missing.
The command run by the installer is below:
```
/usr/bin/apt-get --quiet --assume-yes --option=Dpkg::options::=--force-unsafe-io --option=Dpkg::Options::=--force-confold install appstream
```
But if I run this manually on a clean system,
/etc/apt/apt.conf.d/50appstream is present. So the issue must be
something else related to the autoinstall.
I can only replicate this issue if using the Ubuntu Autoinstall method.
Should I open a separate issue for this? I've already added subiquity
package to the affected packages list.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1983112
Title:
Appstream does not install config file
Status in appstream package in Ubuntu:
New
Status in subiquity package in Ubuntu:
New
Bug description:
After performing an Ubuntu automated server install, and installing
the ubuntu-desktop-minimal package (which includes appstream as a
dependency) then the snap-store, the snap-store will fail to display
search results for .deb packages in the Ubuntu apt repositories.
This is due to a missing config file (/etc/apt/apt.conf.d/50appstream)
which is supposed to be installed as part of the appstream package.
The issue can be fixed by re-installing appstream with the following command-line:
apt-get -y install --reinstall -o Dpkg::Options::="--force-confmiss" appstream
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: appstream 0.15.2-2
ProcVersionSignature: Ubuntu 5.15.0-41.44-generic 5.15.39
Uname: Linux 5.15.0-41-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckMismatches: ./boot/grub/grub.cfg
CasperMD5CheckResult: fail
CurrentDesktop: ubuntu:GNOME
Date: Fri Jul 29 15:25:44 2022
InstallationDate: Installed on 2022-07-27 (1 days ago)
InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220421)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: appstream
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1983112/+subscriptions
More information about the foundations-bugs
mailing list