Public bug reported:

Binary package hint: console-setup

My Gutsy->Hardy upgrade failed due to console-setup.  Reproducing here
with a simple apt-get install:

Reading package lists... Done
Building dependency tree
Reading state information... Done
console-setup is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up console-setup (1.21ubuntu8) ...
/var/lib/dpkg/info/console-setup.config: line 1158: US: command not found
dpkg: error processing console-setup (--configure):
 subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
 console-setup
E: Sub-process /usr/bin/dpkg returned an error code (1)

The offending line is the eval:

if which locale >/dev/null; then
    eval `locale`
fi

my locale command returns:

LANG=en US
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=en_US.utf8

Due to ubuntu-minimal depending on console-setup, I had to remove them
both to let upgrades happen in the future.

** Affects: console-setup (Ubuntu)
     Importance: Undecided
         Status: Invalid

-- 
uninstallable on hardy: shell script error in preinst
https://bugs.launchpad.net/bugs/221993
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to