Code: Select all
apt-get install openjdk-6-jdk
E: Couldn't find package openjdk-6-jdk
What do I have to do to install development program to do some programmng in java?
Code: Select all
apt-get install openjdk-6-jdk
Code: Select all
change_distribution -unc elvin
Code: Select all
E: Couldn't find package openjdk-6-jdk
Code: Select all
apt-cache search java
Code: Select all
W: Couldn't stat source package list http://ftp.se.debian.org etch/main Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_main_binary-powerpc_Packages) - stat (2 No such file or directory)
Code: Select all
change_distribution -sunc elvin
apt-get update
Code: Select all
apt-get install openjdk-6-jdk
Code: Select all
aptitude
Code: Select all
aptitude search java
Code: Select all
bubbatwo:/home/jan# change_distribution -sunc elvin
Distribution 'elvin' is not valid.
Usage:
change_distribution [options] distribution ...
Options:
--upstream, -u include upstream in sources.list
--source, -s include source packages in sources.list
--nonfree, -n include upstream non free sources
--contrib, -c include upstream contrib sources
--help, -h show brief help
--man, -m display manual
bubbatwo:/home/jan#
Code: Select all
bubbatwo:/home/jan# apt-get update
Get:1 http://update.excito.org marielle Release.gpg [189B]
Get:2 http://update.excito.org upstream_etch Release.gpg [189B]
Hit http://update.excito.org marielle Release
Hit http://update.excito.org upstream_etch Release
Ign http://update.excito.org marielle/main Packages/DiffIndex
Ign http://update.excito.org upstream_etch/main Packages/DiffIndex
Hit http://update.excito.org marielle/main Packages
Ign http://ftp.se.debian.org etch Release.gpg
Ign http://ftp.se.debian.org etch Release
Err http://ftp.se.debian.org etch/main Packages
404 Not Found [IP: 130.239.18.137 80]
Hit http://update.excito.org upstream_etch/main Packages
Fetched 2B in 1s (2B/s)
Failed to fetch http://ftp.se.debian.org/debian/dists/etch/main/binary-powerpc/Packages.gz 404 Not Found [IP: 130.239.18.137 80]
Reading package lists... Done
W: Couldn't stat source package list http://ftp.se.debian.org etch/main Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_main_binary-powerpc_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
bubbatwo:/home/jan#
Code: Select all
bubbatwo:/home/jan# aptitude search java
v java-compiler -
v java-runtime -
v java-virtual-machine -
v java1-runtime -
v java2-runtime -
v libdb-java -
v libdb-java-dev -
p libdb4.2-java - Berkeley v4.2 Database Libraries for Java
p libdb4.2-java-dev - Berkeley v4.2 Database Libraries for Java [development]
p libdb4.3-java - Berkeley v4.3 Database Libraries for Java
p libdb4.3-java-dev - Berkeley v4.3 Database Libraries for Java [development]
p libdb4.4-java - Berkeley v4.4 Database Libraries for Java
p libdb4.4-java-dev - Berkeley v4.4 Database Libraries for Java [development]
p libmozillainterfaces-java - XPCOM bindings for Java
p libsvn-java - Java bindings for Subversion
p libsvn-javahl - Java bindings for Subversion (dummy package)
p slice2java - Slice to Java translator
bubbatwo:/home/jan#
Code: Select all
bubbatwo:/home/jan# change_distribution -sunc marielle
bubbatwo:/home/jan#
Code: Select all
bubbatwo:/home/jan# apt-get update
Get:1 http://update.excito.org marielle Release.gpg [189B]
Ign http://ftp.se.debian.org etch Release.gpg
Get:2 http://update.excito.org upstream_etch Release.gpg [189B]
Ign http://ftp.se.debian.org etch Release
Hit http://update.excito.org marielle Release
Err http://ftp.se.debian.org etch/main Packages
404 Not Found [IP: 130.239.18.137 80]
Hit http://update.excito.org upstream_etch Release
Err http://ftp.se.debian.org etch/non-free Packages
404 Not Found [IP: 130.239.18.137 80]
Err http://ftp.se.debian.org etch/contrib Packages
404 Not Found [IP: 130.239.18.137 80]
Err http://ftp.se.debian.org etch/main Sources
404 Not Found [IP: 130.239.18.137 80]
Err http://ftp.se.debian.org etch/non-free Sources
404 Not Found [IP: 130.239.18.137 80]
Err http://ftp.se.debian.org etch/contrib Sources
404 Not Found [IP: 130.239.18.137 80]
Ign http://update.excito.org marielle/main Packages/DiffIndex
Get:3 http://update.excito.org marielle/main Sources [70.4kB]
Hit http://update.excito.org marielle/main Packages
Ign http://update.excito.org upstream_etch/main Packages/DiffIndex
Get:4 http://update.excito.org upstream_etch/main Sources [91.9kB]
Hit http://update.excito.org upstream_etch/main Packages
Fetched 162kB in 1s (158kB/s)
Failed to fetch http://ftp.se.debian.org/debian/dists/etch/main/binary-powerpc/Packages.gz 404 Not Found [IP: 130.239.18.137 80]
Failed to fetch http://ftp.se.debian.org/debian/dists/etch/non-free/binary-powerpc/Packages.gz 404 Not Found [IP: 130.239.18.137 80]
Failed to fetch http://ftp.se.debian.org/debian/dists/etch/contrib/binary-powerpc/Packages.gz 404 Not Found [IP: 130.239.18.137 80]
Failed to fetch http://ftp.se.debian.org/debian/dists/etch/main/source/Sources.gz 404 Not Found [IP: 130.239.18.137 80]
Failed to fetch http://ftp.se.debian.org/debian/dists/etch/non-free/source/Sources.gz 404 Not Found [IP: 130.239.18.137 80]
Failed to fetch http://ftp.se.debian.org/debian/dists/etch/contrib/source/Sources.gz 404 Not Found [IP: 130.239.18.137 80]
Reading package lists... Done
W: Couldn't stat source package list http://ftp.se.debian.org etch/main Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_main_binary-powerpc_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.se.debian.org etch/non-free Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_non-free_binary-powerpc_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.se.debian.org etch/contrib Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_contrib_binary-powerpc_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
Code: Select all
bubbatwo:/home/jan# apt-get install openjdk-6-jdk
Reading package lists... Done
Building dependency tree... Done
W: Couldn't stat source package list http://ftp.se.debian.org etch/main Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_main_binary-powerpc_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.se.debian.org etch/non-free Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_non-free_binary-powerpc_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.se.debian.org etch/contrib Packages (/var/lib/apt/lists/ftp.se.debian.org_debian_dists_etch_contrib_binary-powerpc_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package openjdk-6-jdk
bubbatwo:/home/jan#
Code: Select all
bubbatwo:/home/jan# aptitude search java
v java-compiler -
v java-runtime -
v java-virtual-machine -
v java1-runtime -
v java2-runtime -
v libdb-java -
v libdb-java-dev -
p libdb4.2-java - Berkeley v4.2 Database Libraries for Java
p libdb4.2-java-dev - Berkeley v4.2 Database Libraries for Java [develo
p libdb4.3-java - Berkeley v4.3 Database Libraries for Java
p libdb4.3-java-dev - Berkeley v4.3 Database Libraries for Java [develo
p libdb4.4-java - Berkeley v4.4 Database Libraries for Java
p libdb4.4-java-dev - Berkeley v4.4 Database Libraries for Java [develo
p libmozillainterfaces-java - XPCOM bindings for Java
p libsvn-java - Java bindings for Subversion
p libsvn-javahl - Java bindings for Subversion (dummy package)
p slice2java - Slice to Java translator
bubbatwo:/home/jan#
should have disappeared when doing an apt-get update.Err http://ftp.se.debian.org etch/main Packages
404 Not Found [IP: 130.239.18.137 80]
No, but you have to edit installers config file according to instructions.JanPihlgren wrote: As I understand your advice to do an upgrad will swip out all my data?