Results 1 to 6 of 6

Thread: Crash: network upgrade 8.10-9,04

  1. #1
    Join Date
    Apr 2009
    Beans
    15

    Thumbs down Crash: network upgrade 8.10-9,04

    Hi there. Thanks for looking. I've been using Ubuntu since 8.04 and this is my first upgrade via the web. I got a crash with the error listed below. It seems I have a problem with my package manager. Is this correct or, if not, any advice would be welcome.

    ...
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    dpkg-query: parse error, in file `/var/lib/dpkg/available' near line 39536 package `libisccfg30':
    field name `
    exim4-config.postinst: [WARN] Installed debconf version is broken. Aborting preconfigure.
    dpkg: parse error, in file `/var/lib/dpkg/available' near line 39536 package `libisccfg30':
    none
    ge `libisccfg30':
    onfigure.
    bisccfg30':
    s /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkgreturned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkgreturned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/
    ERROR:root:SystemError from cache.commit(): installArchives() failed
    WARNING:root:cache.commit() error and pkg_failures == 0, generate a report against update-manager to investigate
    Traceback (most recent call last):
    File "/usr/share/apport/package_hook", line 58, in <module>
    pr.write(open(apport.fileutils.make_report_path(pr ), 'w'))
    File "/usr/lib/python2.5/site-packages/problem_report.py", line 301, in write
    f = open(v[0]) # file name
    IOError: [Errno 21] Is a directory

  2. #2
    Join Date
    Aug 2006
    Beans
    166
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Crash: network upgrade 8.10-9,04

    Trying to save what can be saved

    This one will try and get the installation done:
    Code:
    aptitude dist-upgrade
    You might need a dpkg-reconfigure, but the aptitude command will tell you when you need it. If it does, just copy and paste the dpkg-reconfigure line and run the update again.

    Now I hope all the packages are on your system...
    The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" but "That's funny..."' - Isaac Asimov

  3. #3
    Join Date
    Apr 2009
    Beans
    15

    Re: Crash: network upgrade 8.10-9,04

    When I run the suggested command, I get:

    Preconfiguring packages ...
    dpkg: parse error, in file `/var/lib/dpkg/available' near line 39536 package `libisccfg30':
    field name `
    dpkg-query: parse error, in file `/var/lib/dpkg/available' near line 39536 package `libisccfg30':
    field name `
    exim4-config.postinst: [WARN] Installed debconf version is broken. Aborting preconfigure.
    dpkg: parse error, in file `/var/lib/dpkg/available' near line 39536 package `libisccfg30':
    field name `
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    A package failed to install. Trying to recover:
    dpkg: parse error, in file `/var/lib/dpkg/available' near line 39536 package `libisccfg30':
    field name `
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    Writing extended state information... Done

    Not sure which part is to be cut and pasted where. Is it the bold item above and I put that in the file "/var/lib ...." ?
    I believe all the packages downloaded successfully but would it change things if I tried the alternate install from the ISO? Thanks.

  4. #4
    Join Date
    Apr 2009
    Beans
    15

    Re: Crash: network upgrade 8.10-9,04

    Also interesting: I can open '/var/lib/.../available-old' from gedit but can't open '/var/lib/..../available' from gedit. When I try the latter it says it cannot detect the character coding. I _can_ open it with Openoffice though.

    Also: Error also suggested that I report the crash via Launchpad which I'm doing.

  5. #5
    Join Date
    Apr 2009
    Beans
    15

    Re: Crash: network upgrade 8.10-9,04

    From my last post it seemed the file was corrupted. So:

    ran 'sudo dpkg --configure -a' which cleared the 'available' file;

    ran 'sudo aptitude dist-upgrade'

    The upgrade proceeded as expected ... well longer than I expected but I have several third party apps so .... HTH

  6. #6
    Join Date
    Aug 2006
    Beans
    166
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Crash: network upgrade 8.10-9,04

    Good to see things worked out...

    It was "dpkg --configure -a" not "dpkg-reconfigure". I always forget that one. But normally I get pointed in the right direction by aptitude.
    The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" but "That's funny..."' - Isaac Asimov

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •