Bug 1151850 - [dnf langinstall] Message for already installed language can be more informative
Summary: [dnf langinstall] Message for already installed language can be more informative
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-langpacks
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Parag Nemade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-12 15:24 UTC by A S Alam
Modified: 2015-01-02 05:05 UTC (History)
3 users (show)

Fixed In Version: dnf-langpacks-0.6.0-1.fc21
Clone Of:
Environment:
Last Closed: 2015-01-02 05:04:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description A S Alam 2014-10-12 15:24:57 UTC
Description of problem:
output Message for already installed language need to more accurate. 


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.$dnf langinstall pa (or anyother lang) (just to confirm that language is installed)
2.$ dnf langinstall pa (again) (to verify output message)
3.

Actual results:
No langpacks to install for: pa
(Is no langpack *available* to Install OR Is langpack already installed, so nothing to install)

Expected results:
message can be like "All langpack already installed, so nothing to install" or something like that

Additional info:

Comment 1 A S Alam 2014-10-12 15:25:53 UTC
dnf-langpacks-0.5.0-1.fc21.noarch

Comment 2 A S Alam 2014-10-12 15:39:40 UTC
Below outputs reflect actual difference between correct Language code and incorrect Language code (output is same).

[aman@spacehawk ~]$ sudo dnf langinfo pa
Language-Id=pa
  aspell-pa
  gcompris-sound-pa
  hunspell-pa
  hyphen-pa
  kde-i18n-Punjabi
  kde-l10n-Punjabi
  libreoffice-langpack-pa
[aman@spacehawk ~]$ sudo dnf langinstall pa
No langpacks to install for: pa
[aman@spacehawk ~]$ sudo dnf langinstall paap
No langpacks to install for: paap

Comment 3 Fedora Update System 2014-12-23 17:35:34 UTC
dnf-langpacks-0.6.0-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/dnf-langpacks-0.6.0-1.fc21

Comment 4 Fedora Update System 2014-12-23 17:35:51 UTC
dnf-langpacks-0.6.0-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/dnf-langpacks-0.6.0-1.fc20

Comment 5 lnie 2014-12-24 07:01:29 UTC
dnf-langpacks-0.6.0-1.fc21 works

Comment 6 Fedora Update System 2014-12-25 05:32:44 UTC
Package dnf-langpacks-0.6.0-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-langpacks-0.6.0-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-17578/dnf-langpacks-0.6.0-1.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-01-02 05:04:42 UTC
dnf-langpacks-0.6.0-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-01-02 05:05:11 UTC
dnf-langpacks-0.6.0-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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