Wednesday, November 3, 2010

Trying to install Android on Ubuntu 8.10

I've got this link and trying to install Android on my Ubuntu 8.10. But I've got some errors:

Failed to fetch http://dl2.foss-id.web.id/ubuntu/pool/main/t/ttf-wqy-zenhei/ttf-wqy-zenhei_0.6.26-2ubuntu1_all.deb 404 Not Found
Failed to fetch http://dl2.foss-id.web.id/ubuntu/pool/main/o/openjdk-6/openjdk-6-jre-lib_6b12-0ubuntu6.7_all.deb 404 Not Found
Failed to fetch http://dl2.foss-id.web.id/ubuntu/pool/main/c/ca-certificates-java/ca-certificates-java_20080712ubuntu4_all.deb 404 Not Found
Failed to fetch http://dl2.foss-id.web.id/ubuntu/pool/main/t/tzdata/tzdata_2010h~repack-0ubuntu0.8.10_all.deb 404 Not Found
Failed to fetch http://dl2.foss-id.web.id/ubuntu/pool/main/t/tzdata/tzdata-java_2010h~repack-0ubuntu0.8.10_all.deb 404 Not Found
Failed to fetch http://dl2.foss-id.web.id/ubuntu/pool/main/r/rhino/rhino_1.7R1-1ubuntu3_all.deb 404 Not Found
Failed to fetch http://dl2.foss-id.web.id/ubuntu/pool/main/o/openjdk-6/openjdk-6-jre-headless_6b12-0ubuntu6.7_i386.deb 404 Not Found
Failed to fetch http://dl2.foss-id.web.id/ubuntu/pool/main/o/openjdk-6/openjdk-6-jre_6b12-0ubuntu6.7_i386.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


It means that my repo doesn't have those packages to be installed. Then I find another repo (http://ftp.csie.ncu.edu.tw/Linux/Ubuntu). I replace my old repo with this repo.

The next step is just follow these step:

1. root@abdusy-desktop:~/Documents# apt-get install openjdk-6-jre
If you find message like this:

Reading package lists... Done
Building dependency tree
Reading state information... Done
openjdk-6-jre is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
openjdk-6-jre-headless: Depends: ca-certificates-java but it is not installable
Depends: tzdata-java but it is not installable
Depends: rhino but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


2. Then run this step:
root@abdusy-desktop:~/Documents# apt-get -f install

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
ttf-wqy-zenhei comerr-dev ttf-kannada-fonts libboost-thread1.34.1 libaccess-bridge-java libkrb5-dev libboost-date-time1.34.1 libldap2-dev
ttf-telugu-fonts libswfdec-0.8-0 libkadm55 ttf-oriya-fonts ttf-bengali-fonts libidn11-dev
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 85.2MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 144470 files and directories currently installed.)
Removing openjdk-6-jre ...
Removing openjdk-6-jre-headless ...
Removing openjdk-6-jre-lib ...
Processing triggers for menu ..
.

It's done? No...We just begun for 1st step. The next steps is very clear in this link.

And you can download Android SDK from here.

1 comment:

vallygade said...

Harrah's Ak-Chin Casino - The JT Hub
Harrah's Ak-Chin 여주 출장안마 Casino in Hanover, Virginia. Phone: 전라북도 출장샵 +1 김해 출장마사지 800 858.78927. 제주 출장안마 Website:. www.harrahsakchin.com. 이천 출장샵 Address: 777 Harrah's Rincon Way Hanover,