Results 1 to 3 of 3

Thread: Can't initialize paket build-essential

  1. #1
    Join Date
    Apr 2013

    Angry Can't initialize paket build-essential

    Hi, I install Ubuntu 12.04.02 LTS amd64 in a virtual box. I want develop with the Qt-Creator in connection with the g++ compiler. The problem is that the g++ is not inialize and I have no access to the internet. I try follow:

    sudo apt-get install build-essential

    The result: (I translate from German to English)
    Paketlists are read
    Dependency tree is build
    Status information are reading

    E: Paket build-essential not found

    In the next step I try to get the build-essential paket from the internet and save it on a dvd with follow result:

    With build-essential_11.4build1_amd64.deb -> result: g++(>=4:4.3.1)
    With build-essential_11.5ubuntu2_amd64.deb -> result: g++(>=4:4.4.3)

    My problem is I can't use

    sudo apt-get update

    because I have no internet connection. In the last step I try to install the g++ 4.4.3 version by the paket g++_4.4.3-1ubuntu1_amd64.deb with follow result:


    What can I do?

  2. #2
    Join Date
    Jan 2007

    Re: Can't initialize paket build-essential

    With no internet, there's no solution on that computer.

    APT is designed to work with online repositories, and to resolve dependencies on the fly. You could go to some other computer that has internet connectivity, go to and download the build-essential and linux-headers packages for your OS version, architecture, and kernel version, save them on flash media, and then use dpkg to install them on your system. But you won't necessarily resolve their dependencies doing it that way, unless you review the dependencies, and the sub-dependencies, and the sub-sub-dependencies, etc. etc. on and download all those packages as well.
    Intel Core i7-950 / Asus P6X58D-E / Nvidia GTX480 / siduction 64-bit on OCZ Revodrive SSD / KDE4.10.2/ Kubuntu 13.04

  3. #3
    Join Date
    Oct 2007
    Chennai, India
    Ubuntu Development Release

    Re: Can't initialize paket build-essential

    Quote Originally Posted by YuiYui View Post
    In the next step I try to get the build-essential paket from the internet and save it on a dvd with follow result:
    If you have the original installation CDROM (/DVD) then add it as a repository, using the Terminal (Dash-Terminal) command
    sudo apt-cdrom add
    You can then install it using the apt-get command.

    Alternately, if you have downloaded the .deb file, you can attempt to install it using the Terminal command
    sudo dpkg -i ~/Downloads/build-essential*
    # correct the path as appropriate
    Please post back error messages if you have problems, for more specific troubleshooting.
    Make your own: Ubuntu, Kubuntu, Xubuntu, Mythbuntu All-in-One Live DVD
    "I never make mistakes; I thought I did, once.. but I was wrong."


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts