Bug 11982

Summary: locale_uninstall.sh only uninstalls "ll_CC" variants but not "ll"
Product: Mageia Reporter: Thierry Vignaud <thierry.vignaud>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: marja11, pablo, tmb
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: locales CVE:
Status comment:

Description Thierry Vignaud 2013-12-13 18:11:45 CET
While debuging bug #11969, I was surprised to see polish or russian translations whereas I'd removed locales-pl & locales-ru a long time ago (if not years at least largely prior to the mass rebuild).

However translations were still installed after the mass rebuild upgrade.

It turns out that locale_uninstall.sh only uninstalls "ll_CC" variants but not "ll"

eg, installing locales-ru adds "ru:ru_RU:ru_UA" to /etc/rpm/macros     
But uninstalling it only removes "ru_RU:ru_UA", not "ru"

Reproducible: 

Steps to Reproduce:
Thierry Vignaud 2013-12-13 18:11:56 CET

CC: (none) => pablo

Comment 1 Samuel Verschelde 2015-04-25 10:23:01 CEST
Is this bug still valid Thierry?

Keywords: (none) => NEEDINFO
CC: (none) => tmb

Comment 2 Marja Van Waes 2015-11-30 13:27:41 CET
Still valid, just tested by removing locales-es in cauldron.

all "es_??" are removed from /etc/rpm/macros, but "es" is still there

Keywords: NEEDINFO => (none)
CC: (none) => marja11
Assignee: bugsquad => pkg-bugs

Comment 3 Thierry Vignaud 2016-06-02 18:17:00 CEST
humm...
It looks like we don't add anymore just "ll" to %_install_lang macro...