Comment 2 for bug 489873

Revision history for this message
Atle Weibell (atle-weibell) wrote :

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
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:original/backup)
  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/by-uuid/7ca8f3cd-aa56-4ae7-9a85-8f62d532dee0
/home: waiting for /dev/disk/by-uuid/b223767f-7227-4ffd-9915-c18da35386ad
/mnt/lenovo_recovery: waiting for /dev/disk/by-uuid/5888-AD14
/mnt/winxp: waiting for /dev/disk/by-uuid/40C02A52C02A4E8A
/mp3: waiting for /dev/disk/by-uuid/4702-5BA3
/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/by-uuid/7ca8f3cd-aa56-4ae7-9a85-8f62d532dee0
/home: waiting for /dev/disk/by-uuid/b223767f-7227-4ffd-9915-c18da35386ad
/mp3: waiting for /dev/disk/by-uuid/4702-5BA3
/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)...
....