Re: about dnf installonlypks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 27, 2022 at 6:08 PM Sérgio Basto <sergio@xxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxx>
> > 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_Guide/sec-Configuring_DNF_and_DNF_Repositories.html
> > >
> > > 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!
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux