Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 01/12/2016, à 19:42

moussacbb

Installation de openjdk-7-jre sur ubuntu 16.04 Impossible [RESOLU]

Bonjour,
j'essaye d'installer openjdk-7-jre sur ma machine ubuntu 16.04 LTS mais cela me renvoi une erreur.

sudo apt-get install openjdk-7-jre
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Aucune version du paquet openjdk-7-jre n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source

J'ai deja java 8 installer et par default, je voudrais donc jva 7 en plus.

java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
javac -version
Le programme « javac » peut être trouvé dans les paquets suivants :
 * default-jdk
 * ecj
 * gcj-5-jdk
 * openjdk-8-jdk-headless
 * gcj-4.8-jdk
 * gcj-4.9-jdk
 * openjdk-9-jdk-headless
Essayez : sudo apt install <paquet sélectionné>

pour info :

sudo dpkg -l | grep -Ei 'java|jdk|jre'
ii  ca-certificates-java                       20160321                                             all          Common CA certificates (JKS keystore)
ii  default-jre                                2:1.8-56ubuntu2                                      amd64        Standard Java or Java compatible Runtime
ii  default-jre-headless                       2:1.8-56ubuntu2                                      amd64        Standard Java or Java compatible Runtime (headless)
ii  fonts-mathjax                              2.6.1-1                                              all          JavaScript display engine for LaTeX and MathML (fonts)
ii  gir1.2-javascriptcoregtk-4.0:amd64         2.12.5-0ubuntu0.16.04.1                              amd64        JavaScript engine library from WebKitGTK+ - GObject introspection data
ii  java-common                                0.56ubuntu2                                          all          Base package for Java runtimes
ii  java-package                               0.61                                                 all          Utility for creating Java Debian packages
ii  javascript-common                          11                                                   all          Base support for JavaScript library packages
ii  jayatana                                   2.7-0ubuntu5                                         amd64        Java Native Library for ayatana project
ii  libjavascriptcoregtk-3.0-0:amd64           2.4.11-0ubuntu0.1                                    amd64        JavaScript engine library from WebKitGTK+
ii  libjavascriptcoregtk-4.0-18:amd64          2.12.5-0ubuntu0.16.04.1                              amd64        JavaScript engine library from WebKitGTK+
ii  libjs-jquery                               1.11.3+dfsg-4                                        all          JavaScript library for dynamic web applications
ii  libjs-jquery-ui                            1.10.1+dfsg-1                                        all          JavaScript UI library for dynamic web applications
ii  libjs-mathjax                              2.6.1-1                                              all          JavaScript display engine for LaTeX and MathML
ii  libjs-openlayers                           2.13.1+ds2-2                                         all          JavaScript library for displaying map data in web browsers
ii  libjs-sphinxdoc                            1.3.6-2ubuntu1                                       all          JavaScript support for Sphinx documentation
ii  libjs-underscore                           1.7.0~dfsg-1ubuntu1                                  all          JavaScript's functional programming helper library
ii  nodejs                                     6.9.1-1nodesource1~xenial1                           amd64        Node.js event-based server-side javascript engine
ii  openjdk-8-jre:amd64                        8u111-b14-2ubuntu0.16.04.2                           amd64        OpenJDK Java runtime, using Hotspot JIT
ii  openjdk-8-jre-headless:amd64               8u111-b14-2ubuntu0.16.04.2                           amd64        OpenJDK Java runtime, using Hotspot JIT (headless)
ii  oracle-java8-jre                           8u101                                                amd64        Java Platform, Standard Edition 8 Runtime Environment

et

sudo apt-cache show java-common
Package: java-common
Priority: optional
Section: misc
Installed-Size: 35
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Architecture: all
Version: 0.56ubuntu2
Suggests: default-jre
Filename: pool/main/j/java-common/java-common_0.56ubuntu2_all.deb
Size: 7742
MD5sum: cef7383c2628cc09bccbf0777e4eac37
SHA1: cfe903532291b7d44d27768ca647ea3d46213f2d
SHA256: 530459a23c8c4b151f7978d245d512056256c1ac78cb5197642277b0a9829900
Description-en: Base package for Java runtimes
 This package provides common tools for the Java runtimes, such as
 the update-java-alternatives mechanism used to switch between
 different versions of Java.
Description-md5: 331c38b4382151ea9451e0a4ee764de7
Multi-Arch: foreign
Homepage: https://wiki.debian.org/Java/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-usb, tomcat-server, kubuntu-desktop, kubuntu-full, edubuntu-usb, ubuntu-mate-desktop

J'ai essayer plusieurs solution mais rien n'y fait.

cd /var/lib/apt/
sudo mv lists.old lists
sudo mkdir -p lists/partial
sudo apt-get update
Réception de:1 http://ppa.launchpad.net/diodon-team/stable/ubuntu xenial InRelease [17,5 kB]
Réception de:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                                                           
Ign:3 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ InRelease                                                     
Réception de:4 http://fr.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]                                                                  
Réception de:5 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu xenial InRelease [18,1 kB]                                            
Réception de:6 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release [983 B]                                      
Réception de:7 http://repo.steampowered.com/steam precise InRelease [2 842 B]                                                                 
Réception de:8 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release.gpg [481 B]                                  
Réception de:9 http://ppa.launchpad.net/nerdherd/cloud/ubuntu xenial InRelease [17,6 kB]                                                      
Réception de:10 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease [23,9 kB]                                                
Réception de:11 http://ppa.launchpad.net/pipelight/stable/ubuntu xenial InRelease [17,5 kB]                                          
Ign:12 https://dl.google.com/linux/chrome/deb stable InRelease                                                                      
Réception de:13 https://apt.dockerproject.org/repo ubuntu-xenial InRelease [30,2 kB]                                                 
Réception de:14 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease [17,6 kB]                                                    
Réception de:15 https://deb.nodesource.com/node_6.x xenial InRelease [3 914 B]                                                                
Réception de:16 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]                                                         
Réception de:17 https://dl.google.com/linux/chrome/deb stable Release [1 189 B]                                                               
Réception de:18 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease [17,6 kB]                                         
Réception de:19 https://dl.google.com/linux/chrome/deb stable Release.gpg [916 B]                                                             
Réception de:20 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial InRelease [18,1 kB]                                                   
Réception de:21 https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease [3 651 B]                                                      
Réception de:22 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [181 kB]                                                
Réception de:23 http://ppa.launchpad.net/diodon-team/stable/ubuntu xenial/main amd64 Packages [1 344 B]                                       
Réception de:24 http://ppa.launchpad.net/diodon-team/stable/ubuntu xenial/main i386 Packages [1 340 B]                                        
Réception de:25 http://ppa.launchpad.net/diodon-team/stable/ubuntu xenial/main Translation-en [812 B]                                         
Réception de:26 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]                                                       
Réception de:27 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu xenial/main amd64 Packages [4 620 B]                                 
Réception de:28 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu xenial/main i386 Packages [4 624 B]                                  
Réception de:29 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu xenial/main Translation-en [1 884 B]                                 
Réception de:30 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Packages [764 B]                                    
Réception de:31 http://ppa.launchpad.net/nerdherd/cloud/ubuntu xenial/main amd64 Packages [1 417 B]                                           
Réception de:32 http://repo.steampowered.com/steam precise/steam Sources [550 B]                                                              
Réception de:33 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [176 kB]                                                 
Réception de:34 http://ppa.launchpad.net/nerdherd/cloud/ubuntu xenial/main i386 Packages [1 267 B]                                            
Réception de:35 http://ppa.launchpad.net/nerdherd/cloud/ubuntu xenial/main Translation-en [1 437 B]                                           
Réception de:36 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 Packages [45,8 kB]                                               
Réception de:37 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main i386 Packages [45,9 kB]                                                
Réception de:38 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [73,3 kB]                                               
Réception de:39 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1 201 kB]                                                     
Réception de:40 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main Translation-en [25,2 kB]                                               
Réception de:41 http://repo.steampowered.com/steam precise/steam amd64 Packages [601 B]                                                       
Réception de:42 http://ppa.launchpad.net/pipelight/stable/ubuntu xenial/main amd64 Packages [2 952 B]                                         
Réception de:43 http://ppa.launchpad.net/pipelight/stable/ubuntu xenial/main i386 Packages [2 948 B]                                          
Réception de:44 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [68,0 kB]                                        
Réception de:45 http://ppa.launchpad.net/pipelight/stable/ubuntu xenial/main Translation-en [1 348 B]                                         
Réception de:46 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [48,0 kB]                                           
Réception de:47 https://deb.nodesource.com/node_6.x xenial/main Sources [765 B]                                                               
Réception de:48 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial/main amd64 Packages [2 008 B]                                          
Réception de:49 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial/main i386 Packages [1 989 B]                                           
Réception de:50 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial/main Translation-en [966 B]                                            
Réception de:51 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [6 576 B]                                         
Réception de:52 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [6 528 B]                                          
Réception de:53 http://repo.steampowered.com/steam precise/steam i386 Packages [799 B]                                                        
Réception de:54 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2 016 B]                                         
Réception de:55 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 DEP-11 Metadata [200 B]                                    
Réception de:56 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [64,0 kB]                                           
Réception de:57 https://apt.dockerproject.org/repo ubuntu-xenial/main amd64 Packages [2 553 B]                                                
Réception de:58 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial/main amd64 Packages [532 B]                                 
Réception de:59 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [61,8 kB]                                            
Réception de:60 https://deb.nodesource.com/node_6.x xenial/main amd64 Packages [960 B]                                                        
Réception de:61 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial/main i386 Packages [532 B]                                  
Réception de:62 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial/main Translation-en [276 B]                                 
Réception de:63 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [34,4 kB]                                           
Réception de:64 https://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1 445 B]                                                   
Réception de:65 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial/main amd64 Packages [2 440 B]                                         
Réception de:66 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [19,4 kB]                                    
Réception de:67 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [25,6 kB]                                       
Réception de:68 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [2 764 B]                                         
Réception de:69 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [2 928 B]                                          
Réception de:70 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1 124 B]                                         
Réception de:71 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [208 B]                                    
Réception de:72 http://security.ubuntu.com/ubuntu xenial-security/multiverse DEP-11 64x64 Icons [29 B]                                        
Réception de:73 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial/main i386 Packages [2 396 B]                                          
Réception de:74 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial/main Translation-en [980 B]         
Réception de:75 https://deb.nodesource.com/node_6.x xenial/main i386 Packages [959 B]                      
Réception de:76 https://download.01.org/gfx/ubuntu/16.04/main xenial/main amd64 Packages [14,9 kB]      
Réception de:77 http://fr.archive.ubuntu.com/ubuntu xenial/main i386 Packages [1 196 kB]                                      
Réception de:78 https://download.01.org/gfx/ubuntu/16.04/main xenial/main i386 Packages [14,7 kB]
Réception de:79 http://fr.archive.ubuntu.com/ubuntu xenial/main Translation-fr [597 kB]               
Réception de:80 http://fr.archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB]                
Réception de:81 http://archive.canonical.com/ubuntu xenial InRelease [11,5 kB]                                             
Réception de:82 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 DEP-11 Metadata [733 kB]
Réception de:83 http://archive.canonical.com/ubuntu xenial/partner amd64 Packages [2 708 B]                
Réception de:84 http://archive.canonical.com/ubuntu xenial/partner i386 Packages [3 016 B]                 
Réception de:85 http://archive.canonical.com/ubuntu xenial/partner Translation-en [1 424 B]
Réception de:86 http://fr.archive.ubuntu.com/ubuntu xenial/main DEP-11 64x64 Icons [409 kB]                                                   
Réception de:87 http://fr.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [8 344 B]                                                
Réception de:88 http://fr.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages [8 684 B]                                                 
Réception de:89 http://fr.archive.ubuntu.com/ubuntu xenial/restricted Translation-fr [2 824 B]                                                
Réception de:90 http://fr.archive.ubuntu.com/ubuntu xenial/restricted Translation-en [2 908 B]                                                
Réception de:91 http://fr.archive.ubuntu.com/ubuntu xenial/restricted amd64 DEP-11 Metadata [186 B]                                           
Réception de:92 http://fr.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7 532 kB]                                                 
Réception de:93 http://fr.archive.ubuntu.com/ubuntu xenial/universe i386 Packages [7 512 kB]                                                  
Réception de:94 http://fr.archive.ubuntu.com/ubuntu xenial/universe Translation-fr [2 524 kB]                                                 
Réception de:95 http://fr.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4 354 kB]                                                 
Réception de:96 http://fr.archive.ubuntu.com/ubuntu xenial/universe amd64 DEP-11 Metadata [3 410 kB]                                          
Réception de:97 http://fr.archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 Icons [7 448 kB]                                             
Réception de:98 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]                                                 
Réception de:99 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages [140 kB]                                                  
Réception de:100 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse Translation-fr [105 kB]                                                
Réception de:101 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]                                                
Réception de:102 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse amd64 DEP-11 Metadata [63,8 kB]                                        
Réception de:103 http://fr.archive.ubuntu.com/ubuntu xenial/multiverse DEP-11 64x64 Icons [230 kB]                                            
Réception de:104 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [429 kB]                                              
Réception de:105 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [423 kB]                                               
Réception de:106 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [166 kB]                                              
Réception de:107 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [293 kB]                                       
Réception de:108 http://fr.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [176 kB]                                          
Réception de:109 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [6 576 B]                                       
Réception de:110 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [6 528 B]                                        
Réception de:111 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2 016 B]                                       
Réception de:112 http://fr.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B]                                  
Réception de:113 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [366 kB]                                          
Réception de:114 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [362 kB]                                           
Réception de:115 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [132 kB]                                          
Réception de:116 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [121 kB]                                   
Réception de:117 http://fr.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [145 kB]                                      
Réception de:118 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [7 384 B]                                       
Réception de:119 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [6 172 B]                                        
Réception de:120 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [2 988 B]                                       
Réception de:121 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2 516 B]                                
Réception de:122 http://fr.archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [7 765 B]                                   
Réception de:123 http://fr.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4 392 B]                                           
Réception de:124 http://fr.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages [4 400 B]                                            
Réception de:125 http://fr.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [3 104 B]                                           
Réception de:126 http://fr.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [208 B]                                      
Réception de:127 http://fr.archive.ubuntu.com/ubuntu xenial-backports/main DEP-11 64x64 Icons [29 B]                                          
Réception de:128 http://fr.archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 DEP-11 Metadata [194 B]                                
Réception de:129 http://fr.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [2 412 B]                                       
Réception de:130 http://fr.archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [2 412 B]                                        
Réception de:131 http://fr.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [1 216 B]                                       
Réception de:132 http://fr.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [212 B]                                  
Réception de:133 http://fr.archive.ubuntu.com/ubuntu xenial-backports/universe DEP-11 64x64 Icons [29 B]                                      
Réception de:134 http://fr.archive.ubuntu.com/ubuntu xenial-backports/multiverse amd64 DEP-11 Metadata [212 B]                                
Réception de:135 http://fr.archive.ubuntu.com/ubuntu xenial-backports/multiverse DEP-11 64x64 Icons [29 B]                                    
42,7 Mo réceptionnés en 48s (873 ko/s)                                                                                                        
AppStream cache update completed, but some metadata was ignored due to errors.
Lecture des listes de paquets... Fait
W: https://download.01.org/gfx/ubuntu/16.04/main/dists/xenial/InRelease: Signature by key 09D6EF97BFB38E916EF060E756A3DEF863961D39 uses weak digest algorithm (SHA1)
sudo apt-get install openjdk-7-jre
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Aucune version du paquet openjdk-7-jre n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source

E: Le paquet « openjdk-7-jre » n'a pas de version susceptible d'être installée

J'ai corriger le probleme du "AppStream cache update completed, but some metadata was ignored due to errors." en faisant ceci :

  • sudo apt-get clean

    aucun retour
  • sudo apt-get autoclean

    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances       
    Lecture des informations d'état... Fait
  • sudo apt-get autoremove --purge

    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances       
    Lecture des informations d'état... Fait
    0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
  • sudo apt-get update

    Atteint:1 http://repo.steampowered.com/steam precise InRelease
    Atteint:2 http://fr.archive.ubuntu.com/ubuntu xenial InRelease                                                                            
    Réception de:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                                                       
    Atteint:4 http://archive.canonical.com/ubuntu xenial InRelease                                                                                
    Atteint:5 http://ppa.launchpad.net/diodon-team/stable/ubuntu xenial InRelease                                                                 
    Atteint:6 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                              
    Atteint:7 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease                                                                      
    Atteint:8 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu xenial InRelease                                                           
    Atteint:9 http://ppa.launchpad.net/nerdherd/cloud/ubuntu xenial InRelease                                                                     
    Atteint:10 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease                                                                        
    Ign:11 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ InRelease                                                    
    Atteint:12 http://ppa.launchpad.net/pipelight/stable/ubuntu xenial InRelease                    
    Atteint:13 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release                                      
    Atteint:14 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease                                                       
    Atteint:15 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease          
    Atteint:16 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial InRelease
    Atteint:17 https://deb.nodesource.com/node_6.x xenial InRelease
    Atteint:18 https://apt.dockerproject.org/repo ubuntu-xenial InRelease
    Ign:19 https://dl.google.com/linux/chrome/deb stable InRelease
    Atteint:20 https://dl.google.com/linux/chrome/deb stable Release
    Réception de:21 https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease [3 651 B]
    106 ko réceptionnés en 2s (43,8 ko/s)                          
    Lecture des listes de paquets... Fait
    W: https://download.01.org/gfx/ubuntu/16.04/main/dists/xenial/InRelease: Signature by key 09D6EF97BFB38E916EF060E756A3DEF863961D39 uses weak digest algorithm (SHA1)
  • sudo apt-get dist-upgrade

    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances       
    Lecture des informations d'état... Fait
    Calcul de la mise à jour... Fait
    0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
  • sudo apt-get update

    Atteint:1 http://fr.archive.ubuntu.com/ubuntu xenial InRelease
    Atteint:2 http://archive.canonical.com/ubuntu xenial InRelease                                                                                
    Atteint:3 http://ppa.launchpad.net/diodon-team/stable/ubuntu xenial InRelease                                                                 
    Réception de:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                                                           
    Atteint:5 http://repo.steampowered.com/steam precise InRelease                                                                                
    Atteint:6 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu xenial InRelease                                                           
    Ign:7 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ InRelease                                                     
    Atteint:8 http://ppa.launchpad.net/nerdherd/cloud/ubuntu xenial InRelease                                                                     
    Atteint:9 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release                                                   
    Atteint:10 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease                                                                        
    Atteint:11 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                           
    Atteint:12 http://ppa.launchpad.net/pipelight/stable/ubuntu xenial InRelease                                                      
    Atteint:13 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease                                                         
    Atteint:14 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease                                                       
    Atteint:15 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease          
    Atteint:16 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial InRelease                    
    Atteint:17 https://apt.dockerproject.org/repo ubuntu-xenial InRelease
    Ign:18 https://dl.google.com/linux/chrome/deb stable InRelease
    Atteint:19 https://deb.nodesource.com/node_6.x xenial InRelease
    Atteint:20 https://dl.google.com/linux/chrome/deb stable Release
    Réception de:21 https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease [3 651 B]
    106 ko réceptionnés en 2s (52,9 ko/s)                         
    Lecture des listes de paquets... Fait
    W: https://download.01.org/gfx/ubuntu/16.04/main/dists/xenial/InRelease: Signature by key 09D6EF97BFB38E916EF060E756A3DEF863961D39 uses weak digest algorithm (SHA1)
  • sudo apt-get -f install

    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances       
    Lecture des informations d'état... Fait
    0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
  • sudo apt update

    Atteint:1 http://fr.archive.ubuntu.com/ubuntu xenial InRelease
    Atteint:2 http://archive.canonical.com/ubuntu xenial InRelease                                                                                
    Réception de:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                                                           
    Atteint:4 http://ppa.launchpad.net/diodon-team/stable/ubuntu xenial InRelease                                                                 
    Atteint:5 http://repo.steampowered.com/steam precise InRelease                                                                                
    Atteint:6 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu xenial InRelease                                                           
    Ign:7 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ InRelease                                                     
    Atteint:8 http://fr.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                                        
    Atteint:9 http://ppa.launchpad.net/nerdherd/cloud/ubuntu xenial InRelease                                                                     
    Atteint:10 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release                                                  
    Atteint:11 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease                                                                        
    Atteint:12 http://ppa.launchpad.net/pipelight/stable/ubuntu xenial InRelease                                                                  
    Atteint:13 http://fr.archive.ubuntu.com/ubuntu xenial-backports InRelease                                                                     
    Atteint:14 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease                                                      
    Atteint:15 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease          
    Atteint:16 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial InRelease                    
    Atteint:17 https://deb.nodesource.com/node_6.x xenial InRelease
    Atteint:18 https://apt.dockerproject.org/repo ubuntu-xenial InRelease
    Ign:19 https://dl.google.com/linux/chrome/deb stable InRelease
    Atteint:20 https://dl.google.com/linux/chrome/deb stable Release
    Réception de:21 https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease [3 651 B]
    106 ko réceptionnés en 1s (57,1 ko/s)                           
    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances       
    Lecture des informations d'état... Fait
    All packages are up to date.
    W: https://download.01.org/gfx/ubuntu/16.04/main/dists/xenial/InRelease: Signature by key 09D6EF97BFB38E916EF060E756A3DEF863961D39 uses weak digest algorithm (SHA1)
  • sudo apt full-upgrade

    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances       
    Lecture des informations d'état... Fait
    Calcul de la mise à jour... Fait
    0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
  • sudo apt -f install

    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances       
    Lecture des informations d'état... Fait
    0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
  • sudo dpkg -C

    aucun retour

j'ai aussi essayer de faire

Dernière modification par moussacbb (Le 01/12/2016, à 20:44)

Hors ligne

#2 Le 01/12/2016, à 19:51

GammaDraconis

Re : Installation de openjdk-7-jre sur ubuntu 16.04 Impossible [RESOLU]

C'est normale, la version "7" est l'ancienne version, elle n'est plus présente dans les dépôts de Xenial (contrairement a Trusty).

La 16.04 a "openjdk-8-jre"

Si vraiment tu veux une ancienne version comme la v7, tu dois donc ajouter un PPA, voir ici : http://askubuntu.com/questions/761127/h … -or-higher


Discussion sur mon script de post-install pour Ubuntu 20.04LTS : https://forum.ubuntu-fr.org/viewtopic.php?id=2026344
Lien direct script : https://github.com/simbd/Ubuntu_20.04LTS_PostInstall
Démo vidéo (peertube) : https://video.ploud.fr/videos/watch/fb7 … 0d252ed2db

Hors ligne

#3 Le 01/12/2016, à 20:45

moussacbb

Re : Installation de openjdk-7-jre sur ubuntu 16.04 Impossible [RESOLU]

Merci pour la rapidité de la réponse. En effet cela a fonctionner avec le PPA.

Hors ligne