https://bugzilla.redhat.com/show_bug.cgi?id=983979
Bug ID: 983979 Summary: yum doesn't remove no longer needed packages with langpacks Product: Fedora Version: 19 Component: yum-langpacks Severity: low Priority: unspecified Assignee: notting@redhat.com Reporter: yoursdearboy@gmail.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, james.antill@redhat.com, notting@redhat.com, petersen@redhat.com, pnemade@redhat.com
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): 0.3.1-2.fc19
How reproducible: always
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
Actual results: Dependencies with langpacks won't be erased
Expected results: All leftover dependencies should be erased
Additional info: 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.
https://bugzilla.redhat.com/show_bug.cgi?id=983979
--- Comment #1 from Kirill Voronin yoursdearboy@gmail.com --- Created attachment 772670 --> https://bugzilla.redhat.com/attachment.cgi?id=772670&action=edit libreoffice-writer install log
https://bugzilla.redhat.com/show_bug.cgi?id=983979
--- Comment #2 from Kirill Voronin yoursdearboy@gmail.com --- Created attachment 772671 --> https://bugzilla.redhat.com/attachment.cgi?id=772671&action=edit libreoffice-writer remove log
https://bugzilla.redhat.com/show_bug.cgi?id=983979
--- Comment #3 from Kirill Voronin yoursdearboy@gmail.com --- Created attachment 772672 --> https://bugzilla.redhat.com/attachment.cgi?id=772672&action=edit libreoffice-writer dependencies install reasons
https://bugzilla.redhat.com/show_bug.cgi?id=983979
--- Comment #4 from Bill Nottingham notting@redhat.com --- What's your yum config - do you have clean_requirements_on_remove set?
https://bugzilla.redhat.com/show_bug.cgi?id=983979
--- Comment #5 from Kirill Voronin yoursdearboy@gmail.com --- (In reply to Bill Nottingham from comment #4)
What's your yum config - do you have clean_requirements_on_remove set?
[main] cachedir=/var/cache/yum/$basearch/$releasever keepcache=0 debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 installonly_limit=3
# My changes group_package_types=mandatory clean_requirements_on_remove=1
and langpacks.conf [main] enabled=1
langpack_locales = en_US, ru_RU
https://bugzilla.redhat.com/show_bug.cgi?id=983979
Bill Nottingham notting@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zpavlas@redhat.com
--- Comment #6 from Bill Nottingham notting@redhat.com --- James, Zdenek - is there something specific that yum-langpacks can do to mark the packages it installs so that this works?
https://bugzilla.redhat.com/show_bug.cgi?id=983979
Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|notting@redhat.com |pnemade@redhat.com
--- Comment #7 from Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com --- This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
https://bugzilla.redhat.com/show_bug.cgi?id=983979
Parag pnemade@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(james.antill@redh | |at.com)
--- Comment #8 from Parag pnemade@redhat.com --- James, Can you please provide your views on this bug?
thanks.
https://bugzilla.redhat.com/show_bug.cgi?id=983979
James Antill james.antill@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(james.antill@redh | |at.com) |
--- Comment #9 from James Antill james.antill@redhat.com --- Created attachment 856256 --> https://bugzilla.redhat.com/attachment.cgi?id=856256&action=edit Clean requirements from langpack install.
I believe this will fix it.
https://bugzilla.redhat.com/show_bug.cgi?id=983979
James Antill james.antill@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
https://bugzilla.redhat.com/show_bug.cgi?id=983979
--- Comment #10 from Kirill Voronin yoursdearboy@gmail.com --- (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).
https://bugzilla.redhat.com/show_bug.cgi?id=983979
--- Comment #11 from Fedora End Of Life endoflife@fedoraproject.org --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=983979
Fedora End Of Life endoflife@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |EOL Last Closed| |2015-02-18 08:59:44
--- Comment #12 from Fedora End Of Life endoflife@fedoraproject.org --- 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 bug.
Thank you for reporting this bug and we are sorry it could not be fixed.
i18n-bugs@lists.fedoraproject.org