On Wed, 2022-07-27 at 16:30 -0700, Neal Gompa wrote:
> On Tue, Jul 26, 2022 at 7:34 PM Sérgio Basto <sergio(a)serjux.com>
> wrote:
> >
> > Hi,
> > after searching a lot still can't find how installonlypks package
> > list
> > is generated
> >
> > I found these 2 references :
> >
https://dnf.readthedocs.io/en/latest/command_ref.html
> >
https://docs.fedoraproject.org/en-US/Fedora/24/html/System_Administrators...
> >
> > dnf repoquery --installonly
> > Limit the resulting set to installed installonly packages.
> >
> > I see the list of installonlypkgs , but where in Centos Stream 9, I
> > get
> > his list of installonlypkgs and how I can modify it i.e. what
> > package
> > set or unset packages on this list of installonly pakages ?
> >
>
> There is no package to unset the list. DNF is hardcoded to attempt
> multiversion installation for packages that contain one of the
> following provides:
>
> * installonlypkg(kernel)
> * installonlypkg(kernel-module)
> * installonlypkg(vm)
> * multiversion(kernel)
>
> The packages must be specially prepared for this to work properly
> too.
> If not, then you risk breaking the transaction.
>
Thanks, I found the issue that I was looking for , in resume kmod-
VirtualBox for some reason provides one installonlypkg [1]
[1]
rpm -q kmod-VirtualBox-5.14.0-130.el9 --provides | grep installonlypkg
installonlypkg(kernel-module)
That is the correct behavior.
--
真実はいつも一つ!/ Always, there's only one truth!