Bug 24221 - Not all files from package were installed
Summary: Not all files from package were installed
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-22 12:19 CET by Alex Loginov
Modified: 2019-01-22 13:56 CET (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Alex Loginov 2019-01-22 12:19:51 CET
Description of problem:
Rpm package was installed not full. /usr/share/locale are partially.

eduactiv8
Working directory: /usr/share/eduactiv8
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "/usr/share/eduactiv8/eduactiv8.py", line 649, in <module>
    main()
  File "/usr/share/eduactiv8/eduactiv8.py", line 639, in main
    app.run()
  File "/usr/share/eduactiv8/eduactiv8.py", line 354, in run
    self.set_up_user()
  File "/usr/share/eduactiv8/eduactiv8.py", line 223, in set_up_user
    self.lang.load_language()
  File "/usr/share/eduactiv8/classes/lang.py", line 44, in load_language
    self.get_lang_attr()
  File "/usr/share/eduactiv8/classes/lang.py", line 51, in get_lang_attr
    self.trans[self.lang] = gettext.GNUTranslations(open(filename, "rb"))
FileNotFoundError: [Errno 2] Нет такого файла или каталога: '/usr/share/locale/uk/LC_MESSAGES/eduactiv8.mo'

For example file /usr/share/locale/uk/LC_MESSAGES/eduactiv8.mo is present in rpm package, but was not installed.

How reproducible: always

Steps to Reproduce:
1. Install package with locales
2. Check files of locales
3. Missing files of locales.

This bug is release blocker.
Alex Loginov 2019-01-22 12:20:28 CET

Priority: Normal => release_blocker

Comment 1 Thomas Backlund 2019-01-22 12:25:06 CET
not a bug.

We only install translations according to %_install_langs defined in /etc/rpm/macros
(this gets written at system install time)

This has been the default setup since Mandrake / Mandriva days

CC: (none) => tmb
Severity: major => normal
Resolution: (none) => INVALID
Status: NEW => RESOLVED
Priority: release_blocker => Normal

Comment 2 Alex Loginov 2019-01-22 13:56:34 CET
Thomas, what to do if program needs all MO files and it has switching of langs in GUI?

Note You need to log in before you can comment on or make changes to this bug.