[Hampshire] Ubuntu upgrade dapper->hardy not going smoothly

Top Page

Reply to this message
Author: Victor Churchill
Date:  
To: Hampshire LUG Discussion List
Subject: [Hampshire] Ubuntu upgrade dapper->hardy not going smoothly
Hi,

I have Ubuntu 6.06 LTS on a laptop that has not seen much use for over a year.
Trying to do a LTS->LTS upgrade I am getting stuck.
Initially I had to have a few goes at doing the initial download part
of the dist-upgrade due to server timeouts. When the files were all
downloaded, I saw:

Preconfiguring packages ...
dpkg-statoverride: cannot open statoverride: Input/output error
dpkg: failed to open statoverride file: Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)

the directory /var/lib/dpkg included:
  -rw-r--r--  1 root root      88 2006-08-29 16:35 statoverride-old
  ?---------  ? ?    ?          ?                ? /var/lib/dpkg/./statoverride


which was a bit worrying.
Tried to get it going with

victor@ubuntu:~ $ sudo rm /var/lib/dpkg/statoverride
victor@ubuntu:~ $ sudo cp /var/lib/dpkg/statoverride-old
/var/lib/dpkg/statoverride

and it proceeded up to
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... dpkg: error processing
/var/cache/apt/archives/bsdutils_1%3a2.12r-4ubuntu6.1_i386.deb
(--unpack):
unable to open files list file for package `libgtk2.0-cil': Input/output error
Errors were encountered while processing:
/var/cache/apt/archives/bsdutils_1%3a2.12r-4ubuntu6.1_i386.deb
Processing was halted because there were too many errors.

This is a very odd looking file name but there is indeed a file in
/var/cache/apt/archives:
  -rw-r--r-- 1 root root    67848 2007-10-22 19:05
bsdutils_1%3a2.12r-4ubuntu6.1_i386.deb
which `file` recognises as a Debian binary package (format 2.0)


/var/lib/dpkg/status shows:
Package: libgtk2.0-cil
Status: install ok installed

I have
locate libgtk2.0-cil|xargs ls -l
-rw-r--r-- 1 root root 1049 2006-05-09 06:41
/var/lib/dpkg/info/libgtk2.0-cil.clilibs
-rw-r--r-- 1 root root 4081 2006-05-09 06:41
/var/lib/dpkg/info/libgtk2.0-cil.md5sums
(plus some doc stuff, snipped)

Does this look like a disk problem? The following makes me wonder:

/var/log/debug:
Apr 26 16:33:31 localhost kernel: [12570.346790] init_special_inode:
bogus i_mode (71545)
Apr 26 19:00:05 localhost kernel: [21362.367164] init_special_inode:
bogus i_mode (71541)
Apr 27 09:49:18 localhost kernel: [74705.251386] init_special_inode:
bogus i_mode (72156)
Apr 27 22:49:24 localhost kernel: [121501.054982] init_special_inode:
bogus i_mode (71545)

and /var/log/mssages:
Apr 28 09:34:17 localhost kernel: [ 355.781242] hda:
dma_timer_expiry: dma status == 0x24
Apr 28 09:34:27 localhost kernel: [ 365.779838] hda: DMA interrupt recovery
Apr 28 09:34:27 localhost kernel: [ 365.779857] hda: lost interrupt
Apr 28 09:54:36 localhost -- MARK --
Apr 28 09:57:48 localhost kernel: [ 1766.842151] EXT3-fs warning
(device hda2): ext3_unlink: Deleting nonexistent file (309528), 0

Any suggestions re. where to look / what to try next gratefully received...
thanks
victor