ignoramus
Anmeldungsdatum: 5. März 2006
Beiträge: 127
|
Hallo, vor ein paar Tagen habe ich meinen Ubuntu-Server auf den aktuellen Stand bringen wollen. Seitdem bekomme ich folgende Fehlermeldung: root@pm:~# apt-get update
Hit:1 http://de.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Hit:5 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease
Fetched 107 kB in 5s (20.4 kB/s)
Reading package lists... Done
root@pm:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up keyboard-configuration (1.108ubuntu15.4) ...
/var/lib/dpkg/info/keyboard-configuration.config: 1: eval: Syntax error: Unterminated quoted string
dpkg: error processing package keyboard-configuration (--configure):
subprocess installed post-installation script returned error exit status 2
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of console-setup-linux:
console-setup-linux depends on keyboard-configuration (= 1.108ubuntu15.4); 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.4); however:
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 encountered while processing keyboard-configuration
console-setup-linux
console-setup
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pm:~# Ich habe "/var/lib/dpkg/info/keyboard-configuration.config" durchgesehen und kann dort keine Auffälligkeiten erkennen. Vor allem keine fehlenden Anführungsstriche. Kennt jemand das Problem oder kann mir einen Tipp geben, wie ich mich einer Lösung nähern kann? Danke und viele Grüße!
Karl Moderiert von Taomon: Doch eher Paketverwaltung. Schubs.
|
ignoramus
(Themenstarter)
Anmeldungsdatum: 5. März 2006
Beiträge: 127
|
Hallo, vielen Dank für Deine Hilfe! Hier die Ausgaben: 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186 | root@pm:~# dpkg-reconfigure keyboard-configuration
/usr/sbin/dpkg-reconfigure: keyboard-configuration is broken or not fully installed
root@pm:~# cat /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="de"
XKBVARIANT="nodeadkeys"
XKBOPTIONS=""
BACKSPACE="guess"
root@pm:~#
root@pm:~# cat /etc/default/console-setup
# CONFIGURATION FILE FOR SETUPCON
# Consult the console-setup(5) manual page.
ACTIVE_CONSOLES="/dev/tty[1-6]"
CHARMAP="UTF-8"
CODESET="Lat15"
FONTFACE="VGA"
FONTSIZE="8x16"
VIDEOMODE=
# The following is an example how to use a braille font
# FONT='lat9w-08.psf.gz brl-8x8.psf'
root@pm:~#
root@pm:~# cat /etc/default/locale
# File generated by update-locale
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LANGUAGE="en_US:en"
root@pm:~#
root@pm:~# locale
LANG=en_US.UTF-8\"\ \
LANGUAGE=en_US:en"
LC_CTYPE="en_US.UTF-8\" "
LC_NUMERIC="en_US.UTF-8\" "
LC_TIME="en_US.UTF-8\" "
LC_COLLATE="en_US.UTF-8\" "
LC_MONETARY="en_US.UTF-8\" "
LC_MESSAGES="en_US.UTF-8\" "
LC_PAPER="en_US.UTF-8\" "
LC_NAME="en_US.UTF-8\" "
LC_ADDRESS="en_US.UTF-8\" "
LC_TELEPHONE="en_US.UTF-8\" "
LC_MEASUREMENT="en_US.UTF-8\" "
LC_IDENTIFICATION="en_US.UTF-8\" "
LC_ALL=en_US.UTF-8\"\ \
root@pm:~#
root@pm:~# cat /var/log/apt/history.log
Start-Date: 2018-06-01 10:02:35
Commandline: apt-get upgrade
Requested-By: th (1000)
Upgrade: ifupdown:amd64 (0.8.10ubuntu1.3, 0.8.10ubuntu1.4), vlan:amd64 (1.9-3.2ubuntu1.16.04.4, 1.9-3.2ubuntu1.16.04.5), plymouth-theme-ubuntu-text:amd64 (0.9.2-3ubuntu13.4, 0.9.2-3ubuntu13.5), libplymouth4:amd64 (0.9.2-3ubuntu13.4, 0.9.2-3ubuntu13.5), apport:amd64 (2.20.1-0ubuntu2.17, 2.20.1-0ubuntu2.18), python3-apport:amd64 (2.20.1-0ubuntu2.17, 2.20.1-0ubuntu2.18), plymouth:amd64 (0.9.2-3ubuntu13.4, 0.9.2-3ubuntu13.5), linux-firmware:amd64 (1.157.18, 1.157.19), python3-problem-report:amd64 (2.20.1-0ubuntu2.17, 2.20.1-0ubuntu2.18)
End-Date: 2018-06-01 10:04:19
Start-Date: 2018-06-08 08:05:28
Commandline: apt-get upgrade
Requested-By: th (1000)
Upgrade: libldap-2.4-2:amd64 (2.4.42+dfsg-2ubuntu3.2, 2.4.42+dfsg-2ubuntu3.3), git-man:amd64 (1:2.7.4-0ubuntu1.3, 1:2.7.4-0ubuntu1.4), snapd:amd64 (2.32.3.2, 2.32.9), libelf1:amd64 (0.165-3ubuntu1, 0.165-3ubuntu1.1), git:amd64 (1:2.7.4-0ubuntu1.3, 1:2.7.4-0ubuntu1.4)
End-Date: 2018-06-08 08:05:42
Start-Date: 2018-06-08 08:05:59
Commandline: apt autoremove
Requested-By: th (1000)
Remove: linux-headers-4.4.0-122:amd64 (4.4.0-122.146), linux-image-4.4.0-122-generic:amd64 (4.4.0-122.146), linux-image-extra-4.4.0-122-generic:amd64 (4.4.0-122.146), linux-headers-4.4.0-122-generic:amd64 (4.4.0-122.146)
End-Date: 2018-06-08 08:06:19
Start-Date: 2018-06-08 08:06:48
Commandline: apt autoremove
Requested-By: th (1000)
Remove: linux-headers-4.4.0-121:amd64 (4.4.0-121.145), linux-image-4.4.0-121-generic:amd64 (4.4.0-121.145), linux-image-extra-4.4.0-121-generic:amd64 (4.4.0-121.145), linux-headers-4.4.0-121-generic:amd64 (4.4.0-121.145)
End-Date: 2018-06-08 08:07:05
Start-Date: 2018-06-15 07:50:04
Commandline: apt-get upgrade
Requested-By: th (1000)
Upgrade: perl-base:amd64 (5.22.1-9ubuntu0.3, 5.22.1-9ubuntu0.5), linux-libc-dev:amd64 (4.4.0-127.153, 4.4.0-128.154), gnupg-agent:amd64 (2.1.11-6ubuntu2, 2.1.11-6ubuntu2.1), ruby2.3:amd64 (2.3.1-2~16.04.9, 2.3.1-2~16.04.10), imagemagick:amd64 (8:6.8.9.9-7ubuntu5.9, 8:6.8.9.9-7ubuntu5.11), libmagickwand-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.9, 8:6.8.9.9-7ubuntu5.11), perl-modules-5.22:amd64 (5.22.1-9ubuntu0.3, 5.22.1-9ubuntu0.5), console-setup-linux:amd64 (1.108ubuntu15.3, 1.108ubuntu15.4), libmagickwand-6-headers:amd64 (8:6.8.9.9-7ubuntu5.9, 8:6.8.9.9-7ubuntu5.11), console-setup:amd64 (1.108ubuntu15.3, 1.108ubuntu15.4), libmagic1:amd64 (1:5.25-2ubuntu1, 1:5.25-2ubuntu1.1), ruby2.3-dev:amd64 (2.3.1-2~16.04.9, 2.3.1-2~16.04.10), dirmngr:amd64 (2.1.11-6ubuntu2, 2.1.11-6ubuntu2.1), libperl5.22:amd64 (5.22.1-9ubuntu0.3, 5.22.1-9ubuntu0.5), imagemagick-6.q16:amd64 (8:6.8.9.9-7ubuntu5.9, 8:6.8.9.9-7ubuntu5.11), libmagickcore-6.q16-2-extra:amd64 (8:6.8.9.9-7ubuntu5.9, 8:6.8.9.9-7ubuntu5.11), libmagickcore-6-headers:amd64 (8:6.8.9.9-7ubuntu5.9, 8:6.8.9.9-7ubuntu5.11), libruby2.3:amd64 (2.3.1-2~16.04.9, 2.3.1-2~16.04.10), gpgv:amd64 (1.4.20-1ubuntu3.1, 1.4.20-1ubuntu3.2), libmagickcore-6-arch-config:amd64 (8:6.8.9.9-7ubuntu5.9, 8:6.8.9.9-7ubuntu5.11), libmagickwand-6.q16-dev:amd64 (8:6.8.9.9-7ubuntu5.9, 8:6.8.9.9-7ubuntu5.11), libmagickcore-6.q16-2:amd64 (8:6.8.9.9-7ubuntu5.9, 8:6.8.9.9-7ubuntu5.11), sosreport:amd64 (3.5-1~ubuntu16.04.2, 3.5-1~ubuntu16.04.3), keyboard-configuration:amd64 (1.108ubuntu15.3, 1.108ubuntu15.4), gnupg2:amd64 (2.1.11-6ubuntu2, 2.1.11-6ubuntu2.1), file:amd64 (1:5.25-2ubuntu1, 1:5.25-2ubuntu1.1), perl:amd64 (5.22.1-9ubuntu0.3, 5.22.1-9ubuntu0.5), imagemagick-common:amd64 (8:6.8.9.9-7ubuntu5.9, 8:6.8.9.9-7ubuntu5.11), libmagickwand-dev:amd64 (8:6.8.9.9-7ubuntu5.9, 8:6.8.9.9-7ubuntu5.11), gnupg:amd64 (1.4.20-1ubuntu3.1, 1.4.20-1ubuntu3.2), libmagickcore-6.q16-dev:amd64 (8:6.8.9.9-7ubuntu5.9, 8:6.8.9.9-7ubuntu5.11), wireless-regdb:amd64 (2015.07.20-1ubuntu1, 2018.05.09-0ubuntu1~16.04.1), libmagickcore-dev:amd64 (8:6.8.9.9-7ubuntu5.9, 8:6.8.9.9-7ubuntu5.11)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-15 07:50:18
Start-Date: 2018-06-15 08:36:18
Commandline: apt-get upgrade
Requested-By: th (1000)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-15 08:36:18
Start-Date: 2018-06-15 09:56:49
Commandline: apt-get upgrade
Requested-By: th (1000)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-15 09:56:49
Start-Date: 2018-06-18 08:01:50
Commandline: apt-get upgrade
Requested-By: th (1000)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-18 08:01:50
Start-Date: 2018-06-18 08:03:06
Commandline: apt-get upgrade
Requested-By: th (1000)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-18 08:03:06
Start-Date: 2018-06-19 07:39:07
Commandline: apt-get upgrade
Requested-By: th (1000)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-19 07:39:07
Start-Date: 2018-06-19 08:30:46
Commandline: apt-get upgrade
Requested-By: th (1000)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-19 08:30:47
Start-Date: 2018-06-19 14:09:37
Commandline: apt-get upgrade
Requested-By: th (1000)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-19 14:09:37
Start-Date: 2018-06-19 15:04:23
Commandline: apt-get upgrade
Requested-By: th (1000)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-19 15:04:24
Start-Date: 2018-06-19 15:05:18
Commandline: apt-get upgrade
Requested-By: th (1000)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-19 15:05:18
Start-Date: 2018-06-20 15:02:54
Commandline: apt-get upgrade
Requested-By: th (1000)
Upgrade: libgcrypt20:amd64 (1.6.5-2ubuntu0.4, 1.6.5-2ubuntu0.5)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-20 15:02:56
Start-Date: 2018-06-20 15:03:11
Commandline: apt -f install
Requested-By: th (1000)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-20 15:03:11
Start-Date: 2018-06-20 15:03:36
Commandline: apt -f install
Requested-By: th (1000)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-20 15:03:36
Start-Date: 2018-06-20 15:04:20
Commandline: apt -f install
Requested-By: th (1000)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-20 15:04:21
Start-Date: 2018-06-21 13:46:17
Commandline: apt upgrade
Requested-By: th (1000)
Install: linux-headers-4.4.0-128:amd64 (4.4.0-128.154, automatic), linux-headers-4.4.0-128-generic:amd64 (4.4.0-128.154, automatic), linux-image-4.4.0-128-generic:amd64 (4.4.0-128.154, automatic), python3-requests-toolbelt:amd64 (0.8.0-1+ubuntu16.04.1+certbot+1, automatic), linux-image-extra-4.4.0-128-generic:amd64 (4.4.0-128.154, automatic)
Upgrade: linux-headers-generic:amd64 (4.4.0.127.133, 4.4.0.128.134), linux-image-generic:amd64 (4.4.0.127.133, 4.4.0.128.134), certbot:amd64 (0.22.2-1+ubuntu16.04.1+certbot+1, 0.25.0-1+ubuntu16.04.1+certbot+1), amd64-microcode:amd64 (2.20160316.1, 3.20180524.1~ubuntu0.16.04.1), python3-acme:amd64 (0.22.2-1+ubuntu16.04.1+certbot+1, 0.25.1-1+ubuntu16.04.1+certbot+1), python3-certbot-apache:amd64 (0.22.0-1+ubuntu16.04.1+certbot+2, 0.25.0-2+ubuntu16.04.1+certbot+1), python3-certbot:amd64 (0.22.2-1+ubuntu16.04.1+certbot+1, 0.25.0-1+ubuntu16.04.1+certbot+1), linux-generic:amd64 (4.4.0.127.133, 4.4.0.128.134)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2018-06-21 13:47:34
root@pm:~#
|
|
ignoramus
(Themenstarter)
Anmeldungsdatum: 5. März 2006
Beiträge: 127
|
Verdammt, habe ich auch gerade gemerkt. 😉 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 | root@pm:~# dpkg -l | egrep -v '^ii|rc'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
+++-===================================-==========================================-============-===============================================================================
iU console-setup 1.108ubuntu15.4 all console font and keymap setup program
iU console-setup-linux 1.108ubuntu15.4 all Linux specific part of console-setup
iF keyboard-configuration 1.108ubuntu15.4 all system-wide keyboard preferences
root@pm:~
|
|
ignoramus
(Themenstarter)
Anmeldungsdatum: 5. März 2006
Beiträge: 127
|
Das ist mir nicht bewusst. Was meinst Du mit "partialen Upgrades" und woran kannst Du das sehen? Edit: OK, gefunden, lese ich nach (https://wiki.ubuntu.com/U%2B1/partial_upgrade) 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41 | root@pm:~# apt update
Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:5 http://security.ubuntu.com/ubuntu xenial-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
root@pm:~# apt --dry-run full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Conf keyboard-configuration (1.108ubuntu15.4 Ubuntu:16.04/xenial-updates [all])
Conf console-setup-linux (1.108ubuntu15.4 Ubuntu:16.04/xenial-updates [all])
Conf console-setup (1.108ubuntu15.4 Ubuntu:16.04/xenial-updates [all])
root@pm:~
|
|
ignoramus
(Themenstarter)
Anmeldungsdatum: 5. März 2006
Beiträge: 127
|
Das führt leider zu dem gleichen Ergebnis wie "apt-get upgrade": 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69 | root@pm:~# apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... 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.
Do you want to continue? [Y/n] y
Setting up keyboard-configuration (1.108ubuntu15.4) ...
/var/lib/dpkg/info/keyboard-configuration.config: 1: eval: Syntax error: Unterminated quoted string
dpkg: error processing package keyboard-configuration (--configure):
subprocess installed post-installation script returned error exit status 2
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of console-setup-linux:
console-setup-linux depends on keyboard-configuration (= 1.108ubuntu15.4); 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.4); however:
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 encountered while processing:
keyboard-configuration
console-setup-linux
console-setup
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pm:~#
|
|
Taomon
Supporter
Anmeldungsdatum: 30. Januar 2011
Beiträge: 8460
Wohnort: Digiworld
|
Bäh, cat /var/lib/dpkg/info/keyboard-configuration.config | grep eval -B2 -A5 Hast Du in /etc/default/locale mal selber Hand angelegt? Änder sie bitte versuchsweise so ab. LANG="en_US.utf8" Rumstocher cat /etc/locale.gen | egrep -v '#' Wir können auch ganz windows-like sudo apt-get clean && sudo apt install --reinstall -o Dpkg::Options::=--force-confnew keyboard-configuration console-setup-linux console-setup-linux probieren die Pakete neu zu installieren. Gruß Taomon
|