Description of problem:
I'm running my system with LANG=de_DE.utf8, but don't want to see man pages written in German, as they sometimes are badly translated or outdated. Until F24 I could easily arrange for that by running "rpm -e man-pages-de" or "dnf remove man-pages-de". In F24 that doesn't work anymore, as man-pages-de gets reinstalled every time man-pages receives an update (just happened to me and verified be downgrading and updating again). That's due to this afaics:
$ rpm -qp man-pages-de-1.12-3.fc24.noarch.rpm --supplements
(man-pages and langpacks-de)
I wonder if dnf should somehow work like this "hey, the user on purpose uninstalled man-pages-de earlier, so lets not reinstall it now while updating mang-pages, even if the supplements tag suggests to do it".
Version-Release number of selected component (if applicable):
What update, this latest?
(In reply to Raphael Groner from comment #1)
> What update, this latest?
Yes. But In the end it's just the update to the package "man-pages" afaics. I verified by downgrading to the older man-pages package locally and running "dnf update" again.
I confirm I can reproduce this bug today as I know man-pages-de update is available and I removed man-pages-de before executing "dnf update".
Let's see what dnf developers have to say on this issue.
We can make plugin that would not pulled in removed weak deps.
at the meantime you can add into "excludes" in dnf.conf "man-pages-de".
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
(In reply to Honza Silhan from comment #4)
> We can make plugin that would not pulled in removed weak deps.
> at the meantime you can add into "excludes" in dnf.conf "man-pages-de".
This is probably not enough. The "excludes" should support pairs of packages, e.g. if there is required installation/update of package A, which has weak dependency on package B, please ignore B. However, if there is package C, which has dependency (hard or soft, it doesn't really matters) on B, the B should be installed.
BTW this seems to be duplicate of bug 1278196
*** This bug has been marked as a duplicate of bug 1278196 ***
*** Bug 1394211 has been marked as a duplicate of this bug. ***
no, B should not be installed when it is a weak dependency which was manually removed - in no case - when i say "dnf remove" i mean "dnf remove" until i say the opposite or something introdcues a hard-dependency