Red Hat Bugzilla – Bug 983979
yum doesn't remove no longer needed packages with langpacks
Last modified: 2015-02-18 08:59:44 EST
Description of problem:
yum doesn't remove packages with langpacks that no longer needed by any other package.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install any package with deps that have langpacks (e. g. libreoffice-writer has mythes dependency with mythes-%s langpacks)
2. Remove this package
Dependencies with langpacks won't be erased
All leftover dependencies should be erased
For example: if I install libreoffice-writer it pulls mythes and language packs mythes-en, mythes-ru. If I delete libreoffice-writer package mythes won't be erased.
As I understand it happens because packages mythes-ru, mythes-en installs "by user" and have mythes dependency.
Created attachment 772670 [details]
libreoffice-writer install log
Created attachment 772671 [details]
libreoffice-writer remove log
Created attachment 772672 [details]
libreoffice-writer dependencies install reasons
What's your yum config - do you have clean_requirements_on_remove set?
(In reply to Bill Nottingham from comment #4)
> What's your yum config - do you have clean_requirements_on_remove set?
# My changes
langpack_locales = en_US, ru_RU
James, Zdenek - is there something specific that yum-langpacks can do to mark the packages it installs so that this works?
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Can you please provide your views on this bug?
Created attachment 856256 [details]
Clean requirements from langpack install.
I believe this will fix it.
(In reply to James Antill from comment #9)
> Created attachment 856256 [details]
> Clean requirements from langpack install.
> I believe this will fix it.
Yes, that works, but "yum autoremove" will delete all langpacks because they're marked installed as dependencies (but no package depends on them).
This message is a notice that Fedora 19 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 19. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 19 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.