RVM and Ruby 2.0.0 under Ubuntu 12.04 - ruby

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

Related

The command "sudo apt-get update" always ocurred errors

The old g++/gcc version on my computer is 4.6.3. I need to update it to 4.8, because some softwares I want to install are required.
But when I update g++/gcc on ubuntu 12.04 as follow command, there were some errors.
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.8
I can run the first command well.
myshu#ubuntu-headnode:~$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
You are about to add the following PPA to your system:
Toolchain test builds; see https://wiki.ubuntu.com/ToolChain
More info: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmp4H9X2n/secring.gpg' created
gpg: keyring `/tmp/tmp4H9X2n/pubring.gpg' created
gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp4H9X2n/trustdb.gpg: trustdb created
gpg: key BA9EF27F: public key "Launchpad Toolchain builds" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
But the "sudo apt-get update" always have errors.
myshu#ubuntu-headnode:~$ sudo apt-get update
Hit http://mirrors.sohu.com precise Release.gpg
Get:1 http://mirrors.sohu.com precise-updates Release.gpg [198 B]
Hit http://mirrors.sohu.com precise-backports Release.gpg
Get:2 http://mirrors.sohu.com precise-security Release.gpg [198 B]
Hit http://mirrors.sohu.com precise Release
Get:3 http://mirrors.sohu.com precise-updates Release [55.4 kB]
Hit http://mirrors.sohu.com precise-backports Release
Get:4 http://mirrors.sohu.com precise-security Release [55.5 kB]
Hit http://mirrors.sohu.com precise/main Sources
Hit http://mirrors.sohu.com precise/restricted Sources
Hit http://mirrors.sohu.com precise/universe Sources
Hit http://mirrors.sohu.com precise/multiverse Sources
Hit http://mirrors.sohu.com precise/main amd64 Packages
Hit http://mirrors.sohu.com precise/restricted amd64 Packages
Hit http://mirrors.sohu.com precise/universe amd64 Packages
Hit http://mirrors.sohu.com precise/multiverse amd64 Packages
Hit http://mirrors.sohu.com precise/main i386 Packages
Hit http://mirrors.sohu.com precise/restricted i386 Packages
Hit http://mirrors.sohu.com precise/universe i386 Packages
Hit http://mirrors.sohu.com precise/multiverse i386 Packages
Hit http://mirrors.sohu.com precise/main TranslationIndex
Hit http://mirrors.sohu.com precise/multiverse TranslationIndex
Hit http://mirrors.sohu.com precise/restricted TranslationIndex
Hit http://mirrors.sohu.com precise/universe TranslationIndex
Get:5 http://mirrors.sohu.com precise-updates/main Sources [500 kB]
Get:6 http://extras.ubuntu.com precise Release.gpg [72 B]
Get:7 http://mirrors.sohu.com precise-updates/restricted Sources [8,835 B]
Get:8 http://mirrors.sohu.com precise-updates/universe Sources [134 kB]
Get:9 http://mirrors.sohu.com precise-updates/multiverse Sources [10.5 kB]
Get:10 http://mirrors.sohu.com precise-updates/main amd64 Packages [1,050 kB]
Hit http://extras.ubuntu.com precise Release
Hit http://extras.ubuntu.com precise/main Sources
Hit http://ppa.launchpad.net precise Release.gpg
Get:11 http://mirrors.sohu.com precise-updates/restricted amd64 Packages [15.4 kB]
Get:12 http://mirrors.sohu.com precise-updates/universe amd64 Packages [285 kB]
Get:13 http://mirrors.sohu.com precise-updates/multiverse amd64 Packages [17.1 kB]
Get:14 http://mirrors.sohu.com precise-updates/main i386 Packages [1,126 kB]
Hit http://extras.ubuntu.com precise/main amd64 Packages
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Get:15 http://mirrors.sohu.com precise-updates/restricted i386 Packages [15.4 kB]
Get:16 http://mirrors.sohu.com precise-updates/universe i386 Packages [294 kB]
Get:17 http://mirrors.sohu.com precise-updates/multiverse i386 Packages [17.3 kB]
Get:18 http://mirrors.sohu.com precise-updates/main TranslationIndex [208 B]
Get:19 http://mirrors.sohu.com precise-updates/multiverse TranslationIndex [202 B]
Get:20 http://mirrors.sohu.com precise-updates/restricted TranslationIndex [202 B]
Get:21 http://mirrors.sohu.com precise-updates/universe TranslationIndex [205 B]
Hit http://mirrors.sohu.com precise-backports/main Sources
Hit http://mirrors.sohu.com precise-backports/restricted Sources
Hit http://mirrors.sohu.com precise-backports/universe Sources
Hit http://mirrors.sohu.com precise-backports/multiverse Sources
Hit http://mirrors.sohu.com precise-backports/main amd64 Packages
Hit http://mirrors.sohu.com precise-backports/restricted amd64 Packages
Hit http://mirrors.sohu.com precise-backports/universe amd64 Packages
Hit http://mirrors.sohu.com precise-backports/multiverse amd64 Packages
Hit http://mirrors.sohu.com precise-backports/main i386 Packages
Hit http://mirrors.sohu.com precise-backports/restricted i386 Packages
Hit http://mirrors.sohu.com precise-backports/universe i386 Packages
Hit http://mirrors.sohu.com precise-backports/multiverse i386 Packages
Hit http://mirrors.sohu.com precise-backports/main TranslationIndex
Hit http://mirrors.sohu.com precise-backports/multiverse TranslationIndex
Hit http://mirrors.sohu.com precise-backports/restricted TranslationIndex
Hit http://mirrors.sohu.com precise-backports/universe TranslationIndex
Get:22 http://mirrors.sohu.com precise-security/main Sources [146 kB]
Get:23 http://mirrors.sohu.com precise-security/restricted Sources [4,636 B]
Get:24 http://mirrors.sohu.com precise-security/universe Sources [55.3 kB]
Get:25 http://mirrors.sohu.com precise-security/multiverse Sources [3,035 B]
Get:26 http://mirrors.sohu.com precise-security/main amd64 Packages [668 kB]
Hit http://ppa.launchpad.net precise Release
Get:27 http://mirrors.sohu.com precise-security/restricted amd64 Packages [10.8 kB]
Get:28 http://mirrors.sohu.com precise-security/universe amd64 Packages [141 kB]
Get:29 http://mirrors.sohu.com precise-security/multiverse amd64 Packages [3,352 B]
Get:30 http://mirrors.sohu.com precise-security/main i386 Packages [741 kB]
Get:31 http://ppa.launchpad.net precise/main Sources [1,600 B]
Get:32 http://mirrors.sohu.com precise-security/restricted i386 Packages [10.8 kB]
Get:33 http://mirrors.sohu.com precise-security/universe i386 Packages [149 kB]
Get:34 http://mirrors.sohu.com precise-security/multiverse i386 Packages [3,533 B]
Get:35 http://mirrors.sohu.com precise-security/main TranslationIndex [208 B]
Get:36 http://mirrors.sohu.com precise-security/multiverse TranslationIndex [199 B]
Get:37 http://mirrors.sohu.com precise-security/restricted TranslationIndex [202 B]
Get:38 http://mirrors.sohu.com precise-security/universe TranslationIndex [205 B]
Hit http://mirrors.sohu.com precise/main Translation-en
Hit http://mirrors.sohu.com precise/multiverse Translation-en
Hit http://mirrors.sohu.com precise/restricted Translation-en
Hit http://mirrors.sohu.com precise/universe Translation-en
Get:39 http://mirrors.sohu.com precise-updates/main Translation-en [432 kB]
Ign http://extras.ubuntu.com precise/main Translation-en_US
Get:40 http://mirrors.sohu.com precise-updates/multiverse Translation-en [10.1 kB]
Get:41 http://mirrors.sohu.com precise-updates/restricted Translation-en [3,690 B]
Get:42 http://mirrors.sohu.com precise-updates/universe Translation-en [172 kB]
Hit http://mirrors.sohu.com precise-backports/main Translation-en
Hit http://mirrors.sohu.com precise-backports/multiverse Translation-en
Hit http://mirrors.sohu.com precise-backports/restricted Translation-en
Hit http://mirrors.sohu.com precise-backports/universe Translation-en
Get:43 http://mirrors.sohu.com precise-security/main Translation-en [270 kB]
Ign http://extras.ubuntu.com precise/main Translation-en
Get:44 http://mirrors.sohu.com precise-security/multiverse Translation-en [1,993 B]
Get:45 http://mirrors.sohu.com precise-security/restricted Translation-en [2,805 B]
Get:46 http://mirrors.sohu.com precise-security/universe Translation-en [90.4 kB]
Hit http://ppa.launchpad.net precise/main TranslationIndex
Get:47 http://ppa.launchpad.net precise/main amd64 Packages [25.7 kB]
Get:48 http://ppa.launchpad.net precise/main i386 Packages [3,396 B]
Get:49 http://ppa.launchpad.net precise/main Translation-en [1,556 B]
Ign http://dl.secondarymetabolites.org jessie Release.gpg
Ign http://dl.secondarymetabolites.org jessie Release
Ign http://dl.secondarymetabolites.org jessie/main TranslationIndex
Err http://dl.secondarymetabolites.org jessie/main amd64 Packages
Undetermined Error [IP: 130.226.56.135 80]
Err http://dl.secondarymetabolites.org jessie/main i386 Packages
Undetermined Error [IP: 130.226.56.135 80]
Ign http://dl.secondarymetabolites.org jessie/main Translation-en_US
Ign http://dl.secondarymetabolites.org jessie/main Translation-en
Fetched 6,537 kB in 10min 14s (10.6 kB/s)
W: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/dists/precise/main/source/Sources Hash Sum mismatch
W: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/dists/precise/main/binary-amd64/Packages Hash Sum mismatch
W: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/dists/precise/main/binary-i386/Packages Hash Sum mismatch
W: Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/dists/precise/main/i18n/Translation-en Hash Sum mismatch
W: Failed to fetch http://dl.secondarymetabolites.org/repos/deb/dists/jessie/main/binary-amd64/Packages Undetermined Error [IP: 130.226.56.135 80]
W: Failed to fetch http://dl.secondarymetabolites.org/repos/deb/dists/jessie/main/binary-i386/Packages Undetermined Error [IP: 130.226.56.135 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Can anyone help me to solves this problem?

Unable to install heroku-toolbelt on linux mint 14?

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.

apt-get install build-essential not working on vagrant through provision

I have the following in my Vagrantfile. It install vim, but it does not install nodejs, git etc. How to change it so that it run apt-get install build-essential git-core python-software-properties nodejs? Or should I do this with puppet file?
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu32"
config.vm.provision :shell, path: './provision.sh'
config.vm.network "public_network"
end
provision.sh
apt-get update
apt-get install build-essential git-core python-software-properties nodejs
apt-get install vim -y
====
UPDATE: This is the outputs of vagrant up.
vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'ubuntu32'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Available bridged network interfaces:
1) en1: Wi-Fi (AirPort)
2) en0: Ethernet
3) p2p0
What interface should the network bridge to? 1
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
[default] The guest additions on this VM do not match the installed version of
VirtualBox! In most cases this is fine, but in rare cases it can
cause things such as shared folders to not work properly. If you see
shared folder errors, please update the guest additions within the
virtual machine and reload your VM.
Guest Additions Version: 4.2.0
VirtualBox Version: 4.3
[default] Configuring and enabling network interfaces...
[default] Mounting shared folders...
[default] -- /vagrant
[default] Running provisioner: shell...
[default] Running: /var/folders/y0/dzf6yf9n5r1bsl3p94lmv2fr0000gp/T/vagrant-shell20131108-47487-13ypot
stdin: is not a tty
Ign http://security.ubuntu.com precise-security InRelease
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:2 http://security.ubuntu.com precise-security Release [49.6 kB]
Get:3 http://security.ubuntu.com precise-security/main Sources [92.5 kB]
Get:4 http://security.ubuntu.com precise-security/restricted Sources [2,494 B]
Get:5 http://security.ubuntu.com precise-security/universe Sources [29.6 kB]
Ign http://us.archive.ubuntu.com precise InRelease
Get:6 http://security.ubuntu.com precise-security/multiverse Sources [1,804 B]
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://us.archive.ubuntu.com precise-backports InRelease
Get:7 http://us.archive.ubuntu.com precise Release.gpg [198 B]
Get:8 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:9 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
Get:10 http://security.ubuntu.com precise-security/main i386 Packages [354 kB]
Get:11 http://us.archive.ubuntu.com precise Release [49.6 kB]
Get:12 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Get:13 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Get:14 http://security.ubuntu.com precise-security/universe i386 Packages [88.4 kB]
Get:15 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,640 B]
Get:16 http://us.archive.ubuntu.com precise-backports Release [49.6 kB]
Get:17 http://security.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:18 http://security.ubuntu.com precise-security/multiverse TranslationIndex [72 B]
Get:19 http://security.ubuntu.com precise-security/restricted TranslationIndex [72 B]
Get:20 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Get:21 http://us.archive.ubuntu.com precise/main Sources [934 kB]
Get:22 http://security.ubuntu.com precise-security/main Translation-en [159 kB]
Get:23 http://security.ubuntu.com precise-security/multiverse Translation-en [1,299 B]
Get:24 http://security.ubuntu.com precise-security/restricted Translation-en [1,253 B]
Get:25 http://security.ubuntu.com precise-security/universe Translation-en [53.8 kB]
Get:26 http://us.archive.ubuntu.com precise/restricted Sources [5,470 B]
Get:27 http://us.archive.ubuntu.com precise/universe Sources [5,019 kB]
Get:28 http://us.archive.ubuntu.com precise/multiverse Sources [155 kB]
Get:29 http://us.archive.ubuntu.com precise/main i386 Packages [1,274 kB]
Get:30 http://us.archive.ubuntu.com precise/restricted i386 Packages [8,431 B]
Get:31 http://us.archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
Get:32 http://us.archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Get:33 http://us.archive.ubuntu.com precise/main TranslationIndex [3,706 B]
Get:34 http://us.archive.ubuntu.com precise/multiverse TranslationIndex [2,676 B]
Get:35 http://us.archive.ubuntu.com precise/restricted TranslationIndex [2,596 B]
Get:36 http://us.archive.ubuntu.com precise/universe TranslationIndex [2,922 B]
Get:37 http://us.archive.ubuntu.com precise-updates/main Sources [424 kB]
Get:38 http://us.archive.ubuntu.com precise-updates/restricted Sources [7,006 B]
Get:39 http://us.archive.ubuntu.com precise-updates/universe Sources [99.2 kB]
Get:40 http://us.archive.ubuntu.com precise-updates/multiverse Sources [8,354 B]
Get:41 http://us.archive.ubuntu.com precise-updates/main i386 Packages [723 kB]
Get:42 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [11.4 kB]
Get:43 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [225 kB]
Get:44 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [14.2 kB]
Get:45 http://us.archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
Get:46 http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex [2,605 B]
Get:47 http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex [2,461 B]
Get:48 http://us.archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
Get:49 http://us.archive.ubuntu.com precise-backports/main Sources [4,233 B]
Get:50 http://us.archive.ubuntu.com precise-backports/restricted Sources [14 B]
Get:51 http://us.archive.ubuntu.com precise-backports/universe Sources [36.1 kB]
Get:52 http://us.archive.ubuntu.com precise-backports/multiverse Sources [5,311 B]
Get:53 http://us.archive.ubuntu.com precise-backports/main i386 Packages [2,838 B]
Get:54 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:55 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [36.7 kB]
Get:56 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [5,178 B]
Get:57 http://us.archive.ubuntu.com precise-backports/main TranslationIndex [72 B]
Get:58 http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex [72 B]
Get:59 http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex [70 B]
Get:60 http://us.archive.ubuntu.com precise-backports/universe TranslationIndex [73 B]
Get:61 http://us.archive.ubuntu.com precise/main Translation-en [726 kB]
Get:62 http://us.archive.ubuntu.com precise/multiverse Translation-en [93.4 kB]
Get:63 http://us.archive.ubuntu.com precise/restricted Translation-en [2,395 B]
Get:64 http://us.archive.ubuntu.com precise/universe Translation-en [3,341 kB]
Get:65 http://us.archive.ubuntu.com precise-updates/main Translation-en [317 kB]
Get:66 http://us.archive.ubuntu.com precise-updates/multiverse Translation-en [8,136 B]
Get:67 http://us.archive.ubuntu.com precise-updates/restricted Translation-en [2,637 B]
Get:68 http://us.archive.ubuntu.com precise-updates/universe Translation-en [129 kB]
Get:69 http://us.archive.ubuntu.com precise-backports/main Translation-en [2,072 B]
Get:70 http://us.archive.ubuntu.com precise-backports/multiverse Translation-en [4,610 B]
Get:71 http://us.archive.ubuntu.com precise-backports/restricted Translation-en [14 B]
Get:72 http://us.archive.ubuntu.com precise-backports/universe Translation-en [26.9 kB]
Fetched 19.6 MB in 1min 21s (242 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
dpkg-dev fakeroot g++ g++-4.6 git git-man libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-ares2 libdpkg-perl
liberror-perl libev4 libicu48 libstdc++6-4.6-dev libv8-3.7.12.22 make patch
python-pycurl unattended-upgrades
Suggested packages:
debian-keyring g++-multilib g++-4.6-multilib gcc-4.6-doc libstdc++6-4.6-dbg
git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn
git-email git-gui gitk gitweb libstdc++6-4.6-doc make-doc diffutils-doc
libcurl4-gnutls-dev python-pycurl-dbg bsd-mailx
The following NEW packages will be installed:
build-essential dpkg-dev fakeroot g++ g++-4.6 git git-core git-man
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libc-ares2 libdpkg-perl liberror-perl libev4 libicu48 libstdc++6-4.6-dev
libv8-3.7.12.22 make nodejs patch python-pycurl python-software-properties
unattended-upgrades
0 upgraded, 24 newly installed, 0 to remove and 155 not upgraded.
Need to get 26.5 MB of archives.
After this operation, 72.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? Abort.
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libgpm2 libpython2.7 python2.7 python2.7-minimal vim-common vim-runtime
vim-tiny
Suggested packages:
gpm python2.7-doc binfmt-support ctags vim-doc vim-scripts indent
The following NEW packages will be installed:
libgpm2 libpython2.7 vim vim-runtime
The following packages will be upgraded:
python2.7 python2.7-minimal vim-common vim-tiny
4 upgraded, 4 newly installed, 0 to remove and 151 not upgraded.
Need to get 13.2 MB of archives.
After this operation, 27.8 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main libgpm2 i386 1.20.4-4 [16.9 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7 i386 2.7.3-0ubuntu3.4 [2,647 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-minimal i386 2.7.3-0ubuntu3.4 [1,690 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main vim-tiny i386 2:7.3.429-2ubuntu2.1 [380 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main vim-common i386 2:7.3.429-2ubuntu2.1 [85.8 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libpython2.7 i386 2.7.3-0ubuntu3.4 [1,148 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main vim-runtime all 2:7.3.429-2ubuntu2.1 [6,277 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main vim i386 2:7.3.429-2ubuntu2.1 [979 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 13.2 MB in 49s (270 kB/s)
Selecting previously unselected package libgpm2.
(Reading database ... 29361 files and directories currently installed.)
Unpacking libgpm2 (from .../libgpm2_1.20.4-4_i386.deb) ...
Preparing to replace python2.7 2.7.3-0ubuntu3 (using .../python2.7_2.7.3-0ubuntu3.4_i386.deb) ...
Unpacking replacement python2.7 ...
Preparing to replace python2.7-minimal 2.7.3-0ubuntu3 (using .../python2.7-minimal_2.7.3-0ubuntu3.4_i386.deb) ...
Unpacking replacement python2.7-minimal ...
Processing triggers for man-db ...
Setting up python2.7-minimal (2.7.3-0ubuntu3.4) ...
(Reading database ... 29364 files and directories currently installed.)
Preparing to replace vim-tiny 2:7.3.429-2ubuntu2 (using .../vim-tiny_2%3a7.3.429-2ubuntu2.1_i386.deb) ...
Unpacking replacement vim-tiny ...
Preparing to replace vim-common 2:7.3.429-2ubuntu2 (using .../vim-common_2%3a7.3.429-2ubuntu2.1_i386.deb) ...
Unpacking replacement vim-common ...
Selecting previously unselected package libpython2.7.
Unpacking libpython2.7 (from .../libpython2.7_2.7.3-0ubuntu3.4_i386.deb) ...
Selecting previously unselected package vim-runtime.
Unpacking vim-runtime (from .../vim-runtime_2%3a7.3.429-2ubuntu2.1_all.deb) ...
Adding 'diversion of /usr/share/vim/vim73/doc/help.txt to /usr/share/vim/vim73/doc/help.txt.vim-tiny by vim-runtime'
Adding 'diversion of /usr/share/vim/vim73/doc/tags to /usr/share/vim/vim73/doc/tags.vim-tiny by vim-runtime'
Selecting previously unselected package vim.
Unpacking vim (from .../vim_2%3a7.3.429-2ubuntu2.1_i386.deb) ...
Processing triggers for man-db ...
Setting up libgpm2 (1.20.4-4) ...
Setting up python2.7 (2.7.3-0ubuntu3.4) ...
Setting up vim-common (2:7.3.429-2ubuntu2.1) ...
Setting up vim-tiny (2:7.3.429-2ubuntu2.1) ...
Setting up libpython2.7 (2.7.3-0ubuntu3.4) ...
Setting up vim-runtime (2:7.3.429-2ubuntu2.1) ...
Processing /usr/share/vim/addons/doc
Setting up vim (2:7.3.429-2ubuntu2.1) ...
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode.
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode.
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode.
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode.
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode.
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode.
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
I am running Vagrant 1.3.5 and VirtualBox 4.3.2 r90405 on Mac OSX Mavericks. I downgrade VirtualBox to 4.2.18 (I will change to 4.2.0) and installed vagrant-vbguest
vagrant plugin install vagrant-vbguest
Then I run this command.
$sudo /Library/StartupItems/VirtualBox/VirtualBox restart
Found at vagrant 'hostonlyif' create not working
I added -y to apt-get
apt-get update
apt-get -y install build-essential git-core python-software-properties nodejs
apt-get -y install vim
Then it installed all.

Cloudera Hadoop - install error

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.

Errors while trying to perform Single Node Cloud Foundry VCAP Deployment

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

Resources