Errore (Lintian) durante aggiornamento pacchetti - cannot open locale definition file `en_US': no such directory or file

Asked by massimopug

Durante l'aggiornamento dei pacchetti eseguito da terminale esce questo errore:

max@max-desktop:~$ sudo apt-get upgrade
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti saranno aggiornati:
  gtk2-engines-pixbuf libgail-common libgail18 libgtk2.0-0 libgtk2.0-bin
  libgtk2.0-common tzdata tzdata-java
8 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
1 non completamente installati o rimossi.
È necessario scaricare 5882kB di archivi.
Dopo quest'operazione, verranno liberati 16,4kB di spazio su disco.
Continuare [S/n]? s
Scaricare:1 http://it.archive.ubuntu.com/ubuntu/ lucid-updates/main tzdata-java 2011n-0ubuntu0.10.04 [143kB]
Scaricare:2 http://it.archive.ubuntu.com/ubuntu/ lucid-updates/main tzdata 2011n-0ubuntu0.10.04 [633kB]
Scaricare:3 http://it.archive.ubuntu.com/ubuntu/ lucid-proposed/main libgail-common 2.20.1-0ubuntu2.1 [453kB]
Scaricare:4 http://it.archive.ubuntu.com/ubuntu/ lucid-proposed/main libgail18 2.20.1-0ubuntu2.1 [341kB]
Scaricare:5 http://it.archive.ubuntu.com/ubuntu/ lucid-proposed/main libgtk2.0-common 2.20.1-0ubuntu2.1 [723kB]
Scaricare:6 http://it.archive.ubuntu.com/ubuntu/ lucid-proposed/main gtk2-engines-pixbuf 2.20.1-0ubuntu2.1 [736kB]
Scaricare:7 http://it.archive.ubuntu.com/ubuntu/ lucid-proposed/main libgtk2.0-0 2.20.1-0ubuntu2.1 [2515kB]
Scaricare:8 http://it.archive.ubuntu.com/ubuntu/ lucid-proposed/main libgtk2.0-bin 2.20.1-0ubuntu2.1 [337kB]
Recuperati 5882kB in 13s (425kB/s)
Preconfigurazione dei pacchetti in corso
(Lettura del database... 236341 file e directory attualmente installati.)
Preparativi per sostituire tzdata-java v.2011m-0ubuntu0.10.04 (utilizzando .../tzdata-java_2011n-0ubuntu0.10.04_all.deb)...
Estrazione del sostituto di tzdata-java...
Preparativi per sostituire tzdata v.2011m-0ubuntu0.10.04 (utilizzando .../tzdata_2011n-0ubuntu0.10.04_all.deb)...
Estrazione del sostituto di tzdata...
Configurazione di tzdata (2011n-0ubuntu0.10.04)...

Current default time zone: 'Europe/Rome'
Local time is now: Sun Nov 6 14:16:30 CET 2011.
Universal Time is now: Sun Nov 6 13:16:30 UTC 2011.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

(Lettura del database... 236340 file e directory attualmente installati.)
Preparativi per sostituire libgail-common v.2.20.1-0ubuntu2 (utilizzando .../libgail-common_2.20.1-0ubuntu2.1_i386.deb)...
Estrazione del sostituto di libgail-common...
Preparativi per sostituire libgail18 v.2.20.1-0ubuntu2 (utilizzando .../libgail18_2.20.1-0ubuntu2.1_i386.deb)...
Estrazione del sostituto di libgail18...
Preparativi per sostituire libgtk2.0-common v.2.20.1-0ubuntu2 (utilizzando .../libgtk2.0-common_2.20.1-0ubuntu2.1_all.deb)...
Estrazione del sostituto di libgtk2.0-common...
Preparativi per sostituire gtk2-engines-pixbuf v.2.20.1-0ubuntu2 (utilizzando .../gtk2-engines-pixbuf_2.20.1-0ubuntu2.1_i386.deb)...
Estrazione del sostituto di gtk2-engines-pixbuf...
Preparativi per sostituire libgtk2.0-0 v.2.20.1-0ubuntu2 (utilizzando .../libgtk2.0-0_2.20.1-0ubuntu2.1_i386.deb)...
Estrazione del sostituto di libgtk2.0-0...
Preparativi per sostituire libgtk2.0-bin v.2.20.1-0ubuntu2 (utilizzando .../libgtk2.0-bin_2.20.1-0ubuntu2.1_all.deb)...
Estrazione del sostituto di libgtk2.0-bin...
Elaborazione dei trigger per man-db...
Configurazione di lintian (2.4.3ubuntu1~lucid1)...
Generating en_US.UTF-8 locale for internal Lintian use....
impossibile aprire il file di definizione della localizzazione "en_US": File o directory non esistente
dpkg: errore nell'elaborare lintian (--configure):
 il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1
Configurazione di tzdata-java (2011n-0ubuntu0.10.04)...
Configurazione di libgtk2.0-common (2.20.1-0ubuntu2.1)...
Configurazione di libgtk2.0-0 (2.20.1-0ubuntu2.1)...

Configurazione di libgail18 (2.20.1-0ubuntu2.1)...

Configurazione di libgail-common (2.20.1-0ubuntu2.1)...
Configurazione di gtk2-engines-pixbuf (2.20.1-0ubuntu2.1)...
Configurazione di libgtk2.0-bin (2.20.1-0ubuntu2.1)...
Elaborazione dei trigger per libc-bin...
ldconfig deferred processing now taking place
Si sono verificati degli errori nell'elaborazione:
 lintian
E: Sub-process /usr/bin/dpkg returned an error code (1)
max@max-desktop:~$

A cosa può essere dovuto?
Grazie.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu lintian Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1

< Generating en_US.UTF-8 locale for internal Lintian use....
impossibile aprire il file di definizione della localizzazione "en_US": File o directory non esistente
dpkg: errore nell'elaborare lintian (--configure): >

Lintian obviously tries to configure a nonexistent locale by default.
Please open a terminal: ctrl+alt+t
Please post output of:
locale

Revision history for this message
massimopug (massimopug) said :
#2

Thanks you for your resposte....
this is the output required:

max@max-desktop:~$ locale
LANG=it_IT.UTF-8
LANGUAGE=it_IT:en
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE="it_IT.UTF-8"
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=

Revision history for this message
Sam_ (and-sam) said :
#3

Thanks for the info, locale is fine. Some expert may review the installation routine.

Revision history for this message
mycae (mycae) said :
#4

Can you remove and reinstall the lintian package? You should not need it unless you are developing packages. You may have to use dpkg directly, and force remove the package.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Massimo from terminal type:

sudo apt-get remove lintian
sudo apt-get autoremove
sudo apt-get -f install
sudo apt-get upgrade
sudo apt-get dist-upgrade

Can you help with this problem?

Provide an answer of your own, or ask massimopug for more information if necessary.

To post a message you must log in.