Bug 1538213

Summary: New supplements are installed only if the original package is also in the transaction
Product: [Fedora] Fedora Reporter: AsciiWolf <mail>
Component: dnfAssignee: rpm-software-management
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 39CC: drusek, mblaha, mcermak, mhatina, packaging-team-maint, rpm-software-management, samuel-rhbugs, sanjay.ankur, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description AsciiWolf 2018-01-24 16:01:30 UTC
Description of problem:
New packages that are supplements of another (already installed) package are pulled only when the original package is being upgraded or reinstalled. This is a problem in some cases, for example if a newly added repository has AppStream metadata packages (to enable users to install packages using GNOME Software/KDE Discover) that are supplements of the original Fedora appstream-data package. Please, consider fixing this.

Additional info:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/YJFNPX2LA3DQPLOR55EIVYH4TNUTIIIS/

Comment 1 Fedora End Of Life 2018-02-20 15:36:31 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 2 AsciiWolf 2018-06-02 18:34:47 UTC
Any news?

Comment 3 Ankur Sinha (FranciscoD) 2018-09-16 10:07:15 UTC
I expect this is the case in all Fedoras. Bumping to rawhide.

Comment 4 Igor Raits 2018-11-30 14:51:22 UTC
So here is nothing to do from libsolv side, it doesn't know if the package was excluded/broken or it just appeared in the repo, so it doesn't take any action.

DNF should implement install-new-recommends command.

Comment 5 Daniel Mach 2018-11-30 19:08:40 UTC
How about install-new-weak-deps?
It can be be also Supplements, correct?

Comment 6 Igor Raits 2018-12-01 00:07:02 UTC
(In reply to Daniel Mach from comment #5)
> How about install-new-weak-deps?

Please make it same as in other package managers -- install-new-recommends.

> It can be be also Supplements, correct?

Yes.

You need to set solverflags to "addalreadyrecommended" and do empty transaction.

Comment 7 Ben Cotton 2019-02-19 17:12:19 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 30 development cycle.
Changing version to '30.

Comment 8 Ben Cotton 2019-08-13 18:56:28 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 9 Ben Cotton 2020-02-11 15:47:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 10 Ben Cotton 2020-08-11 15:35:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 11 AsciiWolf 2021-05-14 13:48:03 UTC
Still the same problem.

Comment 12 AsciiWolf 2021-05-14 13:48:43 UTC
(Can be reproduced by adding RPM Fusion.)

Comment 13 Ben Cotton 2021-08-10 13:47:22 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 14 Ben Cotton 2022-02-08 21:39:05 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 15 Fedora Release Engineering 2023-08-16 08:08:18 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.