Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, I am having trouble with apt-get, I can't seem to install anything. here's apt-get's output for most everything I try to install. Code: Reading package lists... Done Building dependency ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2

    [RESOLVED] apt-get problems.


    Hello,

    I am having trouble with apt-get, I can't seem to install anything.

    here's apt-get's output for most everything I try to install.

    Code:
    Reading package lists... Done
    Building dependency tree...
    Reading state information... Done
    Package gcc is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package gcc has no installation candidate
    Attached the sources file to this post

    internet connection is fine, I can ping google.

    any suggestions? I would appreciate any help that anyone can offer me
    Attached Files Attached Files
    Last edited by cdn_linux; 07-11-2010 at 02:53 PM. Reason: resolved.

  2. #2
    Linux Newbie craigevil's Avatar
    Join Date
    Jun 2005
    Location
    Terra in the Milky Way
    Posts
    109

    Cool

    All you have is security and volatile, you also need the main debian repo.

    Take a look at http://sites.google.com/site/mydebiansourceslist
    Debian Sid LXDE Kernel liquorix CPU Pentium IV 2.80GHz GeForce 9400 GT
    Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
    Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    2
    Quote Originally Posted by craigevil View Post
    All you have is security and volatile, you also need the main debian repo.
    Thanks for the pointer and the link, I seen my mistake right away.

    I added the stable and stable-src entries into my sources list from the debian stable lenny section of the file you linked, then ran and apt-get update and apt-get upgrade and everything now works the way I expected it to.

    attached my new sources file.
    Attached Files Attached Files

Posting Permissions

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