Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
I need to install build-essential which needs for it g++ package which needs for it gcc package 4.3.2-2 and for this I need gcc-4.3 4.3.2-1 and I can't find this ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    36

    [SOLVED] Can't find a package


    I need to install build-essential which needs for it g++ package which needs for it gcc package 4.3.2-2 and for this I need gcc-4.3 4.3.2-1 and I can't find this package anywhere. I keep finding gcc-4.3 4.3.2-1.1 but after I install it it doesn't help me and gcc 4.3.2-2 still requests gcc-4.3 4.3.2-1.
    Thanks in advance. So complicated

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Which version of Debian are you using?

    What is your end goal? Is there a piece of software you're looking to compile?

    Under normal circumstances you should just be able to do
    Code:
    su -c 'apt-get install build-essential'
    EDIT: So used to writing sudo. Changed.

    Is that failing? If so, what is the output?

    Debian -- Details of package build-essential in lenny
    Last edited by reed9; 09-16-2010 at 12:29 PM.

  3. #3
    Linux User
    Join Date
    Jun 2006
    Location
    Scotland
    Posts
    283
    +1

    Also have you installed Synaptic Package Manager?

  4. #4
    Just Joined!
    Join Date
    Sep 2010
    Posts
    36
    using debian 500-i386 lenny
    end goal, to compile linux kernel using this guide : YouTube - Howto: Debian Linux Kernel Compilation, Part 1
    when I write ur code it doesnt find the command "sudo"
    and I haven't installed synaptic package manager

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Its su instead of sudo in Debian.
    Execute this
    Code:
    su -
    apt-get update
    apt-get install build-essential
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Synaptic is a Graphical Interface of apt-get and you can manage packages with it easily.
    Code:
    su -
    apt-get install synaptic
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Sep 2010
    Posts
    36
    apt-get never worked for me... That's why I only used dpkg -i to install things right now
    here are 2 pics to show what do I mean
    http://img52.imageshack.us/img52/3630/pickrp.jpg
    http://img810.imageshack.us/img810/693/pic2zb.jpg

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Execute this
    Code:
    apt-get -f install
    Sources are not configured correctly. Post the contents of /etc/apt/sources.list file here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Sep 2010
    Posts
    36

  10. #10
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Your sources.list is almost bare. All that's in it are the security update repos.

    Go here and generate a new sources.list. Place in /etc/apt/sources.list

    Do
    Code:
    su -
    apt-get update && apt-get install build-essential

Page 1 of 2 1 2 LastLast

Posting Permissions

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