Bug 1170990 - *-lang packages are in "Unneeded Packages" classification
*-lang packages are in "Unneeded Packages" classification
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: libzypp
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: E-mail List
E-mail List
Depends on:
  Show dependency treegraph
Reported: 2020-05-01 17:18 UTC by Yunhe Guo
Modified: 2020-06-25 10:24 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
ma: needinfo? (i)


Note You need to log in before you can comment on or make changes to this bug.
Description Yunhe Guo 2020-05-01 17:18:08 UTC
This is tested in a Simplified Chinese installation (installed in Jan 2020):

1. YaST > Software Management.
2. Package Classification > Unneeded Packages.
3. Check the list.

Expected result:

These language packages should be needed and not be in the list:
- MozillaFirefox-translations-common
- NetworkManager-lang
- PackageKit-lang
- bash-lang
- coreutils-lang
- gtk3-lang
- plasma5-desktop-lang
- libreoffice-l10n-zh_CN
- yast-lang

Actual result:

Above packages are in the list, meaning they can be deleted without affecting the current system. But this will cause most translation of the system lost.
Comment 1 Andreas Stieger 2020-05-03 06:52:19 UTC
Moving to YaST. Not an issue with the translations themselves but the representation. I think it all comes down to the definition of "unneeded".
Comment 2 Stefan Hundhammer 2020-05-07 15:47:09 UTC
This is a flag set by libzypp.
YaST just displays a list of packages that have

   zypp::PoolItem( pkg ).status().isUnneeded()

Comment 3 Michael Andres 2020-05-08 08:13:28 UTC
It's computed by the solver and depends in the packages dependencies and the systems settings. 

@Yunhe Guo: Please provide a solver testcase. AFAIK `YaST > Software Management` provides a button to create a testcase in it's menues. After this, collect and attach the yast logs.
(see https://en.opensuse.org/openSUSE:Report_a_YaST_bug)
Comment 4 Michael Andres 2020-06-25 10:24:15 UTC
Feel free to re-open the bug, if the issue persists and the requested info can be provided.