Find the answer to your Linux question:
Results 1 to 2 of 2
when i tried to install gwibber, ubuntu software center is said that it is unable to install the software (this was the error report): installArchives() failed: perl: warning: Setting locale ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Location
    lucknow,india
    Posts
    18

    Exclamation unable to install or remove software

    when i tried to install gwibber, ubuntu software center is said that it is unable to install the software (this was the error report):

    installArchives() failed: perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    Selecting previously deselected package gwibber.
    (Reading database ...
    (Reading database ... 5%
    (Reading database ... 10%
    (Reading database ... 15%
    (Reading database ... 20%
    (Reading database ... 25%
    (Reading database ... 30%
    (Reading database ... 35%
    (Reading database ... 40%
    (Reading database ... 45%
    (Reading database ... 50%
    (Reading database ... 55%
    (Reading database ... 60%
    (Reading database ... 65%
    (Reading database ... 70%
    (Reading database ... 75%
    (Reading database ... 80%
    (Reading database ... 85%
    (Reading database ... 90%
    (Reading database ... 95%
    (Reading database ... 100%
    (Reading database ... 170778 files and directories currently installed.)
    Unpacking gwibber (from .../gwibber_2.30.1-0ubuntu1_all.deb) ...
    Processing triggers for man-db ...
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    /usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are correct
    Processing triggers for desktop-file-utils ...
    Processing triggers for python-gmenu ...
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    Rebuilding /usr/share/applications/desktop.en_IN.ISO8859-1.cache...
    WARNING: System locale is invalid
    Processing triggers for python-support ...
    Setting up linux-image-2.6.32-24-generic (2.6.32-24.39) ...
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    Running depmod.
    update-initramfs: Generating /boot/initrd.img-2.6.32-24-generic
    Not updating initrd symbolic links since we are being updated/reinstalled
    (2.6.32-24.38 was configured last, according to dpkg)
    Not updating image symbolic links since we are being updated/reinstalled
    (2.6.32-24.38 was configured last, according to dpkg)
    Running postinst hook script /usr/sbin/update-grub.
    /bin/sh: Illegal option -

    User postinst hook script [/usr/sbin/update-grub] exited with value 2
    dpkg: error processing linux-image-2.6.32-24-generic (--configure):
    subprocess installed post-installation script returned error exit status 2
    Setting up gwibber (2.30.1-0ubuntu1) ...

    Processing triggers for python-central ...
    Errors were encountered while processing:
    linux-image-2.6.32-24-generic
    Setting up linux-image-2.6.32-24-generic (2.6.32-24.39) ...
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_IN.ISO8859-1"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    Running depmod.
    update-initramfs: Generating /boot/initrd.img-2.6.32-24-generic
    Not updating initrd symbolic links since we are being updated/reinstalled
    (2.6.32-24.38 was configured last, according to dpkg)
    Not updating image symbolic links since we are being updated/reinstalled
    (2.6.32-24.38 was configured last, according to dpkg)
    Running postinst hook script /usr/sbin/update-grub.
    /bin/sh: Illegal option -

    User postinst hook script [/usr/sbin/update-grub] exited with value 2
    dpkg: error processing linux-image-2.6.32-24-generic (--configure):
    subprocess installed post-installation script returned error exit status 2

    it gives the same message whenever i try to install or remove any software.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute this
    Code:
    sudo locale-gen
    sudo apt-get clean all
    sudo apt-get update
    Try to install/remove any package.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...