Bug 445517 - Anaconda crashed during selecting packages (installation mode)
Summary: Anaconda crashed during selecting packages (installation mode)
Alias: None
Product: Fedora Localization
Classification: Fedora
Component: Russian [ru]
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Andrew Martynov
QA Contact: Yulia
: 446601 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2008-05-07 11:44 UTC by Arkady L. Shane
Modified: 2016-06-05 23:36 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-11-08 19:20:10 UTC

Attachments (Terms of Use)
Updated translation for f9-branch (256.79 KB, text/x-gettext-translation)
2008-05-08 07:16 UTC, Andrew Martynov
no flags Details
Anaconda update disk to fix installation in Russian (143.20 KB, application/x-gzip)
2008-05-11 12:54 UTC, Andrew Martynov
no flags Details

Description Arkady L. Shane 2008-05-07 11:44:08 UTC
Description of problem:
This does not present in english, but it present for russian language.

Version-Release number of selected component (if applicable):
I tested it on 9-Preview and last rawhide snapshot (build via pungi)

How reproducible:

Steps to Reproduce:
1. Select russian language, russian keyboard.
2. Press "Next" until selection of repositories.
3. Click on "Customize now" (Настроить сейчас) radio button at the bottom of
screen, press "Next"
4. Click on any checkbox (for example click on KDE)
Actual results:
Anaconda crashed

Additional info:
I can't attach trace as anaconda does not suggest to save it on disk, and i
don't know how to save it.

Comment 1 Jeremy Katz 2008-05-07 13:30:02 UTC
This is a translation bug -- the plural of "%d of %d optional package selected"
is missing the format strings to be replaced

Comment 2 Dimitris Glezos 2008-05-07 14:02:37 UTC
Assigning bug to Andrew, the maintainer for Russian

Comment 3 Andrew Martynov 2008-05-07 14:31:43 UTC
f9-branch in anaconda tree already contains translation made by Yulia Poyarkova:

#: ../iw/GroupSelector.py:482
#, python-format
msgid "%d of %d optional package selected"
msgid_plural "%d of %d optional packages selected"
msgstr[0] "Выбран %d дополнительный пакет из %d"
msgstr[1] "Выбрано %d дополнительных пакетов из %d"
msgstr[2] "Дополнительных пакетов нет"

Unfortunally I`m not able to run anaconda with updated .po files now and check
if bug is solved.

Comment 4 Arkady L. Shane 2008-05-07 19:47:49 UTC
Line msgstr[2] "Дополнительных пакетов нет" won't compile with msgfmt as it
should contain %d %d.

Comment 5 Andrew Martynov 2008-05-08 07:16:45 UTC
Created attachment 304839 [details]
Updated translation for f9-branch

Comment 6 Andrew Martynov 2008-05-08 07:20:31 UTC
You are right. I retranslated this phases set and uploaded new .po file into
anaconda master branch.

Currently I`m not able to update f9-branch directly via
https://translate.fedoraproject.org/submit/module/anaconda. So I attached file

Comment 7 Arkady L. Shane 2008-05-08 15:23:59 UTC
This problem is still present in released today Fedora 9!!!!!!!!!!! 

Comment 8 Bill Nottingham 2008-05-08 15:38:49 UTC
Well, yes. The issue wasn't discovered in time, and the fix wasn't provided in
time to be integrated, 

Comment 9 Paul W. Frields 2008-05-08 15:48:55 UTC
Bill -- can we provide detailed instructions on how people can download and
prepare an Anaconda update for their systems to fix this problem?

Comment 10 Dimitris Glezos 2008-05-08 15:59:36 UTC
(In reply to comment #6)
> Currently I`m not able to update f9-branch directly via
> https://translate.fedoraproject.org/submit/module/anaconda.

f9-branch added to Transifex:


Comment 11 Bill Nottingham 2008-05-08 16:03:25 UTC
To work around this issue, the user has two choices:

1) Install in a different language, and switch the system language/locale to
Russian after installing.
2) Create an updates image with the fixed ru.po file and use it as described in

Comment 12 Arkady L. Shane 2008-05-08 16:12:16 UTC
There are five days till release, is it really not possible to respin?

Comment 13 Chris Lumens 2008-05-08 16:21:52 UTC
No, respinning means testing an entirely new set of media and syncing it all to
the mirrors.  That stuff takes time, which is why we have to stop fixing bugs
and building new packages several days before the actual release date.

Comment 14 Andrew Martynov 2008-05-08 16:53:55 UTC
Ok, I will prepare anaconda update image to test installation of released ISO 
with new .po file and will post report here. 

Comment 15 Dimitris Glezos 2008-05-08 17:16:55 UTC
A couple of things we could do is to mention in the release notes the presence
of this bug and it's workaround (install in English, switch later).

Also, we could have a re-spin created (either through Fedora, a Fedora
contributor, or Fedora Unity) and promptly mention it in Russian websites, and
even on the Russian translation of fedoraproject.org.

Comment 16 Jeroen van Meeuwen 2008-05-08 19:03:48 UTC
For anyone to be able to re-spin anything, an update to anaconda should hit the
repositories. I've stressed this before on the mailing list for anaconda
development[1], as well as in private email to some of the people involved, but
it has come to a sudden halt because (or so I understand) 'developing anaconda
is time-consuming enough as it is, and also maintaining (old versions of)
anaconda would only make it worse'.

Again though this is a perfect example of why this should change.

Now, because anaconda does _not_ get updates pushed to the appropriate Fedora
repositories, and Unity does back-port fixes for their Re-Spins[2], the fix for
this will hit http://www.kanarip.com/anaconda/f9 as soon as Unity starts
creating a Re-Spin for Fedora 9 or possibly sooner, and it'll remain there for
the duration of Fedora 9's lifecycle, available to everyone doing Re-Spins. A
little how-to on including these repositories can be found on my blog[3].

[1] https://www.redhat.com/archives/anaconda-devel-list/2008-January/msg00089.html

[2] http://git.kanarip.com/?p=anaconda (lacking commit access to upstream
repository, I'm sorry)

[3] http://blogs.fedoraunity.org/kanarip/2008/02/03/updates-to-anaconda

Comment 17 Andrew Martynov 2008-05-11 12:54:23 UTC
Created attachment 305063 [details]
Anaconda update disk to fix installation in Russian

I spent more than 5 hours to find correct solution. Anacoda code have too much
bindings to /usr/share/locale directory and where no simple way to update .mo
file (both for gui and tui modes).

After all my attempts I decided to directly block translation of some strings
in Python code. 

During investigation I found that anaconda did not install in TEXT mode also
due to unicode translation. I will post bugreport later.

Comment 18 Andrew Martynov 2008-05-11 17:59:31 UTC
Simple instructions for Russian speaking users is published at

I`m planning to update Release Notes translation and include short 
description of workaround.

Comment 19 Jeremy Katz 2008-05-15 22:00:26 UTC
*** Bug 446601 has been marked as a duplicate of this bug. ***

Comment 20 Piotr Drąg 2008-11-08 19:20:10 UTC
Fixed for master and F10, as msgid_plural is gone from PO files.

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