Results 1 to 2 of 2

Thread: Most apt-get package installs fail

  1. #1
    Join Date
    Oct 2010
    Beans
    1

    Most apt-get package installs fail

    I am running Ubuntu Server 10.04. It is a fresh install, reinstalled it tonight in fact. And I am having a lot of problem getting packages to install. I added a few more sources to my "/etc/apt/sources.list" and that helped with a few items.

    However on almost everything I try to install I am getting a "E: Broken packages" message which usually follows the listing of some package dependency that it says is not going to be installed.

    For example, I tried to install php5-dev, but I get a message about libssl-dev and libtool. When I try to install those I get more of the same but with different packages. I followed the rabbit hole for awhile, but it is getting tiresome and pointless.

    Does anyone have any idea what is going on? I have already run "sudo apt-get update" and "sudo apt-get upgrade" with nothing changing.

    Thanks for your help in advance!

    -Patrick

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

    Re: Most apt-get package installs fail

    Hi.

    First of all try to install missing dependencies

    Code:
    sudo apt-get install -f
    If it doesn't work

    Code:
    sudo dpkg --configure -a
    And then,

    Code:
    sudo apt-get update
    Post back the errors encountered, if any.

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
  •