On Wed, 23 Mar 2022 15:19:45 +0100 Enrico Zini <enr...@debian.org> wrote: > Package: mkosi > Version: 12-1~bpo11+1 > Severity: important > > Hello, > > I tried with fedora34 and centos7, but it might be the same for all > rpm-based distributions. > > To reproduce: > > sudo /usr/bin/mkosi --distribution=fedora --release=34 -- format=directory --output=target --base-packages=true -- package=bash,rootfiles,dbus,dnf > > or: > > sudo /usr/bin/mkosi --distribution=centos --release=7 -- format=directory --output=target --base-packages=true -- package=bash,rootfiles,dbus,yum > > Then: > > $ sudo systemd-nspawn --volatile -D target > Spawning container target on /home/enrico/lavori/arpa/moncic- ci/target. > Press ^] three times within 1s to kill container. > -bash-5.1# rpm -qa > -bash-5.1# rpmdb --rebuilddb > -bash-5.1# rpm -qa > -bash-5.1# > > This might be related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004863 > and if that is the case, that issue also contains a workaround. > > > Thank you, > > Enrico
Have you checked if the --clean-package-metadata= option is the cause? CleanPackageMetadata=, --clean-package-metadata= Enable/disable removal of package manager databases, caches, and logs at the end of installation. Can be specified as true, false, or “auto” (the default). With “auto”, files will be removed if the respective package manager executable is not present at the end of the installation. -- Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part