#1 Le 02/08/2019, à 09:23
- Avotrafa
[Résolu] Installation du paquet gcc
Bonjour, j'ai un petit souci, je suis sur ubuntu MATE 18.04.2 (Bionic), tous se passe bien au niveau de l'installation sur le "software boutique" (interface graphique), mais sur le console non
Voici le problème:
technique@technique-PC:~/Documents/TP kotrana$ sudo apt-get install gcc
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
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 :
gcc : Dépend: gcc-7 (>= 7.4.0-1~) mais ne sera pas installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
Merci de votre réponses!!!
Dernière modification par Avotrafa (Le 02/08/2019, à 10:32)
J'aime apprendre et partager ce que je sais
Avant de poster, chercher par toi même et au forum ton problème
Desktop: Ubuntu Focal 20.04 (Bionic LTS) et Xubuntu 18.04.2 (Bionic LTS) sur portable PC
Hors ligne
#2 Le 02/08/2019, à 09:25
- rogn...
Re : [Résolu] Installation du paquet gcc
Faire un
sudo apt update
et re-essayer.
Donner tous les retours de commande.
#3 Le 02/08/2019, à 09:25
- Nuliel
Re : [Résolu] Installation du paquet gcc
Bonjour,
Tu peux donner le retour de
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
Hors ligne
#4 Le 02/08/2019, à 09:32
- Avotrafa
Re : [Résolu] Installation du paquet gcc
J'ai déjà essayer
rong... a écrit :sudo apt update
mais ça ne peut pas
Ceux-ci le retour:
technique@technique-PC:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu-MATE 18.04.2 LTS _Bionic Beaver_ - Release i386 (20190210)]/ bionic main multiverse restricted universe
2
3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
4 # newer versions of the distribution.
5 deb http://ubuntu.dts.mg/ubuntu/ bionic main restricted
6 # deb-src http://mg.archive.ubuntu.com/ubuntu/ bionic main restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://ubuntu.dts.mg/ubuntu/ bionic-updates main restricted
11 # deb-src http://mg.archive.ubuntu.com/ubuntu/ bionic-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 http://ubuntu.dts.mg/ubuntu/ bionic universe
17 # deb-src http://mg.archive.ubuntu.com/ubuntu/ bionic universe
18 deb http://ubuntu.dts.mg/ubuntu/ bionic-updates universe
19 # deb-src http://mg.archive.ubuntu.com/ubuntu/ bionic-updates universe
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://ubuntu.dts.mg/ubuntu/ bionic multiverse
27 # deb-src http://mg.archive.ubuntu.com/ubuntu/ bionic multiverse
28 deb http://ubuntu.dts.mg/ubuntu/ bionic-updates multiverse
29 # deb-src http://mg.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
30
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36 deb http://ubuntu.dts.mg/ubuntu/ bionic-backports main restricted universe multiverse
37 # deb-src http://mg.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
38
39 ## Uncomment the following two lines to add software from Canonical's
40 ## 'partner' repository.
41 ## This software is not part of Ubuntu, but is offered by Canonical and the
42 ## respective vendors as a service to Ubuntu users.
43 deb http://archive.canonical.com/ubuntu bionic partner
44 deb-src http://archive.canonical.com/ubuntu bionic partner
45
46 deb http://ubuntu.dts.mg/ubuntu/ bionic-security main restricted
47 # deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
48 deb http://ubuntu.dts.mg/ubuntu/ bionic-security universe
49 # deb-src http://security.ubuntu.com/ubuntu bionic-security universe
50 deb http://ubuntu.dts.mg/ubuntu/ bionic-security multiverse
51 deb http://ubuntu.dts.mg/ubuntu/ bionic-proposed restricted multiverse main universe
52 # deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
J'aime apprendre et partager ce que je sais
Avant de poster, chercher par toi même et au forum ton problème
Desktop: Ubuntu Focal 20.04 (Bionic LTS) et Xubuntu 18.04.2 (Bionic LTS) sur portable PC
Hors ligne
#5 Le 02/08/2019, à 09:33
- Nuliel
Re : [Résolu] Installation du paquet gcc
Donne quand même
sudo apt update
C'est quoi ubuntu.dts.mg ? Tu n'utilises pas les serveurs France?
Dernière modification par Nuliel (Le 02/08/2019, à 09:34)
Hors ligne
#6 Le 02/08/2019, à 09:39
- rogn...
Re : [Résolu] Installation du paquet gcc
EDIT
mais ça ne peut pas
C'est balo (voir la réponse de Naziel)
Il vaut mieux effectivement passer par les serveurs internationaux.
Dernière modification par rogn... (Le 02/08/2019, à 09:40)
#7 Le 02/08/2019, à 09:43
- bruno
Re : [Résolu] Installation du paquet gcc
C'est quoi ubuntu.dts.mg ? Tu n'utilises pas les serveurs France?
Ce sont les miroirs malgaches (mg⇐ Madagascar)
#8 Le 02/08/2019, à 10:03
- Avotrafa
Re : [Résolu] Installation du paquet gcc
Donne quand même
sudo apt update
C'est quoi ubuntu.dts.mg ? Tu n'utilises pas les serveurs France?
Je suis à Madagascar, ubuntu.dts.mg est un serveur de dépôt à Madagascar (je pense)
J'aime apprendre et partager ce que je sais
Avant de poster, chercher par toi même et au forum ton problème
Desktop: Ubuntu Focal 20.04 (Bionic LTS) et Xubuntu 18.04.2 (Bionic LTS) sur portable PC
Hors ligne
#9 Le 02/08/2019, à 10:05
- rogn...
Re : [Résolu] Installation du paquet gcc
On t'a demandé le retour de
sudo apt update
#10 Le 02/08/2019, à 10:10
- Avotrafa
Re : [Résolu] Installation du paquet gcc
J'ai changer en serveur en France et tous se passe très bien, merci à vous:D
J'aime apprendre et partager ce que je sais
Avant de poster, chercher par toi même et au forum ton problème
Desktop: Ubuntu Focal 20.04 (Bionic LTS) et Xubuntu 18.04.2 (Bionic LTS) sur portable PC
Hors ligne
#11 Le 02/08/2019, à 15:35
- cqfd93
Re : [Résolu] Installation du paquet gcc
Bonjour,
Attention, les dépôts proposed sont activés, il sot plus source d'ennuis que d'autre chose, il est vivement recommandé de ne pas les activer.
− cqfd93 −
Hors ligne