Ingin memperbaiki pertanyaan ini? Tambahkan detail dan perjelas masalahnya dengan mengedit postingan ini.
Ditutup 4 tahun yang lalu.
Perbaiki pertanyaan ini
Jadi saya baru saja memulai pemutakhiran otomatis distribusi Ubuntu saya pagi ini, dari 15.xx ke 16.04 baru, semuanya berjalan lancar kecuali untuk kesalahan yang saya dapatkan di akhir:sesuatu mencegah instalasi penuh paket konfigurasi keyboard (tidak t dapatkan tangkapan layar kesalahan).
Disebutkan juga bahwa karena instalasi tidak dapat diselesaikan, maka dibatalkan. Saya me-restart komputer saya dan di layar login saya langsung melihat dua hal:
-
Ini menggunakan resolusi default tanpa opsi untuk meningkatkannya (dan hanya satu dari dua layar saya yang terdeteksi), artinya mungkin driver tampilan tidak berfungsi dengan benar.
-
Ini menunjukkan bahwa ia menggunakan distribusi 16.04, jadi sepertinya sudah diperbarui.
Saya kemudian masuk ke terminal untuk mencoba dan mencari tahu mengapa tampilan saya tidak berfungsi dengan benar, ketika melakukan instalasi driver nvidia terbaru saya mendapatkan banyak kesalahan karena paket konfigurasi keyboard.
Saya mencoba menghapusnya dan menginstal ulang dengan melakukan hal berikut:
sudo apt-get rempove keyboard-configuration
sudo apt-get install keyboard-configuration
Tidak berhasil, ini kesalahan yang saya dapatkan saat menginstal:
Setting up keyboard-configuration (1.142ubuntu2) ...
/usr/local/bin/setupcon: 806: /usr/local/bin/setupcon: /usr/local/bin/ckbcomp: not found
dpkg: error processing package keyboard-configuration (--configure):
subprocess installed post-installation script returned error exit status 1
Saya melihat apa file ckbcomp dan sepertinya itu berasal dari paket konsol-setup, tetapi jika saya mencoba menginstal paket ini, saya mendapatkan kesalahan yang sama seperti di atas dengan beberapa paket gagal tambahan:
$ sudo apt-get install console-setup
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libxatracker2 libxfont1 libxvmc1 xfonts-base xfonts-encodings xfonts-utils xserver-common
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
console-setup-linux kbd
The following NEW packages will be installed:
console-setup console-setup-linux kbd
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,316 kB of archives.
After this operation, 2,975 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
Selecting previously unselected package kbd.
(Reading database ... 412842 files and directories currently installed.)
Preparing to unpack .../kbd_2.0.3-2ubuntu1_amd64.deb ...
Unpacking kbd (2.0.3-2ubuntu1) ...
Selecting previously unselected package console-setup-linux.
Preparing to unpack .../console-setup-linux_1.142ubuntu2_all.deb ...
Unpacking console-setup-linux (1.142ubuntu2) ...
Selecting previously unselected package console-setup.
Preparing to unpack .../console-setup_1.142ubuntu2_all.deb ...
Unpacking console-setup (1.142ubuntu2) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-5ubuntu1) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Setting up keyboard-configuration (1.142ubuntu2) ...
/usr/local/bin/setupcon: 806: /usr/local/bin/setupcon: /usr/local/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:
console-setup depends on keyboard-configuration (= 1.142ubuntu2); however:
Package keyboard-configuration is not configured yet.
dpkg: error processing package console-setup (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kbd:
kbd depends on console-setup | console-setup-mini; however:
Package console-setup is not configured yet.
Package console-setup-mini is not installed.
dpkg: error processing package kbd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of console-setup-linux:
console-setup-linux depends on kbd (>= 1.15-1ubuntu3); however:
Package kbd is not configured yet.
console-setup-linux depends on keyboard-configuration (= 1.142ubuntu2); however:
Package keyboard-configuration is not configured yet.
dpkg: error processing package console-setup-linux (--configure):
dependency probNo apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
lems - leaving unconfigured
Errors were encountered while processing:
keyboard-configuration
console-setup
kbd
console-setup-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
Apakah ada cara untuk membuat ini bekerja? Mencari ide apa pun, saya tidak begitu akrab dengan Linux, jadi itu bisa berasal dari kesalahan yang saya lakukan. Sistemnya cukup stabil sebelum pembaruan, tidak pernah ada masalah dengannya.
Terkait:Bagaimana Cara Membuat Paket Deb untuk Skrip Python Tunggal di Ubuntu?