Comment 2 for bug 340705

It looks like a failed dist-upgrade opened 14 different bugs in different packages with the same problem. This one appears to have the most complete set of log files, so I've marked them all duplicates of this one. The actual error here appears to be this message, from VarLogDistupgradeApttermlog.gz, which repeats 14 times, once for each package for which a bug was opened:

Unpacking replacement libgnome2-common ...
Traceback (most recent call last):
  File "/usr/sbin/update-gconf-defaults", line 118, in <module>
    read_entries(realname)
  File "/usr/sbin/update-gconf-defaults", line 100, in read_entries
    for line in file(filename):
IOError: [Errno 21] Is a directory
86.deb) ...
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: error processing /var/cache/apt/archives/libgnome2-common_2.24.1-0ubuntu4_all.deb (--unpack):
 subprocess new post-removal script returned error exit status 1
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 1