Results 1 to 2 of 2

Thread: Unable to install build-essential on a fresh install of ubuntu 20.04 LTS

  1. #1
    Join Date
    Jan 2009
    Beans
    61
    Distro
    Ubuntu 20.04 Focal Fossa

    Unable to install build-essential on a fresh install of ubuntu 20.04 LTS

    I am trying to install build-essential on a fresh install of ubuntu 20.04 LTS, but am met with errors stating that I have some unmet dependencies that cannot be resolved. When I run sudo apt install build-essential, I get:

    Code:
    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 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: gcc (>= 4:9.2) but it is not going to be installed
                       Depends: g++ (>= 4:9.2) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

  2. #2
    Join Date
    Mar 2010
    Location
    Been there, meh.
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Unable to install build-essential on a fresh install of ubuntu 20.04 LTS

    Did you run
    Code:
    sudo apt update
    today?

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
  •