Fwd: conditional require (RPM dependency solving puzzle)

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

 





rpm -q -conflicts kicad-6.0.1-4.fc35.x86_64.rpm
kicad-doc < 1:6.0.1-4.fc35
...

When I add the '--best --allowerasing' flags, then I get the desired result:

# dnf update kicad-6.0.1-4.fc35.x86_64.rpm --best --allowerasing
Last metadata expiration check: 0:43:04 ago on Mon 31 Jan 2022 05:06:19 PM EST.
Dependencies resolved.
============================================================================================   Package            Architecture    Version Repository             Size ============================================================================================
Upgrading:
  kicad              x86_64          1:6.0.1-4.fc35 @commandline           90 M
Removing dependent packages:
  kicad-doc          noarch          1:5.1.12-1.fc35 @updates              111 M

Thanks to Steven, Stephen and Miro for finding this solution. Still, having to add flags and deleting the existing doc package is not completely gruntling---it works, but it's not automatic and, for the future, I am curious if there's another way.

Sorry for flogging this fine stallion, but I believe that 'dnf update kicad kicad-doc' would have worked (I did check that updating kicad-doc followed by updating kicad works). Isn't there some combination of Required/Obsoletes/Conflicts/??? to coax dnf to upgrade both packages instead of deleting kicad-doc?

_______________________________________________
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