Results 1 to 8 of 8

Thread: Kubuntu and build-essential

  1. #1
    Join Date
    Feb 2012
    Beans
    11

    Exclamation Kubuntu and build-essential

    Hi guys,

    I am trying to install build-essential on my computer (dual-boot with Windows 7 and Kubuntu) from the DVD ISO (I don't have an internet connection) so I can use the G++ compiler. However, it doesn't work. It says "Unable to satisfy dependencies".

    The strange thing is that when I "Try Kubuntu" (running the Live version from USB), it can and does install build-essential and then the G++ compiler works fine!

    What is going on here?!

    Thanks for any help.

    Mr_Bean

  2. #2
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    8,812
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Kubuntu and build-essential

    Have you ever installed anything on this computer over the Internet, in particular more recent kernels? It's possible that the installation on your hard drive has more recent versions of some libraries than the DVD, so the installer cannot find the compatible versions it expects on the hard drive.

    If you run "sudo apt-get install build-essential" from the command line, you should see the dependencies that it is complaining about.
    Last edited by SeijiSensei; May 16th, 2012 at 03:38 PM.

  3. #3
    Join Date
    Feb 2012
    Beans
    11

    Re: Kubuntu and build-essential

    I downloaded the Kubuntu 12-04 64bit DVD ISO. I haven't installed anything from the internet because I can't connect to the internet.

    How can I fix the kernel thing?

  4. #4
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    8,812
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Kubuntu and build-essential

    Quote Originally Posted by MrBean355 View Post
    I downloaded the Kubuntu 12-04 64bit DVD ISO. I haven't installed anything from the internet because I can't connect to the internet.

    How can I fix the kernel thing?
    If all you have is the DVD software and nothing else, then it's not a "kernel thing." What happens when you do this?

    If you run "sudo apt-get install build-essential" from the command line, you should see the dependencies that it is complaining about.
    What are they?

  5. #5
    Join Date
    Feb 2012
    Beans
    11

    Re: Kubuntu and build-essential

    Quote Originally Posted by SeijiSensei View Post
    If all you have is the DVD software and nothing else, then it's not a "kernel thing." What happens when you do this?
    You mean I must type "sudo apt-get install build-essential"? If I remember correctly, it says something like unable to find package build-essential, but I will try again when I get the chance.

  6. #6
    Join Date
    Jul 2011
    Location
    /Europe/Netherlands
    Beans
    381
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Kubuntu and build-essential

    So if I understand correctly: You can install a certain package from a Live session w/o internet but not from your installed Kubuntu?

    Maybe the live session has the DVD itself listed as a package source and the installed Kubuntu hasn't. You could try to add the DVD to the sources in Muon Package Manager. See settings > configure software sources and then the tab "Other Software". For me the CD (I installed from CD) is unchecked there by default.
    "I believe humans get a lot done, not because we're smart, but because we have thumbs so we can make coffee." --Flash Rosenberg
    formerly 'known' as Euroman

  7. #7
    Join Date
    Feb 2012
    Beans
    11

    Re: Kubuntu and build-essential

    Yes, when I run a live session, I can simply install build-essential without having an issues or having to install other packages.

    Thanks for the suggestion, I will try it out and let you know!

  8. #8
    Join Date
    Sep 2008
    Location
    Asheville, NC, US
    Beans
    65
    Distro
    Kubuntu 12.10 Quantal Quetzal

    Re: Kubuntu and build-essential

    This is a mistake I've made in the past. Make sure you've updated the reposiotories before trying to install build-essential. At the command line, type:

    Code:
    sudo apt-get update

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
  •