#1 Le 18/06/2010, à 18:39
- Zouox
Problème dépôt?
Bonjour,
Voulant installer le packet "build-essential" (sous ubuntu 10.04), j'ai utilisé la console avec la commande : 'sudo apt-get install build-essential', une fois fait, il m'oblige à télécharger les packets sur le cd d'installation d'ubuntu (ce n'est pas la première fois que j'ai ce problème, en fait, à chaque téléchargement + installation via "apt-get".
Voilà un screen :
http://img85.imageshack.us/img85/5350/problemedepot.png
Je suppose que c'est un problème de dépot, non?
Qu'en pensez vous?
Merci d'avance !
Hors ligne
#2 Le 18/06/2010, à 19:04
- michel_04
Re : Problème dépôt?
Bonjour,
il m'oblige à télécharger les packets sur le cd d'installation d'ubuntu
Tu édites ton /etc/apt/sources.list :
gksudo gedit /etc/apt/sources.list
Tu commentes la ligne pointant sur ton CD.
Commenter = ajouter un dièse (#) en début de ligne.
Puis :
sudo apt-get update
A+
:D
De la bonne manière de poser les questions - Trouver de l'aide grâce au Groupe des Parrains Linux - Le Pacte des Gnous
PCs sous Debian Stable & Debian Sid.
Hors ligne
#3 Le 18/06/2010, à 19:13
- Zouox
Re : Problème dépôt?
Merci, mais maintenant il ne trouve aucun paquet =s
Voilà à quoi ça ressemble :
# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
#deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
#deb http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted
#deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid universe
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://fr.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner
deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
Aucune version du paquet build-essential 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: Aucun paquet ne correspond au paquet build-essential
Dernière modification par Zouox (Le 18/06/2010, à 19:16)
Hors ligne
#4 Le 18/06/2010, à 19:25
- michel_04
Re : Problème dépôt?
Re,
Tu as bien lancé :
sudo apt-get update
avant sudo apt-get install build-essential ?
A+
:D
De la bonne manière de poser les questions - Trouver de l'aide grâce au Groupe des Parrains Linux - Le Pacte des Gnous
PCs sous Debian Stable & Debian Sid.
Hors ligne
#5 Le 18/06/2010, à 19:29
- Zouox
Re : Problème dépôt?
Oui =s
Hors ligne
#6 Le 18/06/2010, à 19:32
- michel_04
Re : Problème dépôt?
Re,
Tu es bien connecté au net ?
sudo apt-get update
sudo apt-get upgrade
A+
:D
De la bonne manière de poser les questions - Trouver de l'aide grâce au Groupe des Parrains Linux - Le Pacte des Gnous
PCs sous Debian Stable & Debian Sid.
Hors ligne
#7 Le 20/06/2010, à 14:53
- Zouox
Re : Problème dépôt?
Oui, je suis connécté, est-il possible de trouver le fichier "sources.list" d'origine sur le cd d'installation?
Hors ligne
#8 Le 20/06/2010, à 15:16
- michel_04
Re : Problème dépôt?
Bonjour,
Ton sources.list a l'air correct.
Tu n'as pas des erreurs lors d'update ou upgrade ?
Si tu veux modifier ton sources.list, voit dans la Documentation ---> Dépôts pour Ubuntu 10.04 LTS (The Lucid Lynx).
A+
:D
De la bonne manière de poser les questions - Trouver de l'aide grâce au Groupe des Parrains Linux - Le Pacte des Gnous
PCs sous Debian Stable & Debian Sid.
Hors ligne
#9 Le 20/06/2010, à 15:48
- Zouox
Re : Problème dépôt?
Etrange, en collant ça :
deb http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted
deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
# Dépôts de sources (uniquement utiles pour télécharger les sources avec apt-get source.
# Dans ce cas enlever les #)
# deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted
# deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
ça fonctionne, merci !
Bonne journée.
Hors ligne
#10 Le 20/06/2010, à 16:18
- michel_04
Re : Problème dépôt?
Re,
Etrange, en collant ça :
deb http://fr.archive.ubuntu.com/ubuntu/ lucid main restricted ~ ~ ~ # deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
ça fonctionne, merci !
Copie/Colle ces lignes à la place de ce que tu as dans ton sources.list :
deb http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
#deb http://archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner
## Key medibuntu ---> wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
deb http://packages.medibuntu.org/ lucid free non-free
Pour la clé du dépot medibuntu, colle la clé (Key medibuntu --->) dans le terminal
Puis :
sudo apt-get update
J'ai laissé les backports commentés.
Tu peux ajouter [Résolu] au titre de ton post, merci.
A+
Dernière modification par michel_04 (Le 20/06/2010, à 16:20)
:D
De la bonne manière de poser les questions - Trouver de l'aide grâce au Groupe des Parrains Linux - Le Pacte des Gnous
PCs sous Debian Stable & Debian Sid.
Hors ligne