Remove residual rpm packages after deleting the Requires dependencies #2980
Replies: 2 comments 1 reply
-
[root@linux ~]# dnf install python3-cheroot-10.0.0-2.ocs23.noarch.rpm
|
Beta Was this translation helpful? Give feedback.
-
Impossible to give any detailed response because there's almost no info provided on what was done and so on, but: if a package cannot be removed after removing another one, then it sounds to me like that package is missing a dependency on the removed one. Also, if you used 'rpm --nodeps' (the most common way of ending up with broken dependencies) then you get to keep all the pieces. It's also not a feature request of any kind. Questions like this is what the Q&A department in the discussions is for. |
Beta Was this translation helpful? Give feedback.
-
Generally requests for new features should be opened as a Discussion first. There feedback from the community can be collected and possible solutions can be discussed. Consider maintaining a design outline in the top post and update it as the discussion progresses. After a plan of action has solidified an issue for actually implementing it can be created.
Is your feature request related to a problem? Please describe.
When I remove the unnecessary 'Requires:' of one package, I found that the residual package which is no more required can not br removed when upgrade. I tried 'Obsoletes', but I found that it affects other packages that requires it. For example, in package A, if 'Requires B' is removed and 'Obsoletes B' is added, then another package C that 'Requires B' cannot be installed.
Describe the solution you'd like
Something like 'Obsoletes' that can only remove unneccesary requires of current package.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Beta Was this translation helpful? Give feedback.
All reactions