Find the answer to your Linux question:
Results 1 to 3 of 3
hi i'm trying to install ruby and discovered apt-get is apparently not configured properly. Help here? apt-get install ruby-full Reading package lists... Done Building dependency tree Reading state information... Done ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    19

    [SOLVED] need to fix apt-get ( /etc/apt/sources.list )


    hi i'm trying to install ruby and discovered apt-get is apparently not configured properly. Help here?

    apt-get install ruby-full

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    irb irb1.8 libdbm-ruby libdbm-ruby1.8 libgdbm-ruby libgdbm-ruby1.8 libopenssl-ruby
    libopenssl-ruby1.8 libreadline-ruby libreadline-ruby1.8 libruby1.8 rdoc rdoc1.8 ri ri1.8
    ruby ruby1.8 ruby1.8-dev
    Suggested packages:
    graphviz ruby1.8-examples
    Recommended packages:
    libtcltk-ruby ruby-elisp
    The following NEW packages will be installed:
    irb irb1.8 libdbm-ruby libdbm-ruby1.8 libgdbm-ruby libgdbm-ruby1.8 libopenssl-ruby
    libopenssl-ruby1.8 libreadline-ruby libreadline-ruby1.8 libruby1.8 rdoc rdoc1.8 ri ri1.8
    ruby ruby-full ruby1.8 ruby1.8-dev
    0 upgraded, 19 newly installed, 0 to remove and 16 not upgraded.
    Need to get 3363kB/3421kB of archives.
    After this operation, 53.5MB of additional disk space will be used.
    Do you want to continue [Y/n]? Y
    us.archive.ubuntu.com Index of hardy-updates/main libruby1.8 1.8.6.111-2ubuntu1.1
    404 Not Found [IP: 91.189.92.169 80]
    security ubuntu com]Ubuntu security notices | Ubuntu hardy-security/main libruby1.8 1.8.6.111-2ubuntu1.1
    404 Not Found [IP: 91.189.92.167 80]

    How should I update the apt/sources.list?
    thanks

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi and Welcome !

    Generate a new sources.list from here and replace it with existing. Create backup copy of existing sources before replacing it.

    If you are using Desktop version then I would suggest you to upgrade it. Ubuntu Hardy will no longer be supported by Ubuntu Team from next month and you won't receive any updates.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Mar 2011
    Posts
    19

    Use the update Luke

    sudo apt-get update apparently fixed the issue

Posting Permissions

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