[Bug 37707] Re: language-selector should not uninstall packages without a warning (allow opt-out)

Launchpad Bug Tracker 37707 at bugs.launchpad.net
Mon Mar 25 04:38:20 UTC 2013


This bug was fixed in the package language-selector - 0.79.2

---------------
language-selector (0.79.2) precise-proposed; urgency=low

  * LanguageSelector/LanguageSelector.py:
    Call missing() in language_support_pkgs.py instead of
    by_locale(), so the check for missing language support packages
    is carried out for all the installed languages, not only for the
    current system language (LP: #1134364).
  * language_support_pkgs.py:
    - Hack to prevent that users are prompted to install hunspell-de-xx
      when the enhanced (and conflicting) hunspell-de-xx-frami is
      installed (LP: #1103547).
    - Changes in available_languages() to avoid that users are prompted
      to install language support for non-installed languages. That
      could happen if there were other locales on the system but the
      locales representing the installed languages (LP: #1134364).
  * LanguageSelector/LangCache.py:
    When a language is removed, don't remove packages that are not
    language specific (LP: #37707).
  * debian/control:
    Bump the accountsservice dependency.
 -- Gunnar Hjalmarsson <gunnarhj at ubuntu.com>   Wed, 27 Feb 2013 16:44:00 +0100

** Changed in: language-selector (Ubuntu Precise)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/37707

Title:
  language-selector should not uninstall packages without a warning
  (allow opt-out)

Status in “language-selector” package in Ubuntu:
  Fix Released
Status in “language-selector” source package in Precise:
  Fix Released

Bug description:
  Precise SRU proposal
  ====================

  [Impact]
  When removing a language, not language specific packages are removed as well, some of which you may not want to be deleted. I (gunnarhj) have occationally experienced that e.g. evince and gimp - packages I often use - are suddenly gone. Very annoying!

  [Test Case]
  Steps to reproduce with version 0.79:
  - Install a random language.
  - Launch gnome-language-selector from a terminal window.
  - Start removing the language, but interrupt by clicking "Cancel" when asked to authenticate.
  - Make a note of the list of packages that were about to be removed.

  After installing version 0.79.2 (will be available in precise-proposed):
  - Launch gnome-language-selector from a terminal window.
  - Remove the previously installed language.
  - Note that the list of removed packages is shorter than before.

  [Regression Potential]
  The fix simply restricts which packages are removed. Besides the intentional and harmless effect that some redundant packages are kept when a language is removed, the regression risk is low.

  [Original description]
  After upgrading a recently-installed xubuntu-desktop from breezy to dapper, I ran gnome-language-selector for the first time.

  I selected Norwegian bokmål as my supported (and default) language,
  and pressed apply.   As I watched the debug log, I discovered that
  language-selector removed the xubuntu-desktop, firefox and mozilla-
  mplayer packages _without warning_.

  My language-selector package is version 0.1.15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/37707/+subscriptions




More information about the foundations-bugs mailing list