0

When I was installing MTS Mblaz crossplatformui.deb for MTS data connect, its installed partial and shows error, and So I tried to uninstall "crossplatformui" but every time it showed following error.

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
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
(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 ... 205769 files and directories currently installed.)
Removing crossplatformui ...
ztemtvcdromd: no process found
dpkg: error processing crossplatformui (--remove):
 subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 crossplatformui
Setting up firmware-b43-installer (4.150.10.5-5) ...
--2012-06-01 14:11:21--  http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
Resolving mirror2.openwrt.org... 46.4.11.11
Connecting to mirror2.openwrt.org|46.4.11.11|:80... failed: Connection refused.
dpkg: error processing firmware-b43-installer (--configure):
 subprocess installed post-installation script returned error exit status 4
2
  • did you try removal of the package with apt-get -f remove packagename option (fixes broken dependencies)?
    – Samik
    Jun 1, 2012 at 10:33
  • yha, I used sudo apt-get -f remove crossplatformui Jun 2, 2012 at 12:41

1 Answer 1

1

Follow these steps carefully.

  1. sudo gedit /var/lib/dpkg/info/crossplatformui.postrm. This will open that file in gedit text editor with super-user privileges.
  2. press Ctrl+F in gedit to search. Write in the search-box ztemtvcdromd and comment out those lines which contains the search string by placing # at the start of the line(s).
    If this process seems complicated then simply put exit 0 after the first line (which should contain #!/sbin/sh).
  3. save the file /var/lib/dpkg/info/crossplatformui.postrm.
  4. then try dpkg -r --force-remove-reinstreq crossplatformui to uninstall the package.
16
  • And preferably set the locale en_US.UTF-8 which is universally supported instead of Indian English subset :).
    – Samik
    Jun 2, 2012 at 15:10
  • Thanks for reply but when i use that command the following message display (Reading database ... 205769 files and directories currently installed.) Removing crossplatformui ... ztemtvcdromd: no process found dpkg: error processing crossplatformui (--remove): subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing: crossplatformui Jun 3, 2012 at 17:44
  • Please provide the output of the command locale.
    – Samik
    Jun 3, 2012 at 17:48
  • Again Thanks for helping me, The output of locele command is as arvind@arvind-laptop:~$ locale LANG=en_IN LANGUAGE=en_IN:en LC_CTYPE="en_IN" LC_NUMERIC="en_IN" LC_TIME="en_IN" LC_COLLATE="en_IN" LC_MONETARY="en_IN" LC_MESSAGES=en_IN.UTF-8 LC_PAPER="en_IN" LC_NAME="en_IN" LC_ADDRESS="en_IN" LC_TELEPHONE="en_IN" LC_MEASUREMENT="en_IN" LC_IDENTIFICATION="en_IN" LC_ALL= Jun 5, 2012 at 4:31
  • 1
    en_US.UTF-8 does not have to be universally available. Use the C locale, that is always available. Shortcut: LANG=C locale. See also askubuntu.com/q/142812/6969 on changing locales temporarily.
    – Lekensteyn
    Jun 5, 2012 at 9:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .