yo !
voila le contenu de mon sources.list :
[size=85][size=85]deb cdrom:[Debian GNU/Linux 4.0 r3 Etch - Official i386 CD Binary-1 20080217-11:50]/ etch contrib main
deb ftp.fr.debian.org/debian/ etch main
deb-src ftp.fr.debian.org/debian/ etch main
deb security.debian.org/ etch/updates main contrib
deb-src security.debian.org/ etch/updates main contrib
deb debian-multimedia.org etch main[/size]
Je viens d’essayer de rajouter :
[size=85]deb ftp.fr.debian.org/debian/ etch main contrib non-free
deb-src ftp.fr.debian.org/debian/ etch main contrib non-free
deb ftp.ens-cachan.fr/ftp/debian-volatile etch/volatile main contrib non-free
deb-src ftp.ens-cachan.fr/ftp/debian-volatile etch/volatile main contrib non-free[/size]
Comme indiqué dans le topic et quand je lance un apt-cache policy j’obtiens :
Fichiers du paquet :
100 /var/lib/dpkg/status
release a=now
500 debian-multimedia.org etch/main Packages
release o=Unofficial Multimedia Packages,a=stable,l=Unofficial Multimedia P
ackages,c=main
origin debian-multimedia.org
500 security.debian.org etch/updates/contrib Packages
release v=4.0,o=Debian,a=stable,l=Debian-Security,c=contrib
origin security.debian.org
500 security.debian.org etch/updates/main Packages
release v=4.0,o=Debian,a=stable,l=Debian-Security,c=main
origin security.debian.org
500 ftp.fr.debian.org etch/main Packages
release v=4.0r3,o=Debian,a=stable,l=Debian,c=main
origin ftp.fr.debian.org
500 cdrom://[Debian GNU/Linux 4.0 r3 Etch - Official i386 CD Binary-1 2008021
7-11:50] etch/main Packages
origin Debian GNU/Linux 4.0 r3 Etch - Official i386 CD Binary-1 20080217-
11:50
500 cdrom://[Debian GNU/Linux 4.0 r3 Etch - Official i386 CD Binary-1 2008021 7-11:50] etch/contrib Packages
origin Debian GNU/Linux 4.0 r3 Etch - Official i386 CD Binary-1 20080217- 11:50
Paquets étiquetés :
W: Impossible de localiser la liste des paquets sources ftp.fr.debian.org etch/contrib Packages (/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_etch_c ontrib_binary-i386_Packages) - stat (2 Aucun fichier ou répertoire de ce type)
W: Impossible de localiser la liste des paquets sources ftp.fr.debian.org etch/non-free Packages (/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_etch_ non-free_binary-i386_Packages) - stat (2 Aucun fichier ou répertoire de ce type)
W: Impossible de localiser la liste des paquets sources ftp.ens-cachan.fr etch/volatile/main Packages (/var/lib/apt/lists/ftp.ens-cachan.fr_ftp_debian-vo latile_dists_etch_volatile_main_binary-i386_Packages) - stat (2 Aucun fichier ou répertoire de ce type)
W: Impossible de localiser la liste des paquets sources ftp.ens-cachan.fr etch/volatile/contrib Packages (/var/lib/apt/lists/ftp.ens-cachan.fr_ftp_debian -volatile_dists_etch_volatile_contrib_binary-i386_Packages) - stat (2 Aucun fichier ou répertoire de ce type)
W: Impossible de localiser la liste des paquets sources ftp.ens-cachan.fr etch/volatile/non-free Packages (/var/lib/apt/lists/ftp.ens-cachan.fr_ftp_debia n-volatile_dists_etch_volatile_non-free_binary-i386_Packages) - stat (2 Aucun fichier ou répertoire de ce type)[/size]
j’ai donc gardé le précédent.
En ce qui concerne java-common, il n’était effectivement pas installé, je l’ai installé et lancé et voila ce qu’il me donne :
[size=85]UPDATE-JAVA-ALTERNATIVES(8)
NAME
update-java-alternatives - update alternatives for jre/sdk installations
SYNOPSIS
update-java-alternatives [–jre] [–plugin] [-t|–test|-v|–verbose]
-l|–list []
-s|–set
-a|–auto
-h|-?|–help
DESCRIPTION
update-java-alternatives updates all alternatives belonging to one runtime or development kit for the Java
language. A package does provide these information of it’s alternatives in /usr/lib/jvm/..jinfo.
OPTIONS
-l|–list []
List all installed packages (or just ) providing information to set a bunch of java alterna‐
tives. Verbose output shows each alternative provided by the packages.
-a|--auto
Switch all alternatives of registered jre/sdk installations to automatic mode.
-s|--set <jname>
Set all alternatives of the registered jre/sdk installation to the program path provided by the
<jname> installation.
--jre Limit the actions to alternatives belong to a runtime environment, not a development kit.
--plugins
Limit the actions to alternatives providing browser plugins.
-h|--help
Display a help message.
-t|--test
Don’t actually do anything, just say what would be done. The implementation status of this option is the same as for update-alternatives (not implemented).
-v|--verbose
Verbose output.
FILES
/usr/lib/jvm/.*.jinfo
A text file describing a jre/sdk installation. Consists of some variables of the form =
and a list of alternatives of the form jre|jdk .
AUTHOR
update-java-alternatives and this manual page was written by Matthias Klose doko@ubuntu.com.[/size]
Ouah !, j’ai fait un man update-java-alternatives -h et il ya qques options mais honnêtement je ne sais pas quoi en faire.
Je vais essayer un man update-java-alternatives --set /usr/lib/gcj-4.1/libjvm.so
man: option non reconnue « --set »…
ou
debian:/home/alain# man update-java-alternatives -s| --set /usr/lib/gcj-4.1/libjvm.so
bash: --set: command not found
man: option invalide -- s
Bon…je suis à cours d’idées.