package console-setup 1.34ubuntu4 failed to install/upgrade on upgrade from 9.04 to 9.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
console-setup (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: console-setup
First message: Upgrade will continue, but package console-setup may not work.
Message at end of upgrade script: Upgrade failed. Will try to recover.
Next message: Upgrade completed with some errors.
User confused.
After upgrade (before reboot)
lsb_release -rd:
Description: Ubuntu 9.10
Release: 9.10
apt-cache policy console-setup:
console-setup:
Installed: 1.34ubuntu4
Candidate: 1.34ubuntu4
Version table:
*** 1.34ubuntu4 0
500 http://
100 /var/lib/
ProblemType: Package
Architecture: i386
Date: Sun Nov 29 10:43:52 2009
DistroRelease: Ubuntu 9.10
ErrorMessage:
ErrorMessage: subprocess installed post-installation script returned error exit status 2
Package: console-setup 1.34ubuntu4
PackageArchitec
ProcVersionSign
SourcePackage: console-setup
Title: package console-setup 1.34ubuntu4 failed to install/upgrade:
Uname: Linux 2.6.28-16-generic i686
tags: | added: dist-upgrade |
This bug originated from the line in /var/lib/ dpkg/info/ console- setup.config: eval: line 1295: unexpected EOF while looking for matching `"'
which evaluates the result of the `locale` command. Because of my changes to /etc/default/locale to get norwegian measurment, papersize etc working without using norwegian language for menus etc, some lines there did not return a correct syntax. This obviously broke the entire update process! I was not able to start X afterwards, until I found the cause, corrected /etc/default/locale and completed the upgrade with apt-get install console-setup and apt-get dist-upgrade.
Not sure if this was sufficient, though, because I still get some errors on boot time, but not sure if they are related:
fsck: Error 2 while executing fsck.ntfs for /dev/sda1 original/ backup) by-uuid/ 7ca8f3cd- aa56-4ae7- 9a85-8f62d532de e0 by-uuid/ b223767f- 7227-4ffd- 9915-c18da35386 ad recovery: waiting for /dev/disk/ by-uuid/ 5888-AD14 by-uuid/ 40C02A52C02A4E8 A by-uuid/ 4702-5BA3 by-uuid/ 7ca8f3cd- aa56-4ae7- 9a85-8f62d532de e0 by-uuid/ b223767f- 7227-4ffd- 9915-c18da35386 ad by-uuid/ 4702-5BA3
fsck from util-linux-ng 2.16
dosfsck 3.0.3, 18 May 2009, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offset:
71:53/4e, 72:45/4f, 73:52/20, 74:56/4e, 75:49/41, 76:43/4d, 78:56/20
, 79:30/20, 80:30/20, 81:31/20
Not automatically fixing this.
One or more of the mounts listed in /etc/fstab cannot yet be mounted:
(ESC for recovery shell)
/: waiting for /dev/sda3
/tmp: waiting for (null)
/data: waiting for /dev/disk/
/home: waiting for /dev/disk/
/mnt/lenovo_
/mnt/winxp: waiting for /dev/disk/
/mp3: waiting for /dev/disk/
/dev/sda2: 7994 files, 936753/1122353 clusters
fsck from util-linux-ng 2.16
/dev/sda3: clean, 359232/2812544 files, 5047135/11241483 blocks
fsck from util-linux-ng 2.16
init: ureadahead-other main process (1142) terminated with status 4
init: ureadahead-other main process (1150) terminated with status 4
dosfsck 3.0.3, 18 May 2009, FAT32, LFN
One or more of the mounts listed in /etc/fstab cannot yet be mounted:
(ESC for recovery shell)
/data: waiting for /dev/disk/
/home: waiting for /dev/disk/
/mp3: waiting for /dev/disk/
/dev/sda6: 1169 files, 539856/639771 clusters
fsck from util-linux-ng 2.16
init: ureadahead-other main process (1158) terminated with status 4
init: ureadahead-other main process (1164) terminated with status 4
/dev/sda7: clean, 21572/642112 files, 2326704/2560351 blocks
fsck from util-linux-ng 2.16
init: ureadahead-other main process (1167) terminated with status 4
init: ureadahead-other main process (1173) terminated with status 4
/dev/sda8: clean, 56496/601472 files, 2000170/2399701 blocks
init: ureadahead-other main process (1176) terminated with status 4
* Preparing restricted drivers...
* Starting AppArmor profiles
* Starting virtual private network daemon(s)...
....