abnt2 layout keyboard not found, unable to upgrade initramfs-tools
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
console-setup (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In a recently fresh installed Ubuntu 14.04 Server I did an aptitude full-upgrade and I get the following error:
root@indus:/tmp# aptitude full-upgrade
The following partially installed packages will be configured:
initramfs-tools
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.
/usr/share/
E: /usr/share/
update-initramfs: failed for /boot/initrd.
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.
/usr/share/
E: /usr/share/
update-initramfs: failed for /boot/initrd.
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
initramfs-tools
root@indus:/tmp#
This is blocking me from upgrading the package initramfs-tools to the latest version. Because I live in Brazil, the layout abnt2 is the correct one for this Ubuntu Server (no Xorg installed) and it was properly selected during install. But in the full-upgade this started to happen unexpectly. I never changed the keyboard settings or messed with it.