[Bug 1179446] Re: Cannot use apt-get because of error in exim4-base_4.76-3ubuntu3.2_amd64.deb

Marek Pietrucha mark.pietrucha at gmail.com
Wed May 15 07:43:55 UTC 2013


Adding full stack of apt-get -f install:

`--# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  exim4-base libgnutls26
Suggested packages:
  mail-reader eximon4 exim4-doc-html exim4-doc-info spf-tools-perl swaks gnutls-bin
Recommended packages:
  mailx
The following packages will be upgraded:
  exim4-base libgnutls26
2 upgraded, 0 newly installed, 0 to remove and 96 not upgraded.
14 not fully installed or removed.
Need to get 0 B/1326 kB of archives.
After this operation, 156 kB disk space will be freed.
Do you want to continue [Y/n]? Y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "en_US",
	LC_ALL = (unset),
	LANG = "en_US"
    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
Preconfiguring packages ...
exim4-base failed to preconfigure, with exit status 1
(Reading database ... 45202 files and directories currently installed.)
Preparing to replace exim4-base 4.76-3ubuntu3.1 (using .../exim4-base_4.76-3ubuntu3.2_amd64.deb) ...
Unpacking replacement exim4-base ...
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
dpkg: warning: subprocess old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
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
dpkg: error processing /var/cache/apt/archives/exim4-base_4.76-3ubuntu3.2_amd64.deb (--unpack):
 subprocess new post-removal script returned error exit status 1
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
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 1
Processing triggers for ureadahead ...
Errors were encountered while processing:
 /var/cache/apt/archives/exim4-base_4.76-3ubuntu3.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1179446

Title:
  Cannot use apt-get because of error in
  exim4-base_4.76-3ubuntu3.2_amd64.deb

Status in “apt” package in Ubuntu:
  Incomplete
Status in “exim4” package in Ubuntu:
  Incomplete

Bug description:
  For quite some time I'm struggling with an issue with apt-get. I cannot install (update or remove) any packages using apt-get. Every time i try to do so, apt-get tells me to do:
  > apt-get -f install
  which i do but this doesn't help. I get the same error
  > post-removal script returned error code (1)
  > dpkg error /var/cache/apt/archives/exim4-base_4.76-3ubuntu3.2_amd64.deb (--unpack)
  It says something about the lack of apport program, last error: reached limit of MaxReports

  I updated source.list to the official ones:
  deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
  deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted
  deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
  deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted

  deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
  deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
  deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
  deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse

  deb http://archive.canonical.com/ubuntu precise partner
  deb-src http://archive.canonical.com/ubuntu precise partner
  (before I had my host mirrors set)
   
  I updated using:
  apt-get update

  And i event removed the archive file:
  /var/cache/apt/archives/exim4-base_4.76-3ubuntu3.2_amd64.deb

  This is definitely a security feature because if something happens and
  i need a security update or to install a new package i'm blocked.

  Thank you for your help in advance.
  I will be happy to help in any way i can!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1179446/+subscriptions




More information about the foundations-bugs mailing list