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 10/05/2008, à 04:44

kamal123

un fichier /etc/apt/sources.list qui marche?

Bonjour,

Il parait que mon /etc/apt/sources.list  n'est pas bon.
Est-ce que quelqu'un peut me passer un qui marche  (serveurs canadien de préférence)?
J'aimerais par la suite installer certains logiciels de développement que j'ai du mal à installer présentement.

Merci d'avance

#2 Le 10/05/2008, à 05:33

rifi58

Re : un fichier /etc/apt/sources.list qui marche?

voici le mien par exemple (hardy) :

### Depots officiels Ubuntu 

#section: Ubuntu hardy 8.04 
deb http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse 

#section: Ubuntu hardy Updates 
deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse 

#section: Ubuntu hardy Security 
deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse 

#section: Ubuntu hardy Backports 
# deb http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse 

######################################### 
### Depots Multimedia Medibuntu 
## KEY GPG: wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

deb http://fr.packages.medibuntu.org/ hardy free non-free 

######################################### 
### Depot winehq 
## KEY GPG: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add - 
deb http://wine.budgetdedicated.com/apt/ hardy main

- je n'ai pas activé les dépôts backports (la ligne est commentée [#]) ; à toi de voir

- tu enlèves le dépôt winehq si tu n'utilises pas wine

- si tu veux rajouter des dépôts, consulte la doc :
http://doc.ubuntu-fr.org/depots_hardy

- pour les clés KEY GPG : tu tapes    wget.......        en console et voilà !

Dernière modification par rifi58 (Le 11/05/2008, à 06:51)


Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org

Hors ligne

#3 Le 10/05/2008, à 13:14

Sir Na Kraïou

Re : un fichier /etc/apt/sources.list qui marche?

Ben... t'es sur Hardy ?
que renvoie la commande

cat /etc/lsb-release

Si tu es bien sous Hardy, tu peux reprendre celui de rifi85.
Sinon, tu peux montrer le tiens avec le retour de la commande

cat /etc/apt/sources.list

histoire de voir ce qui ne va pas.


Descendant de Charlemagne et de LUCA.
Bleu, en l'hommage d'un truc bleu. :'(
C'est pas du bleu.
C'est pas le lac de Genève, c'est le Lac Léman.

Hors ligne

#4 Le 10/05/2008, à 21:36

kamal123

Re : un fichier /etc/apt/sources.list qui marche?

Merci pour vos réponse:

Alors:

1)

___________________________________________
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04"
_______________________________________

2) j'ai pris le fichier de rifi

3)
j'essaye d'instaler mono et ca me retourne:

____________________________________________________________________________
sudo apt-get install mono mono-gmcs mono-gac mono-utils monodevelop
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Aucune version du paquet mono 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 mono
__________________________________________________________________________

j'ai essayé le paquet mono uniquement et ca retourne


sudo apt-get install mono
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Aucune version du paquet mono 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 mono



Je ne comprends pas c'.est quoi le prblm!!!

#5 Le 10/05/2008, à 21:54

lgmdmdlsr

Re : un fichier /etc/apt/sources.list qui marche?

Bonjour.

Le paquet (méta-paquet, en fait) mono semble ne plus être dans Debian Unstable. Comme Ubuntu provient de là, ça peut expliquer l'absence du paquet.

Toutefois, la description du paquet mono de Debian Testing est la suivante :

Mono is a platform for running and developing applications based on the ECMA/ISO Standards. Mono is an open source effort led by Novell. Mono provides a complete CLR (Common Language Runtime) including compiler and runtime, which can produce and execute CIL (Common Intermediate Language) bytecode (aka assemblies), and a class library.

mono is a metapackage containing dependencies for the runtime of Mono. If you do not need all of them (or try to work around X11 dependencies), install the core packages manually: mono-jit, mono-mcs or mono-utils.

Il semble donc que les paquets à installer soit les 3 données ci-dessus à la fin de la description.

Hors ligne

#6 Le 13/05/2008, à 07:41

Gys

Re : un fichier /etc/apt/sources.list qui marche?

Voilà, je ne sais pas si mes sources sont bons! Voici ce que j'obtiens si je tape la commande "cat /etc/apt/sources.list":

# deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# Line commented out by installer because it failed to verify:
deb http://fr.archive.ubuntu.com/ubuntu/ gutsy main restricted
# Line commented out by installer because it failed to verify:
deb-src http://fr.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
deb http://fr.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
# Line commented out by installer because it failed to verify:
deb-src http://fr.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# Line commented out by installer because it failed to verify:
deb http://fr.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
deb-src http://fr.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
deb http://fr.archive.ubuntu.com/ubuntu/ gutsy-updates universe
# Line commented out by installer because it failed to verify:
deb-src http://fr.archive.ubuntu.com/ubuntu/ gutsy-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.
# Line commented out by installer because it failed to verify:
deb http://fr.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
deb-src http://fr.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
deb http://fr.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
deb-src http://fr.archive.ubuntu.com/ubuntu/ gutsy-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/ gutsy-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ gutsy-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 gutsy partner
deb-src http://archive.canonical.com/ubuntu gutsy partner

# Line commented out by installer because it failed to verify:
deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
deb http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
# Line commented out by installer because it failed to verify:
deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe multiverse restricted main
deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse

## Dépot vlc freeplayer
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security multiverse restricted main
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates multiverse universe restricted main
deb http://www.tvfreeplayer.com/linux/falcon gutsy all


# 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://security.ubuntu.com/ubuntu hardy-security main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted




deb http://security.ubuntu.com/ubuntu/ hardy-security universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports universe multiverse restricted main

Il y a-t-il un problème avec cette liste?
Merci d'avance
Gys

#7 Le 13/05/2008, à 09:16

michel2652

Re : un fichier /etc/apt/sources.list qui marche?

Bonjour,

Ouvre un fil de discussion pour ton problème qui n'a rien à voir avec celui de kamal123 :

kamal123 a écrit :

3)
j'essaye d'instaler mono et ca me retourne:

Gys a écrit :

Il y a-t-il un problème avec cette liste?

Oui, mélange Gutsy/Hardy.

A+