keyboard-configuration error on upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
console-setup (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
```
% sudo apt update && sudo apt full-upgrade -V
(略)
以下のパッケージはアップグレー
console-setup (1.108ubuntu15.2 => 1.108ubuntu15.3)
console-
keyboard-
klibc-utils (2.0.4-
libdrm-amdgpu1 (2.4.67-
libdrm-intel1 (2.4.67-
libdrm-nouveau2 (2.4.67-
libdrm-radeon1 (2.4.67-
libdrm2 (2.4.67-
libegl1-mesa (11.2.0-1ubuntu2.2 => 12.0.6-
libgbm1 (11.2.0-1ubuntu2.2 => 12.0.6-
libgl1-mesa-dri (11.2.0-1ubuntu2.2 => 12.0.6-
libklibc (2.0.4-
libwayland-
os-prober (1.70ubuntu3 => 1.70ubuntu3.3)
アップグレード: 15 個、新規インストール: 0 個、削除: 0 個、保留: 0 個。
6,515 kB のアーカイブを取得する必要があります。
この操作後に追加で 1,692 kB のディスク容量が消費されます。
続行しますか? [Y/n]
(略)
keyboard-
bin/setupcon: 806: bin/setupcon: bin/../bin/ckbcomp: not found
dpkg: パッケージ keyboard-
サブプロセス インストール済みの post-installation スクリプト はエラー終了ステータス 1 を返しました
エラーメッセージは前の失敗から
console-
パッケージ keyboard-
dpkg: パッケージ console-setup-linux の処理中にエラーが発生しました (--configure):
依存関係の問題 - 設定を見送ります
dpkg: 依存関係の問題により console-setup の設定ができません:
console-setup は以下に依存 (depends) します: console-setup-linux ...しかし:
パッケージ console-setup-linux はまだ設定されていません。
console-setup は以下に依存 (depends) します: keyboard-
パッケージ keyboard-
dpkg: パッケージ console-setup の処理中にエラーが発生しました (--configure):
依存関係の問題 - 設定をエラーメッセージは前の失
見送ります
(略)
処理中にエラーが発生しました:
keyboard-
console-
console-setup
[master c37e05e] committing changes in /etc after apt run
3 files changed, 12 insertions(+), 71 deletions(-)
delete mode 100755 init.d/
E: Sub-process /usr/bin/dpkg returned an error code (1)
zsh: exit 100 sudo apt full-upgrade -V
```
```
% lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
% LANG=C sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up keyboard-
bin/setupcon: 806: bin/setupcon: bin/../bin/ckbcomp: not found
dpkg: error processing package keyboard-
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of console-
console-
Package keyboard-
dpkg: error processing package console-setup-linux (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of console-setup:
console-setup depends on console-
Package console-setup-linux is not configured yet.
console-setup depends on keyboard-
message indicates its a followup error from a previous failure.
Package keyboard-
dpkg: error processing package console-setup (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
countered while processing:
keyboard-
console-
console-setup
E: Sub-process /usr/bin/dpkg returned an error code (1)
zsh: exit 100 LANG=C sudo apt-get -f install
```
if it can help anyone, I had this problem on normal update/upgrade on 16.04.05 LTS bin/ckbcomp: not found
if you notice the error message: /usr/local/
my ckbcomp was in BIN not LOCAL/BIN.
I copied it to BIN and rerun update/upgrade and the upgrade completely successfully. sorted.