#1 Le 08/05/2023, à 09:33
- fraul
[Résolu] Installation impossible Docker Desktop
Bonjour !
Je voudrais installer Docker Desktop sur mon ordinateur sous Ubuntu 23.04 en suivant les instructions officielles ici : https://docs.docker.com/desktop/install/linux-install/
Mais à la dernière étape quand je dois installer Docker Desktop à partir du fichier .deb téléchargé sur leur site, j'obtiens ce message d'erreur :
$ sudo apt-get install ./Téléchargements/docker-desktop-4.19.0-amd64.deb
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Note : sélection de « docker-desktop » au lieu de « ./Téléchargements/docker-desktop-4.19.0-amd64.deb »
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :
Les paquets suivants contiennent des dépendances non satisfaites :
docker-desktop : Dépend: pass mais il n'est pas installable
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
J'avoue que je ne comprends pas ce qui ne va pas, pourtant j'ai bien l'impression d'avoir installé leur dépôt de paquets, en faisant des refresh de apt et apt-get...
Est-ce que le problème serait indiqué par cette ligne-là ?
Note : sélection de « docker-desktop » au lieu de « ./Téléchargements/docker-desktop-4.19.0-amd64.deb »
Merci d'avance pour votre aide !
(EDIT) Solution
Activer le dépôt universe résout le problème :
sudo add-apt-repository universe
Dernière modification par fraul (Le 08/05/2023, à 10:40)
Hors ligne
#2 Le 08/05/2023, à 09:52
- Qid
Re : [Résolu] Installation impossible Docker Desktop
Est-ce que le problème serait indiqué par cette ligne-là ?
Note : sélection de « docker-desktop » au lieu de « ./Téléchargements/docker-desktop-4.19.0-amd64.deb »
Nop... Le tuto que tu as suivi est juste pas très cohérent pour un tuto qui semble officiel : pourquoi installer un dépôt pour ensuite installer le deb manuellement alors qu'il est sensé être dans le dépôt en question...
Bref... Pour remettre les choses à plat il va falloir que tu montre ta liste de sources :
find /etc/apt -type f \( -name '*.list*' -o -name '*.sources' \) -exec bash -c 'echo -e "\n\t$1\n"; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;
Et une petite mise à jour :
sudo apt update ; sudo apt full-upgrade
"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil
Hors ligne
#3 Le 08/05/2023, à 10:03
- fraul
Re : [Résolu] Installation impossible Docker Desktop
Merci pour ta réponse rapide, voilà la liste des sources :
/etc/apt/sources.list.d/teamviewer.list.save
/etc/apt/sources.list.d/google-chrome.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/google-chrome.list.save
/etc/apt/sources.list.d/onedrive.list.save
/etc/apt/sources.list.d/vscode.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
/etc/apt/sources.list.d/teamviewer.list
1 ### TeamViewer DEB repository list
2
3 ### NOTE: Manual changes to this file
4 ### - prevent it from being updated by TeamViewer package updates
5 ### - will be lost after using the 'teamviewer repo' command
6 ### The original file can be restored with this command:
7 ### cp /opt/teamviewer/tv_bin/script/teamviewer.list /etc/apt/sources.list.d/teamviewer.list
8 ### which has the same effect as 'teamviewer repo default'
9
10 ### NOTE: It is preferred to use the following commands to edit this file:
11 ### teamviewer repo - show current repository configuration
12 ### teamviewer repo default - restore default configuration
13 ### teamviewer repo disable - disable the repository
14 ### teamviewer repo stable - make all regular TeamViewer packages available (default)
15 ### teamviewer repo preview - additionally, make feature preview packages available
16 ### teamviewer repo development - additionally, make the latest development packages available
17
18 deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
19
20 # deb https://linux.teamviewer.com/deb preview main
21 # deb https://linux.teamviewer.com/deb development main
/etc/apt/sources.list.d/github-cli.list
1 deb [arch=amd64 signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main
/etc/apt/sources.list.d/docker.list
1 deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu lunar stable
/etc/apt/sources.list.d/onedrive.list
1 deb [arch=amd64 signed-by=/usr/share/keyrings/obs-onedrive.gpg] https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_22.10/ ./
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 23.04 _Lunar Lobster_ - Release amd64 (20230417)]/ lunar main restricted
2
3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
4 # newer versions of the distribution.
5 deb http://fr.archive.ubuntu.com/ubuntu/ lunar main restricted
6 # deb-src http://fr.archive.ubuntu.com/ubuntu/ lunar main restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://fr.archive.ubuntu.com/ubuntu/ lunar-updates main restricted
11 # deb-src http://fr.archive.ubuntu.com/ubuntu/ lunar-updates main restricted
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 # deb-src http://fr.archive.ubuntu.com/ubuntu/ lunar universe
17 # deb-src http://fr.archive.ubuntu.com/ubuntu/ lunar-updates universe
18
19 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
20 ## team, and may not be under a free licence. Please satisfy yourself as to
21 ## your rights to use the software. Also, please note that software in
22 ## multiverse WILL NOT receive any review or updates from the Ubuntu
23 ## security team.
24 deb http://fr.archive.ubuntu.com/ubuntu/ lunar multiverse
25 # deb-src http://fr.archive.ubuntu.com/ubuntu/ lunar multiverse
26 deb http://fr.archive.ubuntu.com/ubuntu/ lunar-updates multiverse
27 # deb-src http://fr.archive.ubuntu.com/ubuntu/ lunar-updates multiverse
28
29 ## N.B. software from this repository may not have been tested as
30 ## extensively as that contained in the main release, although it includes
31 ## newer versions of some applications which may provide useful features.
32 ## Also, please note that software in backports WILL NOT receive any review
33 ## or updates from the Ubuntu security team.
34 deb http://fr.archive.ubuntu.com/ubuntu/ lunar-backports main multiverse restricted
35 # deb-src http://fr.archive.ubuntu.com/ubuntu/ lunar-backports main restricted universe multiverse
36
37 deb http://security.ubuntu.com/ubuntu lunar-security main restricted
38 # deb-src http://security.ubuntu.com/ubuntu lunar-security main restricted
39 # deb-src http://security.ubuntu.com/ubuntu lunar-security universe
40 deb http://security.ubuntu.com/ubuntu lunar-security multiverse
41 # deb-src http://security.ubuntu.com/ubuntu lunar-security multiverse
42
43 # This system was installed using small removable media
44 # (e.g. netinst, live or single CD). The matching "deb cdrom"
45 # entries were disabled at the end of the installation process.
46 # For information about how to configure apt package sources,
47 # see the sources.list(5) manual.
/etc/apt/sources.list.save
Hors ligne
#4 Le 08/05/2023, à 10:09
- nany
Re : [Résolu] Installation impossible Docker Desktop
Bonjour,
Le dépôt universe n’est pas activé, or la dépendance (pass) est issue de celui-ci.
Hors ligne
#5 Le 08/05/2023, à 10:12
- Qid
Re : [Résolu] Installation impossible Docker Desktop
Eh eh... Merci nany
"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil
Hors ligne
#6 Le 08/05/2023, à 10:38
- fraul
Re : [Résolu] Installation impossible Docker Desktop
Oui effectivement, c'était ça ! Merci beaucoup à tous les deux pour vos réponses rapides :)
Hors ligne