Announcement

Collapse
No announcement yet.

[SOLVED] build-essential broken packages!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] build-essential broken packages!

    Since i got into this problem by trying to resolve Nvidia driver issue...i'll post it here

    When i try to build essentials i get

    $ sudo apt-get install build-essential
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    build-essential: Depends: libc6-dev but it is not going to be installed or
    libc-dev
    Depends: g++ (>= 4:4.3.1) but it is not going to be installed
    E: Broken packages


    i tried insalling libc6-dev ot libc-dev or g++ but to no avail...
    what should i do

    #2
    Re: build-essential brooken packages!

    Is your Lucid 10.04 an upgrade from Karmic, or a fresh installation?
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: build-essential brooken packages!

      fresh installation!

      Comment


        #4
        Re: build-essential brooken packages!

        Hmm. Fresh install of Lucid here too. A simulated install of build-essential doesn't show any issues. Have you updated the package cache - sudo apt-get update - yet?
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: build-essential brooken packages!

          Ofcourse i have...

          here is my sources.list

          # deb cdrom:[Kubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100427)]/ lucid main restricted
          # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
          # newer versions of the distribution.

          deb http://rs.archive.ubuntu.com/ubuntu/ lucid main restricted
          deb-src http://rs.archive.ubuntu.com/ubuntu/ lucid main restricted

          ## Major bug fix updates produced after the final release of the
          ## distribution.
          deb http://rs.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
          deb-src http://rs.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

          ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
          ## team. Also, please note that software in universe WILL NOT receive any
          ## review or updates from the Ubuntu security team.
          deb http://rs.archive.ubuntu.com/ubuntu/ lucid universe
          deb-src http://rs.archive.ubuntu.com/ubuntu/ lucid universe
          deb http://rs.archive.ubuntu.com/ubuntu/ lucid-updates universe
          deb-src http://rs.archive.ubuntu.com/ubuntu/ lucid-updates universe

          ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

          Comment


            #6
            Re: build-essential brooken packages!

            I have additional items activated in my sources:

            ## Uncomment the following two lines to add software from the 'backports'
            ## repository.
            ## N.B. software from this repository may not have been tested as
            ## extensively as that contained in the main release, although it includes
            ## newer versions of some applications which may provide useful features.
            ## Also, please note that software in backports WILL NOT receive any review
            ## or updates from the Ubuntu security team.
            # deb http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
            # deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

            ## Uncomment the following two lines to add software from Canonical's
            ## 'partner' repository.
            ## This software is not part of Ubuntu, but is offered by Canonical and the
            ## respective vendors as a service to Ubuntu users.
            deb http://archive.canonical.com/ubuntu lucid partner
            # deb-src http://archive.canonical.com/ubuntu lucid partner

            deb http://security.ubuntu.com/ubuntu lucid-security main restricted
            deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
            deb http://security.ubuntu.com/ubuntu lucid-security universe
            deb-src http://security.ubuntu.com/ubuntu lucid-security universe
            deb http://security.ubuntu.com/ubuntu lucid-security multiverse
            deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
            My server location is US. You might want to activate the other repo's in your package manager.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Re: build-essential brooken packages!

              Yep that seems to be the problem.
              I changed my software sources from "server for Serbia" to "Main server", and all of the sudden build essential worked.

              So it seems to me, that server for Serbia isn't working, if it exists at all.

              Should i report this as a bug that needs to be fixed (why did it put server for Serbia in the first place, if it is broken)
              If so then where??

              Comment


                #8
                Re: build-essential brooken packages!

                During installation, you identified your regional location. That's where the server location for the sources list will be built for. It's more likely, that the Serbia server isn't fully synced with the main servers. Not a bug. That's why we are given the option of selecting different servers.
                Windows no longer obstructs my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment

                Working...
                X