[Android] VnnAmed:
Hi I'm trying to follow this excellent guide (this is just what I dreamed of) on Ubuntu 14.04. I get some issues:

marlab@u14:~$ wget https://launchpad.net/~webupd8team/+archive/ubuntu/java/+files/oracle-java6-installer_6u45-0%7Ewebupd8%7E8_all.deb sudo dpkg -i oracle-java6-installer_6u45-0~webupd8~8_all.deb wget https://launchpad.net/~webupd8team/+archive/ubuntu/java/+files/oracle-java6-set-default_6u45-0%7Ewebupd8%7E8_all.deb sudo dpkg -i oracle-java6-set-default_6u45-0~webupd8~8_all.deb
--2014-07-24 13:04:20-- https://launchpad.net/~webupd8team/+archive/ubuntu/java/+files/oracle-java6-installer_6u45-0%7Ewebupd8%7E8_all.deb
Resolving launchpad.net (launchpad.net)... 91.189.89.223, 91.189.89.222
Connecting to launchpad.net (launchpad.net)|91.189.89.223|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://launchpadlibrarian.net/174682423/oracle-java6-installer_6u45-0%7Ewebupd8%7E8_all.deb [following]
--2014-07-24 13:04:20-- https://launchpadlibrarian.net/174682423/oracle-java6-installer_6u45-0%7Ewebupd8%7E8_all.deb
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.228, 91.189.89.229
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20982 (20K) [application/x-debian-package]
Saving to: ‘oracle-java6-installer_6u45-0~webupd8~8_all.deb.2’

100%[======================================>] 20.982 --.-K/s in 0,04s

2014-07-24 13:04:20 (484 KB/s) - ‘oracle-java6-installer_6u45-0~webupd8~8_all.deb.2’ saved [20982/20982]

--2014-07-24 13:04:20-- http://sudo/
Resolving sudo (sudo)... failed: Name or service not known.
wget: unable to resolve host address ‘sudo’
--2014-07-24 13:04:21-- http://dpkg/
Resolving dpkg (dpkg)... failed: Name or service not known.
wget: unable to resolve host address ‘dpkg’
--2014-07-24 13:04:21-- http://wget/
Resolving wget (wget)... failed: Name or service not known.
wget: unable to resolve host address ‘wget’
--2014-07-24 13:04:21-- https://launchpad.net/~webupd8team/+archive/ubuntu/java/+files/oracle-java6-set-default_6u45-0%7Ewebupd8%7E8_all.deb
Connecting to launchpad.net (launchpad.net)|91.189.89.223|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://launchpadlibrarian.net/174682424/oracle-java6-set-default_6u45-0%7Ewebupd8%7E8_all.deb [following]
--2014-07-24 13:04:21-- https://launchpadlibrarian.net/174682424/oracle-java6-set-default_6u45-0%7Ewebupd8%7E8_all.deb
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2164 (2,1K) [application/x-debian-package]
Saving to: ‘oracle-java6-set-default_6u45-0~webupd8~8_all.deb.2’

100%[======================================>] 2.164 --.-K/s in 0,002s

2014-07-24 13:04:21 (1,10 MB/s) - ‘oracle-java6-set-default_6u45-0~webupd8~8_all.deb.2’ saved [2164/2164]

--2014-07-24 13:04:21-- http://sudo/
Resolving sudo (sudo)... failed: Name or service not known.
wget: unable to resolve host address ‘sudo’
--2014-07-24 13:04:21-- http://dpkg/
Resolving dpkg (dpkg)... failed: Name or service not known.
wget: unable to resolve host address ‘dpkg’
--2014-07-24 13:04:21-- http://!%3Carch%3E/
Resolving !<arch> (!<arch>)... failed: Name or service not known.
wget: unable to resolve host address ‘!<arch>’
--2014-07-24 13:04:21-- http://debian-binary%20%20%201399372320%20%200%20%20%20%20%200%20%20%20%20%20100644%20%204%20%20%20%20%20%20%20%20%20%60/
Resolving debian-binary 1399372320 0 0 100644 4 ` (debian-binary 1399372320 0 0 100644 4 `)... failed: Name or service not known.
wget: unable to resolve host address ‘debian-binary 1399372320 0 0 100644 4 `’
--2014-07-24 13:04:21-- http://2.0/
Resolving 2.0 (2.0)... 2.0.0.0
Connecting to 2.0 (2.0)|2.0.0.0|:80...

And it hangs there.I tried installing Java another way though. This is what -versio returns:

marlab@u14:~$ java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
marlab@u14:~$

No when I try to install required Tools it saus that most of them allready in newest version installed but:

The following packages have unmet dependencies:
build-essential : Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.