keyboard-configuration error on upgrade

Bug #1663161 reported by Kazuhiro NISHIYAMA
6
This bug affects 1 person
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-setup-linux (1.108ubuntu15.2 => 1.108ubuntu15.3)
   keyboard-configuration (1.108ubuntu15.2 => 1.108ubuntu15.3)
   klibc-utils (2.0.4-8ubuntu1.16.04.2 => 2.0.4-8ubuntu1.16.04.3)
   libdrm-amdgpu1 (2.4.67-1ubuntu0.16.04.2 => 2.4.70-1~ubuntu16.04.1)
   libdrm-intel1 (2.4.67-1ubuntu0.16.04.2 => 2.4.70-1~ubuntu16.04.1)
   libdrm-nouveau2 (2.4.67-1ubuntu0.16.04.2 => 2.4.70-1~ubuntu16.04.1)
   libdrm-radeon1 (2.4.67-1ubuntu0.16.04.2 => 2.4.70-1~ubuntu16.04.1)
   libdrm2 (2.4.67-1ubuntu0.16.04.2 => 2.4.70-1~ubuntu16.04.1)
   libegl1-mesa (11.2.0-1ubuntu2.2 => 12.0.6-0ubuntu0.16.04.1)
   libgbm1 (11.2.0-1ubuntu2.2 => 12.0.6-0ubuntu0.16.04.1)
   libgl1-mesa-dri (11.2.0-1ubuntu2.2 => 12.0.6-0ubuntu0.16.04.1)
   libklibc (2.0.4-8ubuntu1.16.04.2 => 2.0.4-8ubuntu1.16.04.3)
   libwayland-egl1-mesa (11.2.0-1ubuntu2.2 => 12.0.6-0ubuntu0.16.04.1)
   os-prober (1.70ubuntu3 => 1.70ubuntu3.3)
アップグレード: 15 個、新規インストール: 0 個、削除: 0 個、保留: 0 個。
6,515 kB のアーカイブを取得する必要があります。
この操作後に追加で 1,692 kB のディスク容量が消費されます。
続行しますか? [Y/n]
(略)
keyboard-configuration (1.108ubuntu15.3) を設定しています ...
bin/setupcon: 806: bin/setupcon: bin/../bin/ckbcomp: not found
dpkg: パッケージ keyboard-configuration の処理中にエラーが発生しました (--configure):
 サブプロセス インストール済みの post-installation スクリプト はエラー終了ステータス 1 を返しました
エラーメッセージは前の失敗から続くエラーであることを示しているので、レポートは書き込まれません。
                                                                                                dpkg: 依存関係の問題により console-setup-linux の設定ができません:
 console-setup-linux は以下に依存 (depends) します: keyboard-configuration (= 1.108ubuntu15.3) ...しかし:
  パッケージ keyboard-configuration はまだ設定されていません。

dpkg: パッケージ console-setup-linux の処理中にエラーが発生しました (--configure):
 依存関係の問題 - 設定を見送ります
dpkg: 依存関係の問題により console-setup の設定ができません:
 console-setup は以下に依存 (depends) します: console-setup-linux ...しかし:
  パッケージ console-setup-linux はまだ設定されていません。
 console-setup は以下に依存 (depends) します: keyboard-configuration (= 1.108ubuntu15.3) ...しかし:
  パッケージ keyboard-configuration はまだ設定されていません。

dpkg: パッケージ console-setup の処理中にエラーが発生しました (--configure):
 依存関係の問題 - 設定をエラーメッセージは前の失敗から続くエラーであることを示しているので、レポートは書き込まれません。

見送ります
(略)
処理中にエラーが発生しました:
 keyboard-configuration
 console-setup-linux
 console-setup
[master c37e05e] committing changes in /etc after apt run
 3 files changed, 12 insertions(+), 71 deletions(-)
 delete mode 100755 init.d/keyboard-setup
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-configuration (1.108ubuntu15.3) ...
bin/setupcon: 806: bin/setupcon: bin/../bin/ckbcomp: not found
dpkg: error processing package keyboard-configuration (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of console-setup-linux:
 console-setup-linux depends on keyboard-configuration (= 1.108ubuntu15.3); however:
  Package keyboard-configuration is not configured yet.

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-setup-linux; however:
  Package console-setup-linux is not configured yet.
 console-setup depends on keyboard-configuration (= 1.108ubuntu15.3); however:No apport report written because the error
 message indicates its a followup error from a previous failure.

  Package keyboard-configuration is not configured yet.

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.
                                                                                                          Errors were en
countered while processing:
 keyboard-configuration
 console-setup-linux
 console-setup
E: Sub-process /usr/bin/dpkg returned an error code (1)
zsh: exit 100 LANG=C sudo apt-get -f install
```

Revision history for this message
Simon Pithers (simonp-working) wrote :

if it can help anyone, I had this problem on normal update/upgrade on 16.04.05 LTS
if you notice the error message: /usr/local/bin/ckbcomp: not found
my ckbcomp was in BIN not LOCAL/BIN.
I copied it to BIN and rerun update/upgrade and the upgrade completely successfully. sorted.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.