I have deployed portfolio app recently. Now, I want to update my app through different machine(linux mint 14).So, to update my app, definitely I need to install heroku toolbelt on my machine, latter on I can go forward with remaining things. Right?.
But, here my problem is "I can't install heroku toolbelt on my machine".
While installing process it is showing up the following error
wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
This script requires superuser access to install apt packages.
You will be prompted for your password by sudo.
--2013-11-14 16:23:38-- https://toolbelt.heroku.com/apt/release.key
Resolving toolbelt.heroku.com (toolbelt.heroku.com)... 174.129.17.173, 23.21.198.2, 54.243.76.97
Connecting to toolbelt.heroku.com (toolbelt.heroku.com)|174.129.17.173|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1737 (1.7K) [application/octet-stream]
Saving to: `STDOUT'
100%[=======================================>] 1,737 --.-K/s in 0s
2013-11-14 16:23:39 (22.2 MB/s) - written to stdout [1737/1737]
OK
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Ign http://archive.ubuntu.com quantal InRelease
Ign http://ppa.launchpad.net quantal InRelease
Ign http://packages.linuxmint.com nadia InRelease
Hit http://dl.google.com stable Release
Ign http://security.ubuntu.com quantal-security InRelease
Ign http://archive.canonical.com quantal InRelease
Ign http://archive.ubuntu.com quantal-updates InRelease
Hit http://ppa.launchpad.net quantal Release.gpg
Hit http://dl.google.com stable/main i386 Packages
Get:1 http://packages.medibuntu.org quantal InRelease
Get:2 http://security.ubuntu.com quantal-security Release.gpg [933 B]
Get:3 http://packages.linuxmint.com nadia Release.gpg [198 B]
Hit http://archive.canonical.com quantal Release.gpg
Hit http://archive.ubuntu.com quantal Release.gpg
Hit http://ppa.launchpad.net quantal Release
Ign http://toolbelt.heroku.com ./ InRelease
Get:4 http://security.ubuntu.com quantal-security Release [49.6 kB]
Hit http://archive.canonical.com quantal Release
Get:5 http://packages.linuxmint.com nadia Release [18.6 kB]
Get:6 http://archive.ubuntu.com quantal-updates Release.gpg [933 B]
Get:7 http://packages.medibuntu.org quantal Release.gpg
Hit http://ppa.launchpad.net quantal/main Sources
Hit http://archive.canonical.com quantal/partner i386 Packages
Get:8 http://toolbelt.heroku.com ./ Release.gpg [490 B]
Hit http://archive.ubuntu.com quantal Release
Hit http://ppa.launchpad.net quantal/main i386 Packages
Get:9 http://packages.medibuntu.org quantal Release
Ign http://packages.medibuntu.org quantal Release
E: GPG error: http://packages.medibuntu.org quantal Release: The following signatures were invalid: NODATA 1 NODATA 2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package heroku-toolbelt
So, After that
I have followed the Google search,stack overflow search to resolve the problem.I am trying to install it through some other process which is identified through stack overflow, but still it is not solved my problem and it is showing up error with libnss3 dependencies as
libnss3-1d : Depends: libnss3 (= 3.13.1.with.ckbi.1.88-1ubuntu7) but 3.14.3-0ubuntu0.12.10.1 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
I have replaced this libnss3.13.1.with.ckbi.1.88-1ubuntu7 with libnss3.14.3-0ubuntu0.12.10.1 in order to support Google-chrome browser.
But it is not supported for Heroku. If i will install the previous versioned libnss3 then i should remove google-chrome.I need google chrome because it provides best developer tool support for debugging and profiling the app.
Please help me to resolve this installing heroku-toolbelt problem.
Thanks.
Try
wget -qO- https://toolbelt.heroku.com/install.sh | sh
And then add the Heroku CLI to your PATH using:
echo 'PATH="/usr/local/heroku/bin:$PATH"' >> ~/.profile
I think the error "/usr/bin/env: ruby: No such file or directory" means you need to install Ruby.
Related
I'm new to Linux and Hadoop. I want to learn the basics of Pig, MapReduce and Hive and I'm trying to install Cloudera's Hadoop solution on Ubuntu.
This is the tutorial I'm following.
I'm stuck on Step 1. I'm not using a proxy, so I skipped the proxy configuration steps. Got to step 1.6, and then I get the following error message. Any ideas what I should try?
Refreshing repository metadata failed. See /var/log/cloudera-manager-installer/2.refresh-repo.log for details. Click OK to revert this installation.
And this is what's on that log file:
Hit http://archive.cloudera.com precise-cm4 Release.gpg
Hit http://archive.cloudera.com precise-cm4 Release
Ign http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://archive.ubuntu.com precise-updates Release.gpg
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://archive.cloudera.com precise-cm4/contrib Sources
Ign http://ppa.launchpad.net precise Release
Hit http://archive.cloudera.com precise-cm4/contrib amd64 Packages
Ign http://archive.cloudera.com precise-cm4/contrib TranslationIndex
Hit http://archive.ubuntu.com precise Release
Hit http://security.ubuntu.com precise-security Release
Hit http://ppa.launchpad.net precise Release
Hit http://archive.ubuntu.com precise-updates Release
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/main amd64 Packages
Hit http://archive.ubuntu.com precise/restricted amd64 Packages
Hit http://archive.ubuntu.com precise/universe amd64 Packages
Hit http://archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise/restricted TranslationIndex
Hit http://archive.ubuntu.com precise/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise-updates/main i386 Packages
Hit http://archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://archive.ubuntu.com precise/main Translation-en
Hit http://archive.ubuntu.com precise/multiverse Translation-en
Hit http://archive.ubuntu.com precise/restricted Translation-en
Ign http://archive.cloudera.com precise-cm4/contrib Translation-en_US
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Ign http://archive.cloudera.com precise-cm4/contrib Translation-en
Hit http://archive.ubuntu.com precise/universe Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Hit http://archive.ubuntu.com precise-updates/main Translation-en
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://archive.ubuntu.com precise-updates/universe Translation-en
Err http://ppa.launchpad.net precise/main Sources
404 Not Found
Err http://ppa.launchpad.net precise/main amd64 Packages
404 Not Found
Err http://ppa.launchpad.net precise/main i386 Packages
404 Not Found
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
W: Failed to fetch http://ppa.launchpad.net/ferramroberto/java/ubuntu/dists/precise/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ferramroberto/java/ubuntu/dists/precise/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ferramroberto/java/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Looks like you have broken repository references that are unrelated to Cloudera, but causing your install to fail.
Err http://ppa.launchpad.net precise/main Sources
404 Not Found
Err http://ppa.launchpad.net precise/main amd64 Packages
404 Not Found
Err http://ppa.launchpad.net precise/main i386 Packages
404 Not Found
...
W: Failed to fetch http://ppa.launchpad.net/ferramroberto/java/ubuntu/dists/precise/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ferramroberto/java/ubuntu/dists/precise/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ferramroberto/java/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found
Check out https://askubuntu.com/questions/65911/how-can-i-fix-a-404-error-using-a-ppa. Specifically look for http://ppa.launchpad.net/ferramroberto.
When trying to install Ruby using RVM under my Ubuntu 12.04 (with rvm install 2.0.0), I get the following:
No binary rubies available for: ubuntu/12.10/i386/ruby-2.0.0-p0.
And it tries to fetch repositories but it doesn't install anything. Shall I add some repositories or what should I do?
I also have tried running rvm requirements but no luck either.
What I get after running rvm install 2.0.0 is:
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/12.10/i386/ruby-2.0.0-p0.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Hit http://archive.ubuntu.com quantal Release.gpg
Hit http://dl.google.com stable Release.gpg
Get:1 http://extras.ubuntu.com quantal Release.gpg [72 B]
Ign http://ppa.launchpad.net quantal Release.gpg
Hit http://archive.canonical.com quantal Release.gpg
Hit http://repository.spotify.com stable Release.gpg
Hit http://archive.ubuntu.com quantal-updates Release.gpg
Hit http://extras.ubuntu.com quantal Release
Hit http://dl.google.com stable Release.gpg
Hit http://ppa.launchpad.net quantal Release.gpg
Hit http://archive.canonical.com quantal Release
Hit http://repository.spotify.com stable Release
Get:2 http://archive.ubuntu.com quantal-backports Release.gpg [933 B]
Hit http://downloads-distro.mongodb.org dist Release.gpg
Hit http://extras.ubuntu.com quantal/main Sources
Ign http://ppa.launchpad.net quantal Release
Hit http://dl.google.com stable Release
Hit http://archive.canonical.com quantal/partner i386 Packages
Hit http://repository.spotify.com stable/non-free Sources
Hit http://archive.ubuntu.com quantal-security Release.gpg
Hit http://extras.ubuntu.com quantal/main i386 Packages
Hit http://ppa.launchpad.net quantal Release
Hit http://dl.google.com stable Release
Hit http://repository.spotify.com stable/non-free i386 Packages
Hit http://archive.ubuntu.com quantal Release
Hit http://dl.google.com stable/main i386 Packages
Hit http://archive.ubuntu.com quantal-updates Release
Get:3 http://linux.dropbox.com precise Release.gpg [489 B]
Get:4 http://archive.ubuntu.com quantal-backports Release [49.6 kB]
Hit http://downloads-distro.mongodb.org dist Release
Hit http://toolbelt.heroku.com ./ Release.gpg
Hit http://ppa.launchpad.net quantal/main Sources
Hit http://dl.google.com stable/main i386 Packages
Get:5 http://linux.dropbox.com precise Release [2,603 B]
Hit http://archive.ubuntu.com quantal-security Release
Hit http://ppa.launchpad.net quantal/main i386 Packages
Hit http://archive.ubuntu.com quantal/main Sources
Hit http://downloads-distro.mongodb.org dist/10gen i386 Packages
Hit http://archive.ubuntu.com quantal/restricted Sources
Ign http://archive.canonical.com quantal/partner Translation-en_US
Get:6 http://linux.dropbox.com precise/main i386 Packages [1,148 B]
Hit http://toolbelt.heroku.com ./ Release
Ign http://extras.ubuntu.com quantal/main Translation-en_US
Hit http://archive.ubuntu.com quantal/universe Sources
Ign http://archive.canonical.com quantal/partner Translation-en
Ign http://extras.ubuntu.com quantal/main Translation-en
Hit http://archive.ubuntu.com quantal/multiverse Sources
Ign http://repository.spotify.com stable/non-free Translation-en_US
Hit http://archive.ubuntu.com quantal/main i386 Packages
Ign http://repository.spotify.com stable/non-free Translation-en
Hit http://archive.ubuntu.com quantal/restricted i386 Packages
Hit http://archive.ubuntu.com quantal/universe i386 Packages
Hit http://toolbelt.heroku.com ./ Packages
Hit http://archive.ubuntu.com quantal/multiverse i386 Packages
Hit http://archive.ubuntu.com quantal/main Translation-en
Hit http://archive.ubuntu.com quantal/multiverse Translation-en
Hit http://archive.ubuntu.com quantal/restricted Translation-en
Hit http://archive.ubuntu.com quantal/universe Translation-en
Ign http://dl.google.com stable/main Translation-en_US
Hit http://archive.ubuntu.com quantal-updates/main Sources
Ign http://dl.google.com stable/main Translation-en
Hit http://archive.ubuntu.com quantal-updates/restricted Sources
Hit http://archive.ubuntu.com quantal-updates/universe Sources
Ign http://dl.google.com stable/main Translation-en_US
Hit http://archive.ubuntu.com quantal-updates/multiverse Sources
Ign http://dl.google.com stable/main Translation-en
Hit http://archive.ubuntu.com quantal-updates/main i386 Packages
Err http://ppa.launchpad.net quantal/main Sources
404 Not Found
Hit http://archive.ubuntu.com quantal-updates/restricted i386 Packages
Err http://ppa.launchpad.net quantal/main i386 Packages
404 Not Found
Hit http://archive.ubuntu.com quantal-updates/universe i386 Packages
Ign http://ppa.launchpad.net quantal/main Translation-en_US
Hit http://archive.ubuntu.com quantal-updates/multiverse i386 Packages
Ign http://ppa.launchpad.net quantal/main Translation-en
Ign http://ppa.launchpad.net quantal/main Translation-en_US
Ign http://ppa.launchpad.net quantal/main Translation-en
Ign http://toolbelt.heroku.com ./ Translation-en_US
Hit http://archive.ubuntu.com quantal-updates/main Translation-en
Ign http://linux.dropbox.com precise/main Translation-en_US
Hit http://archive.ubuntu.com quantal-updates/multiverse Translation-en
Hit http://archive.ubuntu.com quantal-updates/restricted Translation-en
Ign http://linux.dropbox.com precise/main Translation-en
Hit http://archive.ubuntu.com quantal-updates/universe Translation-en
Get:7 http://archive.ubuntu.com quantal-backports/main Sources [14 B]
Get:8 http://archive.ubuntu.com quantal-backports/restricted Sources [14 B]
Ign http://downloads-distro.mongodb.org dist/10gen Translation-en_US
Get:9 http://archive.ubuntu.com quantal-backports/universe Sources [13.7 kB]
Ign http://toolbelt.heroku.com ./ Translation-en
Get:10 http://archive.ubuntu.com quantal-backports/multiverse Sources [1,306 B]
Get:11 http://archive.ubuntu.com quantal-backports/main i386 Packages [14 B]
Get:12 http://archive.ubuntu.com quantal-backports/restricted i386 Packages [14 B]
Ign http://downloads-distro.mongodb.org dist/10gen Translation-en
Get:13 http://archive.ubuntu.com quantal-backports/universe i386 Packages [18.1 kB]
Get:14 http://archive.ubuntu.com quantal-backports/multiverse i386 Packages [1,434 B]
Hit http://archive.ubuntu.com quantal-backports/main Translation-en
Hit http://archive.ubuntu.com quantal-backports/multiverse Translation-en
Hit http://archive.ubuntu.com quantal-backports/restricted Translation-en
Hit http://archive.ubuntu.com quantal-backports/universe Translation-en
Hit http://archive.ubuntu.com quantal-security/main Sources
Hit http://archive.ubuntu.com quantal-security/restricted Sources
Hit http://archive.ubuntu.com quantal-security/universe Sources
Hit http://archive.ubuntu.com quantal-security/multiverse Sources
Hit http://archive.ubuntu.com quantal-security/main i386 Packages
Hit http://archive.ubuntu.com quantal-security/restricted i386 Packages
Hit http://archive.ubuntu.com quantal-security/universe i386 Packages
Hit http://archive.ubuntu.com quantal-security/multiverse i386 Packages
Hit http://archive.ubuntu.com quantal-security/main Translation-en
Hit http://archive.ubuntu.com quantal-security/multiverse Translation-en
Hit http://archive.ubuntu.com quantal-security/restricted Translation-en
Hit http://archive.ubuntu.com quantal-security/universe Translation-en
Ign http://archive.ubuntu.com quantal/main Translation-en_US
Ign http://archive.ubuntu.com quantal/multiverse Translation-en_US
Ign http://archive.ubuntu.com quantal/restricted Translation-en_US
Ign http://archive.ubuntu.com quantal/universe Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/main Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/multiverse Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com quantal-updates/universe Translation-en_US
Ign http://archive.ubuntu.com quantal-backports/main Translation-en_US
Ign http://archive.ubuntu.com quantal-backports/multiverse Translation-en_US
Ign http://archive.ubuntu.com quantal-backports/restricted Translation-en_US
Ign http://archive.ubuntu.com quantal-backports/universe Translation-en_US
Ign http://archive.ubuntu.com quantal-security/main Translation-en_US
Ign http://archive.ubuntu.com quantal-security/multiverse Translation-en_US
Ign http://archive.ubuntu.com quantal-security/restricted Translation-en_US
Ign http://archive.ubuntu.com quantal-security/universe Translation-en_US
Fetched 89.4 kB in 11s (7,694 B/s)
W: Failed to fetch http://ppa.launchpad.net/mixxx/mixxx/ubuntu/dists/quantal/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/mixxx/mixxx/ubuntu/dists/quantal/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
The errors are irrelevant to you installing ruby - you have some broken dependencies (whatever the PPA for mixxx/mixxx is). Remove it from your software sources, and try again.
I found an answer here (worked for me in mint), have to make sure to do sudo apt-get install checkinstall and all
https://gist.github.com/ngauthier/5039249
See also:
Installing Ruby 2.0.0
I'm running Debian Wheezy with kernel 2.6.32-028stab101.1.
I just installed Ruby and RVM. The current installed version is
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux],
however, I need version 1.8.7-p371 for my current code.
I tried running rvm install ruby-1.8.7-p371, but only get the following output:
Searching for binary rubies, this might take some time.
No binary rubies available for: debian/7.0/x86_64/ruby-1.8.7-p371.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing requirements for debian, might require sudo password.
Hit http://plex.r.worldssl.net lucid Release.gpg
Hit http://plex.r.worldssl.net lucid Release
Hit http://www.plexapp.com lucid Release.gpg
Hit http://plex.r.worldssl.net lucid/main amd64 Packages
Hit http://www.plexapp.com lucid Release
Hit http://ftp.us.debian.org sid Release.gpg
Hit http://www.plexapp.com lucid/main amd64 Packages
Hit http://ftp.us.debian.org sid Release
Hit http://ftp.us.debian.org sid/main amd64 Packages/DiffIndex
Hit http://debian.intergenia.de squeeze Release.gpg
Hit http://debian.intergenia.de squeeze/updates Release.gpg
Ign http://plex.originet.eu stable Release.gpg
Hit http://ftp.us.debian.org sid/main Translation-en/DiffIndex
Hit http://debian.intergenia.de squeeze Release
Ign http://plex.originet.eu stable Release
Ign http://plex.originet.eu stable/main amd64 Packages/DiffIndex
Ign http://www.plexapp.com lucid/main Translation-en_US
Hit http://debian.intergenia.de squeeze/updates Release
Ign http://www.plexapp.com lucid/main Translation-en
Hit http://debian.intergenia.de squeeze/main Sources
Hit http://debian.intergenia.de squeeze/contrib Sources
Hit http://debian.intergenia.de squeeze/non-free Sources
Hit http://debian.intergenia.de squeeze/main amd64 Packages
Hit http://debian.intergenia.de squeeze/contrib amd64 Packages
Hit http://debian.intergenia.de squeeze/non-free amd64 Packages
Hit http://debian.intergenia.de squeeze/updates/main Sources
Hit http://debian.intergenia.de squeeze/updates/contrib Sources
Hit http://debian.intergenia.de squeeze/updates/non-free Sources
Hit http://debian.intergenia.de squeeze/updates/main amd64 Packages
Ign http://plex.r.worldssl.net lucid/main Translation-en_US
Ign http://plex.r.worldssl.net lucid/main Translation-en
Hit http://debian.intergenia.de squeeze/updates/contrib amd64 Packages
Ign http://plex.originet.eu stable/main Translation-en_US
Hit http://debian.intergenia.de squeeze/updates/non-free amd64 Packages
Ign http://plex.originet.eu stable/main Translation-en
Err http://plex.originet.eu stable/main amd64 Packages
404 Not Found
Ign http://debian.intergenia.de squeeze/updates/contrib Translation-en_US
Ign http://debian.intergenia.de squeeze/updates/contrib Translation-en
Ign http://debian.intergenia.de squeeze/updates/main Translation-en_US
Ign http://debian.intergenia.de squeeze/updates/main Translation-en
Ign http://debian.intergenia.de squeeze/updates/non-free Translation-en_US
Ign http://debian.intergenia.de squeeze/updates/non-free Translation-en
W: Failed to fetch http://plex.originet.eu/dists/stable/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
I tried installing readline, running rvm mount, inserted
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
in my .zshrc, but nothing worked.
Any ideas what I'm missing?
The problem lies within your apt hostlist, not within RVM.
Remove the broken host from your /etc/apt/sources.list file and you should be fine :)
whats rvm -v say?
run rvm get stable to get the most current stable release
from there try just simply rvm install 1.8.7
after it installs you can run rvm default 1.8.7 to set it as the default ruby
I have five server that free CDH4 install on them and services work very well. Today I want to add two hosts but it's failed.
this is log.
Refreshing package metadata...
BEGIN sudo apt-get update
...
Ign http://archive.cloudera.com precise-cdh4.0.0 Release
Ign http://archive.cloudera.com precise-cm4.1.4 Release
Ign http://archive.cloudera.com precise-cdh4.0.0/contrib TranslationIndex
Ign http://archive.cloudera.com precise-cm4.1.4/contrib TranslationIndex
Err http://archive.cloudera.com precise-cdh4.0.0/contrib amd64 Packages
Connection failed
Err http://archive.cloudera.com precise-cm4.1.4/contrib amd64 Packages
Connection failed
Ign http://archive.cloudera.com precise-cdh4.0.0/contrib Translation-en_US
Ign http://archive.cloudera.com precise-cdh4.0.0/contrib Translation-en
Ign http://archive.cloudera.com precise-cm4.1.4/contrib Translation-en_US
Ign http://archive.cloudera.com precise-cm4.1.4/contrib Translation-en
Fetched 2,965 kB in 24min 11s (2,042 B/s)
W: Failed to fetch http://archive.cloudera.com/cdh4/ubuntu/precise/amd64/cdh/dists/precise- cdh4.0.0/contrib/binary-amd64/Packages Connection failed
W: Failed to fetch http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/dists/precise-cm4.1.4/contrib/binary-amd64/Packages Connection failed
E: Some index files failed to download. They have been ignored, or old ones used instead.
END (100)
this is not real problem. In the next command u see!
Installing oracle-j2sdk1.6 package...
BEGIN sudo apt-cache show oracle-j2sdk1.6
E: No packages found
END (100)
remote package oracle-j2sdk1.6 is not available, giving up
and the rollback execute.
I think the real problem is Installing oracle-j2sdk1.6 but I don't know how figure out.
Thank you.
I install oracle-j2sdk1.6 manually and install completed. if your country not boycott you won't see this error.
I am attempting to install the Cloud Foundry VCAP as a single node on an Ubutnu 10.04.4 VM using the instructions provided here. I am logged in as a root.
I complete the Common tasks without problem, but when I get to attempting Option 2 under Single Node Deployment, where I execute the script bin/vcap_dev_setup I do not get the expected results. First, it does not promt me for the sudo password (perhaps since I am logged in as root?) and then it seems to run fine until it gets to a file it tries to download but can't...
root#cloudlg187220:~/cloudfoundry/vcap/dev_setup/bin# ./vcap_dev_setup
Hit http://us.archive.ubuntu.com lucid Release.gpg
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US
Get:1 http://us.archive.ubuntu.com lucid-updates Release.gpg [198B]
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com lucid Release
Get:2 http://us.archive.ubuntu.com lucid-updates Release [58.3kB]
Ign http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/swift-core/ppa/ubuntu/ lucid/main Translation-en_US
Get:3 http://security.ubuntu.com lucid-security Release.gpg [198B]
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
Ign http://ppa.launchpad.net lucid Release
Hit http://us.archive.ubuntu.com lucid/main Packages
Hit http://us.archive.ubuntu.com lucid/restricted Packages
Hit http://us.archive.ubuntu.com lucid/main Sources
Hit http://us.archive.ubuntu.com lucid/restricted Sources
Hit http://us.archive.ubuntu.com lucid/universe Packages
Hit http://us.archive.ubuntu.com lucid/universe Sources
Get:4 http://security.ubuntu.com lucid-security Release [57.3kB]
Hit http://us.archive.ubuntu.com lucid/multiverse Packages
Hit http://us.archive.ubuntu.com lucid/multiverse Sources
Get:5 http://us.archive.ubuntu.com lucid-updates/main Packages [663kB]
Ign http://ppa.launchpad.net lucid/main Packages
Ign http://ppa.launchpad.net lucid/main Packages
Err http://ppa.launchpad.net lucid/main Packages
404 Not Found
Get:6 http://us.archive.ubuntu.com lucid-updates/restricted Packages [4,624B]
Get:7 http://us.archive.ubuntu.com lucid-updates/main Sources [233kB]
Get:8 http://security.ubuntu.com lucid-security/main Packages [474kB]
Get:9 http://us.archive.ubuntu.com lucid-updates/restricted Sources [2,196B]
Get:10 http://us.archive.ubuntu.com lucid-updates/universe Packages [317kB]
Get:11 http://us.archive.ubuntu.com lucid-updates/universe Sources [106kB]
Get:12 http://us.archive.ubuntu.com lucid-updates/multiverse Packages [11.5kB]
Get:13 http://us.archive.ubuntu.com lucid-updates/multiverse Sources [5,823B]
Get:14 http://security.ubuntu.com lucid-security/restricted Packages [2,829B]
Get:15 http://security.ubuntu.com lucid-security/main Sources [134kB]
Get:16 http://security.ubuntu.com lucid-security/restricted Sources [1,267B]
Get:17 http://security.ubuntu.com lucid-security/universe Packages [168kB]
Get:18 http://security.ubuntu.com lucid-security/universe Sources [43.8kB]
Get:19 http://security.ubuntu.com lucid-security/multiverse Packages [5,343B]
Get:20 http://security.ubuntu.com lucid-security/multiverse Sources [2,337B]
Fetched 2,290kB in 4s (553kB/s)
W: Failed to fetch http://ppa.launchpad.net/swift-core/ppa/ubuntu/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.
Every reference to this error I find online has no answer. Does anyone have an idea or suggestion? Thanks for any help you can offer.
The article you want to use to install vcap on a single VM/Machine is at the following:
https://github.com/cloudfoundry/vcap/tree/master/dev_setup
The link you provided is out of date