Results 1 to 7 of 7

Thread: Unable to install anything...

  1. #1
    Join Date
    Nov 2010
    Beans
    5

    Unable to install anything...

    Hi. Recently I've been receiving an error whenever I try to install any new program. I've searched for some time now and I'm not sure how to fix it. When installing a program, I immediately greeted with this error...

    installArchives() failed: dpkg: parse error, in file '/var/lib/dpkg/available' near line 17237 package 'openoffice.org-core':
    `Breaks' field, missing package name, or garbage where package name expected
    This error is actually slightly different from another one that I was previously receiving involving 'var/lib/dpkg/status' and the "Breaks" field issue. If anyone knows how to fix this it would be greatly appreciated!

  2. #2
    Join Date
    Mar 2010
    Beans
    8,249
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Unable to install anything...

    Hi and welcome to the forums

    Go to Applications > Accessories > Terminal and copy/paste the following commands in and run them (separately).

    Code:
    sudo apt-get install -f
    Code:
    sudo dpkg --configure -a
    Let us know if there are any errors reported (copy/paste from the terminal and post back here).

    Thanks.

  3. #3
    Join Date
    Nov 2010
    Beans
    5

    Re: Unable to install anything...

    here's the results:

    hopefulcd@hopefulcd-cpu:~$ sudo apt-get install -f
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
    hopefulcd@hopefulcd-cpu:~$ sudo dpkg --configure -a
    dpkg: parse error, in file '/var/lib/dpkg/available' near line 17237 package 'openoffice.org-core':
    `Breaks' field, missing package name, or garbage where package name expected

  4. #4
    Join Date
    Mar 2010
    Beans
    8,249
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Unable to install anything...

    Okay,

    then try this please:

    Code:
    sudo dpkg --clear-avail && sudo apt-get update

  5. #5
    Join Date
    Nov 2010
    Beans
    5

    Re: Unable to install anything...

    Wow! It works again! I just installed a program through the package manager without any errors. Thanks a lot for your help!

  6. #6
    Join Date
    Mar 2010
    Beans
    8,249
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Unable to install anything...

    You are more than welcome

    Please mark this thread Solved using the Thread Tools near the top of the page.

    Marking this solved means that other users with similar errors can find a working solution.

    Thanks and enjoy!

  7. #7
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,666
    Distro
    Ubuntu Gnome Development Release

    Re: Unable to install anything...

    Marking this solved means that other users with similar errors can find a working solution.
    And also volunteers looking to help others don't spend time reading this whole post

    Regards.

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
  •