Note that there are some explanatory texts on larger screens.

plurals
  1. POdifficulty in installing ruby-bundler and update headers in ubuntu
    primarykey
    data
    text
    <p>I'm learning ruby on rails and therefore require installation of some gems for app. I'm trying to install ruby-bundler but getting errors. need some help.. i'll paste the commands i tried in my terminal. thanks in advance.</p> <pre><code>hp@ubuntu:~$ bundle install --without production The program 'bundle' is currently not installed. You can install it by typing: sudo apt-get install ruby-bundler hp@ubuntu:~$ sudo apt-get install ruby-bundler [sudo] password for hp: Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: ruby ruby1.8 Suggested packages: ri ruby-dev ruby1.8-examples ri1.8 The following NEW packages will be installed: ruby ruby-bundler ruby1.8 0 upgraded, 3 newly installed, 0 to remove and 64 not upgraded. Need to get 143 kB of archives. After this operation, 1,139 kB of additional disk space will be used. Do you want to continue [Y/n]? y Err http://ubuntuarchive.hnsdc.com/ubuntu/ oneiric/main ruby all 4.8 Unable to connect to ubuntuarchive.hnsdc.com:http: Err http://ubuntuarchive.hnsdc.com/ubuntu/ oneiric/universe ruby-bundler all 1.0.15- 0ubuntu2 Unable to connect to ubuntuarchive.hnsdc.com:http: Err http://ubuntuarchive.hnsdc.com/ubuntu/ oneiric-security/main ruby1.8 i386 1.8.7.352- 2ubuntu0.1 Unable to connect to ubuntuarchive.hnsdc.com:http: Failed to fetch http://ubuntuarchive.hnsdc.com/ubuntu/pool/main/r/ruby1.8/ruby1.8_1.8.7.352-2ubuntu0.1_i386.deb Unable to connect to ubuntuarchive.hnsdc.com:http: Failed to fetch http://ubuntuarchive.hnsdc.com/ubuntu/pool/main/r/ruby- defaults/ruby_4.8_all.deb Unable to connect to ubuntuarchive.hnsdc.com:http: Failed to fetch http://ubuntuarchive.hnsdc.com/ubuntu/pool/universe/r/ruby-bundler/ruby-bundler_1.0.15-0ubuntu2_all.deb Unable to connect to ubuntuarchive.hnsdc.com:http: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? hp@ubuntu:~$ sudo apt-get update Ign http://archive.canonical.com oneiric InRelease Hit http://archive.canonical.com oneiric Release.gpg Hit http://archive.canonical.com oneiric Release Hit http://archive.canonical.com oneiric/partner i386 Packages Ign http://archive.canonical.com oneiric/partner TranslationIndex Err http://ubuntuarchive.hnsdc.com oneiric InRelease Err http://ubuntuarchive.hnsdc.com oneiric-updates InRelease Err http://ubuntuarchive.hnsdc.com oneiric-security InRelease Err http://ubuntuarchive.hnsdc.com oneiric Release.gpg Unable to connect to ubuntuarchive.hnsdc.com:http: Err http://ubuntuarchive.hnsdc.com oneiric-updates Release.gpg Unable to connect to ubuntuarchive.hnsdc.com:http: Err http://ubuntuarchive.hnsdc.com oneiric-security Release.gpg Unable to connect to ubuntuarchive.hnsdc.com:http: Ign http://archive.canonical.com oneiric/partner Translation-en_US Ign http://archive.canonical.com oneiric/partner Translation-en Reading package lists... Done W: Failed to fetch http://ubuntuarchive.hnsdc.com/ubuntu/dists/oneiric/InRelease W: Failed to fetch http://ubuntuarchive.hnsdc.com/ubuntu/dists/oneiric-updates/InRelease W: Failed to fetch http://ubuntuarchive.hnsdc.com/ubuntu/dists/oneiric-security/InRelease W: Failed to fetch http://ubuntuarchive.hnsdc.com/ubuntu/dists/oneiric/Release.gpg Unable to connect to ubuntuarchive.hnsdc.com:http: W: Failed to fetch http://ubuntuarchive.hnsdc.com/ubuntu/dists/oneiric-updates/Release.gpg Unable to connect to ubuntuarchive.hnsdc.com:http: W: Failed to fetch http://ubuntuarchive.hnsdc.com/ubuntu/dists/oneiric-security/Release.gpg Unable to connect to ubuntuarchive.hnsdc.com:http: W: Some index files failed to download. They have been ignored, or old ones used instead. </code></pre> <p>what could be the reasons?? is it related to ubuntu archive mirror? i am not even able to upgrade due to broken packages.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload