Closed digitalsignalperson closed 5 years ago
AddPackageGroup
adds all the group's packages to the configuration as packages that are explicitly installed. I'm guessing that linux-firmware
is not marked as explicitly installed on your system, only that it is installed as a dependency.
If you want to get rid of the RemovePackage linux-firmware
line in your configuration, you can run pacman -D --asexplicit linux-firmware
to mark the package as explicitly installed. Running aconfmgr apply
will also do this.
Yes, linux-firmware
is marked Installed as a dependency for another package
. Hmm, I wonder why that is, since it is explicitly listed in the base
group, which is installed the as the first thing in my pacman.log
Either way, thanks for the tip. Seems like something on my end and not an aconfmgr issue.
I am writing a config that starts with
When running
aconfmgr save
it saysand I find
RemovePackage linux-firmware
in 99-unsorted.sh under Missing packages. Yet this should not be the case, since linux-firmware is both installed on my system (confirmedpacman -Qi linux-firmware
) and in the package group base (is listed inpacman -Sqg base
)If I comment out
AddPackageGroup base
then runaconfmgr save
, 99-unsorted.sh contains the following:and there is no problem (
linux-firmware
is a required package oflinux
)