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)
--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure
--
Sérgio M. B.