Announcement

Collapse
No announcement yet.

Cannot install language

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cannot install language

    I add kubuntu experimental in the software sources and my Norwegian language disappeared. When I try to add Norwegian again, but I get this message:

    Code:
    You have the language with code 'nb' in your list of languages to use for translation but the localization files for it could not be found. The language has been removed from your configuration. If you want to add it again please install the localization files for it and add the language again.
    HELP PLEASE
    Last edited by pider; Jun 23, 2014, 01:55 PM. Reason: solved
    sigpic
    Pider
    Kubuntu 16.10
    Multicom Talisa

    #2
    And if you try to install the Norwegian Bookmal translations ?

    Packages:

    kde-l10n-nb
    Description: Norwegian Bokmål (nb) localization for KDE

    This package contains the translation files for all KDE core applications for
    the language "Norwegian Bokmål".
    language-pack-nb-base
    Description: translations for language Bokmål, Norwegian; Norwegian Bokmål

    Translation data for all supported packages for:
    Bokmål, Norwegian; Norwegian Bokmål
    .
    This package provides the bulk of translation data and is updated
    only seldom. language-pack-nb provides frequent
    translation updates, so you should install this as well.
    language-pack-nb
    Description: translation updates for language Bokmål, Norwegian; Norwegian Bokmål

    Translation data updates for all supported packages for:
    Bokmål, Norwegian; Norwegian Bokmål
    .
    language-pack-nb-base provides the bulk of translation data
    and is updated only seldom. This package provides frequent translation
    updates.
    firefox-locale-nb
    Description: Bokmål, Norwegian; Norwegian Bokmål language pack for Firefox

    This package contains Bokmål, Norwegian; Norwegian Bokmål translations and search plugins
    for Firefox
    calligra-l10n-nb
    Description-en: Norwegian Bookmal (nb) localization files for Calligra

    This package contains the Norwegian Bookmal translations for all
    the applications in the Calligra Office Suite.
    A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
    Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

    Comment


      #3
      Hi!
      Output:

      per@per-kubuntu:~$ sudo apt-get install kde-l10n-nb
      [sudo] password for per:
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      kde-l10n-nb is already the newest version.
      The following packages were automatically installed and are no longer required:
      libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386
      Use 'apt-get autoremove' to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      per@per-kubuntu:~$ sudo apt-get install language-pack-nb-base
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      language-pack-nb-base is already the newest version.
      language-pack-nb-base set to manually installed.
      The following packages were automatically installed and are no longer required:
      libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386
      Use 'apt-get autoremove' to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      per@per-kubuntu:~$ sudo apt-get install language-pack-nb
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      language-pack-nb is already the newest version.
      The following packages were automatically installed and are no longer required:
      libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386
      Use 'apt-get autoremove' to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      per@per-kubuntu:~$ sudo apt-get install firefox-locale-nb
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      firefox-locale-nb is already the newest version.
      The following packages were automatically installed and are no longer required:
      libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386
      Use 'apt-get autoremove' to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      per@per-kubuntu:~$ sudo apt-get install calligra-l10n-nb
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      calligra-l10n-nb is already the newest version.
      The following packages were automatically installed and are no longer required:
      libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386
      Use 'apt-get autoremove' to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      and it did not help
      sigpic
      Pider
      Kubuntu 16.10
      Multicom Talisa

      Comment


        #4
        Does the 'reinstall' option change anything ?

        Something like:
        Code:
        sudo apt-get clean
        sudo apt-get update
        sudo apt-get dist-upgrade
        sudo apt-get install --reinstall kde-l10n-nb language-pack-nb-base language-pack-nb firefox-locale-nb calligra-l10n-nb
        ie

        cleaning the local repository of retrieved package files
        updating the package index
        upgrading packages
        reinstalling the nb language packages


        man apt-get:

        dist-upgrade
        dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies
        with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade
        the most important packages at the expense of less important ones if necessary...
        --reinstall
        Re-install packages that are already installed and at the newest version.
        A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
        Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

        Comment


          #5
          Hi
          Here is what I did

          http://pastebin.com/3VYXaXBU This link is now ok!

          Try to install Norwegian again, but same error again! Here are some sceenshot:







          Last edited by pider; Jun 23, 2014, 12:22 AM.
          sigpic
          Pider
          Kubuntu 16.10
          Multicom Talisa

          Comment


            #6
            I have migrated /home to another partition, maybe this will affect this?
            sigpic
            Pider
            Kubuntu 16.10
            Multicom Talisa

            Comment


              #7
              I only know what you are telling/showing

              About your paste

              1) it has:
              per@per-kubuntu:~$ sudo apt-get clean
              [sudo] password for per:
              E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
              E: Unable to lock the download directory
              per@per-kubuntu:~$ sudo apt-get update
              ...
              The 'apt-get clean' was not executed as there was the apt lock file

              The idea of the using the 'clean' is that if there is a broken package in the cache it is cleaned off before upgrade/re-installation. The apt will use the package from the cache if there is no more recent package in the repository.


              2) The paste is a stub - the last lines are:

              Ign http://archive.ubuntu.com trusty-security/universe Translation-en_US
              Ign http://archive.ubuntu.com trusty-security/universe Translation-nb
              ...so I don't know:

              was the upgrade successful ?
              was the re-installation of the language package successful ?
              what is the language package version?
              where the language packages are from ?


              What I know

              You wrote:
              I add kubuntu experimental in the software sources and my Norwegian language disappeared...
              If I look the https://launchpad.net/~kubuntu-ppa/+...e/experimental

              There is the kde-l10n-nb (4:4.13.1-0ubuntu0.1~ubuntu14.04~ppa2)

              are you using this package ?

              The command:
              Code:
              apt-cache policy kde-l10n-nb
              Should show the installed version and available versions.

              have you tried to remove/replace the kubuntu experimental packages with the Ubuntu repository versions ?

              There is the package ppa-purge to replace the ppa packages with the Ubuntu packages:
              :~$ apt-cache show ppa-purge
              Package: ppa-purge
              Priority: optional
              Section: universe/utils
              ...
              Description: disables a PPA and reverts to official packages
              This program disables a PPA from your Software Sources and reverts your
              system back to the official Ubuntu packages. You can use this to return your
              system to normal after testing a new version from a PPA.

              Homepage: https://launchpad.net/ppa-purge
              Last edited by Rog132; Jun 23, 2014, 10:58 AM.
              A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
              Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

              Comment


                #8
                Hi
                Than you for your help!
                I decided to reinstall, and I am back to Norwegian. There was a update (I do not know which), and this time also language turned to English, but this time it went well to change to Norwegian.
                sigpic
                Pider
                Kubuntu 16.10
                Multicom Talisa

                Comment

                Working...
                X