ubuntuusers.de

Nach Update Fehler in keyboard-configuration.config?

Status: Ungelöst | Ubuntu-Version: Ubuntu 16.04 (Xenial Xerus)
Antworten |

ignoramus

(Themenstarter)

Anmeldungsdatum:
5. März 2006

Beiträge: 127

Habe jetzt nochmal auf einem zweiten Ubuntu-System geguckt und bin der Frage nachgegangen, ob dort die angemeckerte Datei "/var/lib/dpkg/info/keyboard-configuration.config" einen anderen Inhalt hat. Aber:

  1. ein diff ergab keine Abweichung

  2. md5sum ergab die gleiche Prüfsumme.

Hat noch jemand eine Idee?

Taomon Team-Icon

Supporter
Avatar von Taomon

Anmeldungsdatum:
30. Januar 2011

Beiträge: 8463

Wohnort: Digiworld

Ich denke es ist nicht das Skript selbst, sondern irgendwo wo das Skript abfragt steht was komisches drin.

Gruß Taomon

ignoramus

(Themenstarter)

Anmeldungsdatum:
5. März 2006

Beiträge: 127

Hmmm:

 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
root@pm:~# cat /var/lib/dpkg/info/keyboard-configuration.config | grep eval -B2 -A5

if type locale 2>/dev/null >/dev/null; then

    eval `locale`

fi

 

if [ "$LC_CTYPE"  -a "$LC_CTYPE" != C ]; then

    locale=$LC_CTYPE

elif db_get debian-installer/locale && [ "$RET" ]; then

--

}

'

    eval $(awk "$awk_expr" < /etc/X11/xorg.conf)

fi

 

# Load the config file, if it exists.  Overwrite the current values of

# XKBMODEL, XKBLAYOUT, XKBVARIANT, etc. in the process.

default_model="$XKBMODEL"

root@pm:~#

In der /etc/default/locale steht zusätzlich zu den Einträgen, die ich auf dem anderen System habe noch:

LC_ALL="en_US.UTF-8"

Dass ich das manuell geändert habe, kann ich mir bei dem Hinweis in der Datei, dass sie generiert wurde von update-locale nicht vorstellen.

Aktuell ist:

1
2
3
4
5
6
7
8
9
root@pm:/etc/default# cat locale

#  File generated by update-locale

LANG="en_US.UTF-8"

LC_ALL="en_US.UTF-8"

LANGUAGE="en_US:en"

Nun geändert:

1
2
3
4
5
6
7
8
9
root@pm:/etc/default# vim locale

root@pm:/etc/default# cat locale

#  File generated by update-locale

LANG="en_US.UTF-8"

root@pm:/etc/default
 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
root@pm:~# cat /etc/locale.gen | egrep -v '#'

 

en_US ISO-8859-1

en_US.UTF-8 UTF-8

root@pm:~#

root@pm:~# apt-get clean && apt install --reinstall -o Dpkg::Options::=--force-confnew keyboard-configuration console-setup-linux console-setup-linux

Reading package lists... Done

Building dependency tree

Reading state information... Done

0 upgraded, 0 newly installed, 2 reinstalled, 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.

E: Internal Error, No file name for keyboard-configuration:amd64

root@pm:~#

Taomon Team-Icon

Supporter
Avatar von Taomon

Anmeldungsdatum:
30. Januar 2011

Beiträge: 8463

Wohnort: Digiworld

juhu,

cd /var/cache/apt/archives/ && ls -al

Gruß Taomon

ignoramus

(Themenstarter)

Anmeldungsdatum:
5. März 2006

Beiträge: 127

Guten Morgen,,

vielen Dank für Deine Ausdauer!

Hier die Ausgabe:

 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
root@pm:~# cd /var/cache/apt/archives/

root@pm:/var/cache/apt/archives# ls -al

total 28

drwxr-xr-x 3 root root 20480 Jun 21 16:13 .

drwxr-xr-x 3 root root  4096 Jun 21 21:04 ..

-rw-r----- 1 root root     0 Aug  1  2017 lock

drwx------ 2 _apt root  4096 Jun 21 15:57 partial

root@pm:/var/cache/apt/archives# tree .

.

├── lock

└── partial

 

1 directory, 1 file

root@pm:/var/cache/apt/archives# cd partial/

root@pm:/var/cache/apt/archives/partial# ls -la

total 24

drwx------ 2 _apt root  4096 Jun 21 15:57 .

drwxr-xr-x 3 root root 20480 Jun 21 16:13 ..

root@pm:/var/cache/apt/archives/partial#

ignoramus

(Themenstarter)

Anmeldungsdatum:
5. März 2006

Beiträge: 127

Es tut sich etwas! Die Pakete ließen sich jetzt installieren und konfigurieren. Es kamen ein paar Warnungen zu locales; siehe unten. Da scheint etwas noch nicht ganz rund zu sein. Es kam ein ncurses Interface (blauer Bildschirm), in dem ich locale bzw. einen Zeichensatz wählen sollte. Habe dort UTF8 gewählt. Aber der Fehler scheint behoben! ☺

  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
root@pm:~# apt-get update

Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]

Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease

Hit:3 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease

Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]

Get:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]

Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [796 kB]

Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [727 kB]

Fetched 1,846 kB in 6s (298 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

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) ...

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_MESSAGES to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory

update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults

update-initramfs: deferring update (trigger activated)

Setting up console-setup-linux (1.108ubuntu15.4) ...

Installing new version of config file /etc/console-setup/compose.ISO-8859-1.inc ...

Installing new version of config file /etc/console-setup/compose.ISO-8859-13.inc ...

Installing new version of config file /etc/console-setup/compose.ISO-8859-14.inc ...

Installing new version of config file /etc/console-setup/compose.ISO-8859-15.inc ...

Installing new version of config file /etc/console-setup/compose.ISO-8859-2.inc ...

Installing new version of config file /etc/console-setup/compose.ISO-8859-3.inc ...

Installing new version of config file /etc/console-setup/compose.ISO-8859-4.inc ...

Installing new version of config file /etc/console-setup/compose.ISO-8859-7.inc ...

Installing new version of config file /etc/console-setup/compose.ISO-8859-9.inc ...

Setting up console-setup (1.108ubuntu15.4) ...

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_MESSAGES to default locale: No such file or directory

locale: Cannot set LC_ALL to default locale: No such file or directory

update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools (0.122ubuntu8.11) ...

update-initramfs: Generating /boot/initrd.img-4.4.0-128-generic

W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.

root@pm:~

root@pm:~# apt-get update

Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease

Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease

Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease

Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease

Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease

Reading package lists... Done

root@pm:~# apt-get 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.

root@pm:~# locale

LANG=en_US.UTF-8\"\ \

LANGUAGE=

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=

root@pm:~

Taomon Team-Icon

Supporter
Avatar von Taomon

Anmeldungsdatum:
30. Januar 2011

Beiträge: 8463

Wohnort: Digiworld

Ich kenn mich damit auch nicht so genau aus.

locale -av

bitte. Weiter rantast.

Gruß Taomon

ignoramus

(Themenstarter)

Anmeldungsdatum:
5. März 2006

Beiträge: 127

Lange Liste:

  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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
root@pm:~# locale -av

locale: en_AG           archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English language locale for Antigua and Barbuda

   source | Free Software Foundation, Inc.

  address | http://www.gnu.org/software/libc/

    email | bug-glibc-locales@gnu.org

language | English

territory | Antigua and Barbuda

revision | 1.0

     date | 2008-09-16

  codeset | UTF-8

 

locale: en_AG.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English language locale for Antigua and Barbuda

   source | Free Software Foundation, Inc.

  address | http://www.gnu.org/software/libc/

    email | bug-glibc-locales@gnu.org

language | English

territory | Antigua and Barbuda

revision | 1.0

     date | 2008-09-16

  codeset | UTF-8

 

locale: en_AU.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for Australia

   source | RAP

  address | Sankt Jørgens Alle 8, DK-1615 København V, Danmark

    email | bug-glibc-locales@gnu.org

language | English

territory | Australia

revision | 1.0

     date | 2000-06-29

  codeset | UTF-8

 

locale: en_BW.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for Botswana

   source | RAP

    email | bug-glibc-locales@gnu.org

language | English

territory | Botswana

revision | 1.0

     date | 2000-06-29

  codeset | UTF-8

 

locale: en_CA.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for Canada

   source | RAP

  address | Sankt Jørgens Alle 8, DK-1615 København V, Danmark

    email | bug-glibc-locales@gnu.org

language | English

territory | Canada

revision | 1.0

     date | 2000-06-29

  codeset | UTF-8

 

locale: en_DK.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for Denmark

   source | Danish Standards Association

  address | Kollegievej 6, DK-2920 Charlottenlund, Danmark

    email | bug-glibc-locales@gnu.org

language | English

territory | Denmark

revision | 1.0

     date | 2000-06-29

  codeset | UTF-8

 

locale: en_GB.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for Britain

   source | RAP

  address | Sankt Jørgens Alle 8, DK-1615 København V, Danmark

  contact | Keld Simonsen

    email | bug-glibc-locales@gnu.org

language | English

territory | Great Britain

revision | 1.0

     date | 2000-06-28

  codeset | UTF-8

 

locale: en_HK.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for Hong Kong

   source | IBM Globalization Center of Competency, Yamato Software Laboratory

  address | 1623-14, Shimotsuruma, Yamato-shi, Kanagawa-ken, 242-8502, Japan

    email | bug-glibc-locales@gnu.org

language | English

territory | Hong Kong

revision | 1.0

     date | 2000,October,27 (XML source:2000,July,20)

  codeset | UTF-8

 

locale: en_IE.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for Ireland

   source | RAP

  address | Sankt Jørgens Alle 8, DK-1615 København V, Danmark

    email | bug-glibc-locales@gnu.org

language | English

territory | Ireland

revision | 1.0

     date | 2000-06-29

  codeset | UTF-8

 

locale: en_IN           archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English language locale for India

   source | IBM Globalization Center of Competency, Yamato Software Laboratory

  address | 1623-14, Shimotsuruma, Yamato-shi, Kanagawa-ken, 242-8502, Japan

    email | bug-glibc-locales@gnu.org

language | English

territory | India

revision | 1.0

     date | 2000,October,27 (XML source:2000,July,20)

  codeset | UTF-8

 

locale: en_IN.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English language locale for India

   source | IBM Globalization Center of Competency, Yamato Software Laboratory

  address | 1623-14, Shimotsuruma, Yamato-shi, Kanagawa-ken, 242-8502, Japan

    email | bug-glibc-locales@gnu.org

language | English

territory | India

revision | 1.0

     date | 2000,October,27 (XML source:2000,July,20)

  codeset | UTF-8

 

locale: en_NG           archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for Nigeria

language | English

territory | Nigeria

revision | 0.2

     date | 2006-02-01

  codeset | UTF-8

 

locale: en_NG.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for Nigeria

language | English

territory | Nigeria

revision | 0.2

     date | 2006-02-01

  codeset | UTF-8

 

locale: en_NZ.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for New Zealand

   source | RAP

  address | Sankt Jørgens Alle 8, DK-1615 København V, Danmark

    email | bug-glibc-locales@gnu.org

language | English

territory | New Zealand

revision | 1.0

     date | 2000-06-29

  codeset | UTF-8

 

locale: en_PH.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English language locale for Philippines

   source | IBM Globalization Center of Competency, Yamato Software Laboratory

  address | 1623-14, Shimotsuruma, Yamato-shi, Kanagawa-ken, 242-8502, Japan

    email | bug-glibc-locales@gnu.org

language | English

territory | Philippines

revision | 1.0

     date | 2000,October,27 (XML source:2000,July,20)

  codeset | UTF-8

 

locale: en_SG.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English language locale for Singapore

   source | IBM Globalization Center of Competency, Yamato Software Laboratory

  address | 1623-14, Shimotsuruma, Yamato-shi, Kanagawa-ken, 242-8502, Japan

    email | bug-glibc-locales@gnu.org

language | English

territory | Singapore

revision | 1.0

     date | 2000,October,27 (XML source:2000,July,20)

  codeset | UTF-8

 

locale: en_US           archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for the USA

   source | Free Software Foundation, Inc.

  address | http://www.gnu.org/software/libc/

    email | bug-glibc-locales@gnu.org

language | English

territory | USA

revision | 1.0

     date | 2000-06-24

  codeset | ISO-8859-1

 

locale: en_US.iso88591  archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for the USA

   source | Free Software Foundation, Inc.

  address | http://www.gnu.org/software/libc/

    email | bug-glibc-locales@gnu.org

language | English

territory | USA

revision | 1.0

     date | 2000-06-24

  codeset | ISO-8859-1

 

locale: en_US.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for the USA

   source | Free Software Foundation, Inc.

  address | http://www.gnu.org/software/libc/

    email | bug-glibc-locales@gnu.org

language | English

territory | USA

revision | 1.0

     date | 2000-06-24

  codeset | UTF-8

 

locale: en_ZA.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for South Africa

   source | Zuza Software Foundation (Translate.org.za)

  address | Box 28364, Sunnyside, 0132, South Africa

  contact | Dwayne Bailey

    email | dwayne@translate.org.za

telephone | +27 12 460 1095

      fax | +27 12 460 1095

language | English

territory | South Africa

abbreviation | Translate.org.za

revision | 1.3

     date | 2007-04-19

  codeset | UTF-8

 

locale: en_ZM           archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for Zambia

   source | ANLoc

  contact | Martin Benjamin

    email | locales@africanlocalization.net

language | English

territory | Zambia

revision | 1.0

     date | 2011-04-18

  codeset | UTF-8

 

locale: en_ZM.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for Zambia

   source | ANLoc

  contact | Martin Benjamin

    email | locales@africanlocalization.net

language | English

territory | Zambia

revision | 1.0

     date | 2011-04-18

  codeset | UTF-8

 

locale: en_ZW.utf8      archive: /usr/lib/locale/locale-archive

-------------------------------------------------------------------------------

    title | English locale for Zimbabwe

   source | RAP

    email | bug-glibc-locales@gnu.org

language | English

territory | Zimbabwe

revision | 1.0

     date | 2000-06-29

  codeset | UTF-8

 

locale: C.UTF-8         directory: /usr/lib/locale/C.UTF-8

-------------------------------------------------------------------------------

    title | C locale

    email | aurel32@debian.org

language | C

revision | 1.5

     date | 2012-11-18

  codeset | UTF-8

root@pm:~#

Taomon Team-Icon

Supporter
Avatar von Taomon

Anmeldungsdatum:
30. Januar 2011

Beiträge: 8463

Wohnort: Digiworld

Checkliste

  • Eine /etc/X11/xorg.conf vorhanden?

  • Irgendwelche Einträge in .bashrc oder .profile im $HOME des users?

  • Oder in /etc/environment?

Gruß Taomon

Antworten |