Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: error when trying to update.....

  1. #1
    Join Date
    Feb 2011
    Beans
    39

    Exclamation error when trying to update.....

    i was trying to update and i ran into this error.....

    dpkg: parse error, in file '/var/lib/dpkg/available' near line 34104 package 'avahi-daemon':
    `Depends' field, reference to `dbus': version contains ` '
    E: Sub-process /usr/bin/dpkg returned an error code (2)

    any on have any idea what this means......any help will be really appreciated.

  2. #2
    Join Date
    Mar 2006
    Location
    New Zealand
    Beans
    607
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: error when trying to update.....

    Is that in the terminal from sudo apt-get update or is update manager spitting that out?

  3. #3
    Join Date
    Feb 2011
    Beans
    39

    Re: error when trying to update.....

    it does to both update manager and when i try it in terminal

  4. #4
    Join Date
    Mar 2006
    Location
    New Zealand
    Beans
    607
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: error when trying to update.....

    This might not help, but try reconfiguring dpkg. Looks like the problem is something to do with dbus. Have you manually installed anything or done anything unusual?

    sudo dpkg-reconfigure -a

  5. #5
    Join Date
    Feb 2011
    Beans
    39

    Re: error when trying to update.....

    hmmm not that i can remember i will try to reconfigure tho

  6. #6
    Join Date
    Feb 2011
    Beans
    39

    Re: error when trying to update.....

    ok i tried it and got the same message...

    dpkg-query: parse error, in file '/var/lib/dpkg/available' near line 34104 package 'avahi-daemon':
    `Depends' field, reference to `dbus': version contains ` '
    /usr/sbin/dpkg-reconfigure: acpi-support is not installed

    i am wondering if i may have messed something up when i did my last update. I had to us these commands to get ever thing working:

    cd /var/lib/dpkg

    sudo cp status-old status

  7. #7
    Join Date
    Mar 2006
    Location
    New Zealand
    Beans
    607
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: error when trying to update.....

    Well try

    cd /var/lib/dpkg

    sudo cp available-old available

  8. #8
    Join Date
    Feb 2011
    Beans
    39

    Re: error when trying to update.....

    ok now that i did that i have a new problem......it is saying that i have a broken package. which is ubuntu desktop.....

  9. #9
    Join Date
    Feb 2011
    Beans
    39

    Re: error when trying to update.....

    never mind jus had to run apt-get install -f command....that did the trick

  10. #10
    Join Date
    Feb 2011
    Beans
    39

    Re: error when trying to update.....

    thanks so much for your help....jus one more question when i run

    cd /var/lib/dpkg

    sudo cp status-old status

    do i also run

    sudo cp available-old available

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •