Sources.list sous ubuntu

Résolu
Bonjour tout le monde,

voila j'avais deja posté il y a quelques temps mais le problème persiste...

Je suis sous ubuntu 8.04, "sources de logiciels" et "ajout/supprmer programme" ont disparu et je voudrais les remettre...

Je pense qu'il y a quelque chose qui ne va pas dans ma sources.list parce que "apt-get update" ne parvient pas a faire la mise a jour entière, j'ai été sur le générateur de sources.list mais il génère rien du tout lol

Merci d'avance aux personnes qui perderont un peu de leur temps pour m'aider :)

je vous poste ma sources.list:

#########################################
### Depots officiels Ubuntu

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

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

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

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

#########################################
### Depot Ubuntu

#section: Ubuntu hardy 8.04
deb http://archive.canonical.com/ hardy partner

#section: Ubuntu hardy Backports
deb http://archive.canonical.com/ hardy-backports partner

#section: Ubuntu hardy Updates
deb http://archive.canonical.com/ hardy-updates partner

#########################################
### Depot Medibuntu
## KEY GPG: wget -q https://medibuntu.org -O- | sudo apt-key add -

#section: Medibuntu packages for Ubuntu hardy 8.04
deb http://fr.packages.medibuntu.org/ hardy free
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 -

#section: Ubuntu hardy 8.04
#deb http://wine.budgetdedicated.com/apt/ hardy main

#########################################
### Depot qbittorrent
## KEY GPG:

deb http://hydr0g3n.free.fr/qbittorrent/hardy/ ./
deb-src http://hydr0g3n.free.fr/qbittorrent/hardy/ ./

#########################################
### Depot Wicd
#deb http://apt.wicd.net hardy extras

#########################################
### Elisa media center
### Key GPG: wget -q http://elisa.fluendo.com/packages/philn.asc -O- | sudo apt-key add -
##deb http://elisa.fluendo.com/packages hardy main

#########################################
### Depot Awn / Cairo dock

deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main

deb http://repository.cairo-dock.org/ubuntu gutsy cairo-dock

##second-life
deb http://ubuntu.cafuego.net hardy-cafuego secondlife
deb-src http://ubuntu.cafuego.net hardy-cafuego secondlife

----------------------------------------------------------------------------------------------
Configuration: Linux
Opera 9.52

31 réponses

  • Votes
  • Date
  • Date décroissante
Résumé de la discussion

Problème rencontré : sur Ubuntu 8.04, les sources de logiciels et l’outil Ajouter/Supprimer disparaissent, et apt-get update échoue, l’utilisateur suspectant une erreur dans sources.list et une configuration problématique. Des réponses proposent d'activer l'option Ajouter/Supprimer via le menu système : Préférences, Menu principal, Applications, puis cocher la case adéquate pour rétablir l'accès aux dépôts et à la gestion des paquets. D'autres échanges décrivent des vérifications et des commandes comme apt-get update, grep -Ev '^(#|$)' /etc/apt/sources.list et des propositions d'utiliser aptitude pour des mises à jour, afin d'isoler et corriger les éventuels décalages.

Bobot (l’IA à votre service)
  1. Contributeur
    Pour"Ajouter/ Supprimer"
    Tu vas dans Système > Préférences > Menu principal
    puis Applications et tu coches la case adéquate..
    1. Merci pour ta réponse mais ca ne marche pas ou alors c'est moi qui en sait pas comment m'y prendre
      1. est ce que quelqu'un sait s'il existe un paquet dans synaptic qui me permettrais d'arranger le problème?

        Merci d'avance
        1. Salut, merci pour vos reponses...

          Cede: je sais pas quelle case coché :s

          Lami20J: c'est sur ce site que j'ai été mais il ne génère rien du tout :s je rempli le questionnaire je clique sur continuer et rien de se passe...

          désolé pour mon manque de connaissance :(
          1. Contributeur
            Bonjour,
            Ben, si tu as fait Système > Préférences > Menu principal et que tu es dans "Applications" (c'est dans la partie gauche)
            Dans la partie droite du tableau, tu vas trouver "Ajouter/supprimer" et tu coches la case à côté.
            1. désolé :( mais il ne s'y trouve pas :s je crois que je vais reinstaller ubuntu...

              Merci pour tout et bonne soirée :)
              1. Modérateur
                Ok.

                Alors ouvre le terminal et tape
                sudo aptitude-update

                ensuite affiche le résultat (ce que tu vois à l'écran)
                1. voila :

                  Atteint http://archive.canonical.com hardy Release.gpg
                  Ign http://archive.canonical.com hardy/partner Translation-fr
                  Atteint http://fr.packages.medibuntu.org hardy Release.gpg
                  Ign http://repository.cairo-dock.org gutsy Release.gpg
                  Ign http://repository.cairo-dock.org gutsy/cairo-dock Translation-fr
                  Ign http://hydr0g3n.free.fr ./ Release.gpg
                  Ign https://launchpad.net hardy Release.gpg
                  Ign https://launchpad.net hardy/main Translation-fr
                  Atteint http://archive.canonical.com hardy-backports Release.gpg
                  Ign http://archive.canonical.com hardy-backports/partner Translation-fr
                  Atteint http://archive.canonical.com hardy-updates Release.gpg
                  Ign http://archive.canonical.com hardy-updates/partner Translation-fr
                  Atteint http://archive.ubuntu.com hardy Release.gpg
                  Atteint http://archive.ubuntu.com hardy/main Translation-fr
                  Atteint http://archive.canonical.com hardy Release
                  Ign http://repository.cairo-dock.org gutsy Release
                  Atteint http://archive.ubuntu.com hardy/restricted Translation-fr
                  Atteint http://archive.ubuntu.com hardy/universe Translation-fr
                  Atteint http://archive.ubuntu.com hardy/multiverse Translation-fr
                  Atteint http://archive.ubuntu.com hardy-updates Release.gpg
                  Ign http://archive.ubuntu.com hardy-updates/main Translation-fr
                  Ign http://archive.ubuntu.com hardy-updates/restricted Translation-fr
                  Ign http://archive.ubuntu.com hardy-updates/universe Translation-fr
                  Ign http://archive.ubuntu.com hardy-updates/multiverse Translation-fr
                  Atteint http://archive.ubuntu.com hardy-security Release.gpg
                  Ign http://fr.packages.medibuntu.org hardy/free Translation-fr
                  Atteint http://archive.canonical.com hardy-backports Release
                  Atteint http://archive.canonical.com hardy-updates Release
                  Ign http://repository.cairo-dock.org gutsy/cairo-dock Packages
                  Prendre :1 https://launchpad.net hardy Release [27,6kB]
                  Ign http://archive.ubuntu.com hardy-security/main Translation-fr
                  Ign http://archive.ubuntu.com hardy-security/restricted Translation-fr
                  Atteint http://archive.canonical.com hardy/partner Packages
                  Atteint http://repository.cairo-dock.org gutsy/cairo-dock Packages
                  Ign https://launchpad.net hardy/main Packages
                  Ign http://archive.ubuntu.com hardy-security/universe Translation-fr
                  Ign http://archive.ubuntu.com hardy-security/multiverse Translation-fr
                  Atteint http://archive.ubuntu.com hardy Release
                  Atteint http://archive.ubuntu.com hardy-updates Release
                  Atteint http://archive.canonical.com hardy-backports/partner Packages
                  Atteint https://launchpad.net hardy/main Packages
                  Atteint http://archive.ubuntu.com hardy-security Release
                  Atteint http://archive.canonical.com hardy-updates/partner Packages
                  Atteint http://archive.ubuntu.com hardy/main Packages
                  Atteint http://archive.ubuntu.com hardy/restricted Packages
                  Atteint http://archive.ubuntu.com hardy/universe Packages
                  Atteint http://archive.ubuntu.com hardy/multiverse Packages
                  Atteint http://archive.ubuntu.com hardy-updates/main Packages
                  Atteint http://archive.ubuntu.com hardy-updates/restricted Packages
                  Atteint http://ubuntu.cafuego.net hardy-cafuego Release.gpg
                  Ign http://ubuntu.cafuego.net hardy-cafuego/secondlife Translation-fr
                  Atteint http://archive.ubuntu.com hardy-updates/universe Packages
                  Atteint http://archive.ubuntu.com hardy-updates/multiverse Packages
                  Atteint http://archive.ubuntu.com hardy-security/main Packages
                  Atteint http://archive.ubuntu.com hardy-security/restricted Packages
                  Atteint http://archive.ubuntu.com hardy-security/universe Packages
                  Atteint http://archive.ubuntu.com hardy-security/multiverse Packages
                  Ign http://fr.packages.medibuntu.org hardy/non-free Translation-fr
                  Prendre :2 http://fr.packages.medibuntu.org hardy Release [9335B]
                  Atteint http://ubuntu.cafuego.net hardy-cafuego Release
                  Ign http://hydr0g3n.free.fr ./ Translation-fr
                  Atteint http://fr.packages.medibuntu.org hardy/free Packages
                  Atteint http://ubuntu.cafuego.net hardy-cafuego/secondlife Packages
                  Prendre :3 http://fr.packages.medibuntu.org hardy/non-free Packages [7914B]
                  Atteint http://ubuntu.cafuego.net hardy-cafuego/secondlife Sources
                  Ign http://hydr0g3n.free.fr ./ Release
                  Ign http://hydr0g3n.free.fr ./ Packages
                  Ign http://hydr0g3n.free.fr ./ Sources
                  Err http://hydr0g3n.free.fr ./ Packages
                  404 Not Found
                  Err http://hydr0g3n.free.fr ./ Sources
                  404 Not Found
                  17,2ko téléchargés en 12s (1378o/s)
                  Lecture des listes de paquets... Fait
                  W: Duplicate sources.list entry http://fr.packages.medibuntu.org hardy/free Packages (/var/lib/apt/lists/fr.packages.medibuntu.org_dists_hardy_free_binary-i386_Packages)
                  W: Vous pouvez lancer « apt-get update » pour corriger ces problèmes.
                  1. Modérateur
                    Maintenant affiche le résultat de
                    grep -Ev '^(#|$)' sources.list
                    1. voila :

                      deb http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
                      deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
                      deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
                      deb http://archive.canonical.com/ hardy partner
                      deb http://archive.canonical.com/ hardy-backports partner
                      deb http://archive.canonical.com/ hardy-updates partner
                      deb http://fr.packages.medibuntu.org/ hardy free
                      deb http://fr.packages.medibuntu.org/ hardy free non-free
                      deb http://hydr0g3n.free.fr/qbittorrent/hardy/ ./
                      deb-src http://hydr0g3n.free.fr/qbittorrent/hardy/ ./
                      deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main
                      deb http://repository.cairo-dock.org/ubuntu gutsy cairo-dock
                      deb http://ubuntu.cafuego.net hardy-cafuego secondlife
                      deb-src http://ubuntu.cafuego.net hardy-cafuego secondlife
                      1. Modérateur
                        Maintenant
                        sudo perl -pi -e 's/^/#/ if /hydr0g3n/' /etc/apt/sources.list
                        1. Modérateur
                          Oui ;-)

                          Maintenant cette commande
                          sudo perl -pi -e 'next if /non-free/;s/^/#/ if m#deb http://fr.packages.medibuntu.org/ hardy free$#' /etc/apt/sources.list
                          • 1
                          • 2