#1 Le 20/07/2009, à 16:05
- jubil
probleme de mise a jour sous Jaunty
Bonjour
J'ai fait la migration de Hardy à intrepid à Jaunty sans problème, Il y a quelques bugs mineurs mais depuis deux semaines je ne peux faire de mises à jour et à chaque fois que je tente le coup , j'obtiens ce message:
---------------------------------
Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/jaunty-security/Release Unable to find expected entry jaunty-updates/binary-i386/Packages in Meta-index file (malformed Release file?)
Impossible de récupérer http://archive.ubuntu.com/ubuntu/dists/jaunty/Release Unable to find expected entry jaunty-updates/source/Sources in Meta-index file (malformed Release file?)
Impossible de récupérer http://archive.ubuntu.com/ubuntu/dists/jaunty-updates/Release Unable to find expected entry jaunty-updates/binary-i386/Packages in Meta-index file (malformed Release file?)
Impossible de récupérer http://archive.ubuntu.com/ubuntu/dists/jaunty-security/Release Unable to find expected entry jaunty-updates/source/Sources in Meta-index file (malformed Release file?)
Impossible de récupérer http://archive.ubuntu.com/ubuntu/dists/jaunty-proposed/Release Unable to find expected entry jaunty-updates/binary-i386/Packages in Meta-index file (malformed Release file?)
Impossible de récupérer http://archive.ubuntu.com/ubuntu/dists/jaunty-backports/Release Unable to find expected entry jaunty-updates/binary-i386/Packages in Meta-index file (malformed Release file?)
Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
-----------------------------------
Quelle est la nature du problème et comment le résoudre
merci
Hors ligne
#2 Le 20/07/2009, à 16:36
- Xun
Re : probleme de mise a jour sous Jaunty
Pourrais-tu poster ton sources.list ?=>
gedit /etc/apt/sources.list
que tu copies colles ici entre balises code)
Xun
Hors ligne
#3 Le 20/07/2009, à 16:42
- pandorax
Re : probleme de mise a jour sous Jaunty
J'ai eu ce genre de problème hier.
Mais je ne sais pas si c'est exactement le même problème mais plus aucune mise à jour était possible.
et adept plantait désespéremment ( user friendly , :D)
La ligne de commande ne te rebute pas.
Ce qui s'était passé c'est qu'au moment de recharger la liste des paquets disponible, j'ai eu une micro coupure ce qui fait que j'ai téléchargé la page de démarrage de ma box au lieu de cette liste... :lol:
La solution était simple , régénérer.
1 faire en sorte de pouvoir revenir en arrière .
sudo -s
cd /var/lib/apt
cp -r lists lists.bak
Explications:
Devenir root
entrer dans le répertoire var/lib/apt
copier le répertoire et son contenu (r) dans list.bak
2.
cd lists
rm -rf *
Explications:
entrer dans le répertoire lists
effacer tout ce qu'il contient (c'est pour çà qu'on l'a au préalable sauvé)
Attention à être bien dans /var/apt/lists cette commande ailleurs pourrait faire beaucoup de dégât.
3.
touch lock
mkdir partial
Explications:
créer un fichier vide, cela sert à empêcher que plusieurs programmes fassent la mise à jour du système en même temps.
(Le fichier une fois ouvert est bloqué et non accessible aux autres programmes, et une des conditions pour pouvoir faire la mise à jour: ouvoir accéder à ce fichier vide)
Et créer un répertoire partial
A présent
Tout devrait rouler
apt-get update
Pour revenir en arrière
étant dans /var/lib/apt
rm -rf lists
mv lists.back lists
Voilà ma manip mais avant celà il serait bon de voir ce qu'il ya dans
le fichier sources.list
cat /etc/apt/sources.list
PS: Copier sur la console Ctrl + shift +C
Dernière modification par pandorax (Le 20/07/2009, à 16:49)
Mon avatar n'est pas l'inspecteur Derrick, c'est juste une poire .
configuration: ENIAC (ordinateur et chauffage)
Hors ligne
#4 Le 21/07/2009, à 12:23
- jubil
Re : probleme de mise a jour sous Jaunty
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty restricted main multiverse universe #Added by software-properties
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates jaunty-updates restricted http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb main
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates jaunty-updates restricted universe http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb main multiverse #Added by software-properties
## 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.
deb http://archive.ubuntu.com/ubuntu/ jaunty universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-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://archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-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://ca.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ hardy-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.ubuntu.com/ubuntu/ jaunty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty-security universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-proposed jaunty-updates restricted universe http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb main multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-proposed jaunty-updates restricted universe http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb main multiverse #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty-backports jaunty-updates restricted universe http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb main multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-backports jaunty-updates restricted universe http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb main multiverse #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse
deb http://download.tuxfamily.org/xcfaudio/xcfa/ dev contrib
# deb http://download.virtualbox.org/virtualbox/debian hardy non-free
deb http://archive.ubuntu.com/ubuntu/ jaunty restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty restricted #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty jaunty-updates http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty restricted http://security.ubuntu.com/ubuntu jaunty-security restricted deb http://fr.archive.ubuntu.com/ubuntu/ jaunty-updates restricted
deb http://security.ubuntu.com/ubuntu/ jaunty-security jaunty-updates restricted jaunty-security http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ universe deb main multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security jaunty-updates jaunty-security http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ deb multiverse #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty http://security.ubuntu.com/ubuntu main deb http://fr.archive.ubuntu.com/ubuntu/ main restricted
deb http://archive.ubuntu.com/ubuntu/ jaunty-backports restricted multiverse
deb http://archive.canonical.com/ubuntu jaunty partner
deb-src http://archive.canonical.com/ubuntu jaunty partner
deb http://ppa.launchpad.net/tualatrix/ubuntu jaunty main
deb-src http://ppa.launchpad.net/tualatrix/ubuntu jaunty main
Hors ligne
#5 Le 21/07/2009, à 12:37
- Xun
Re : probleme de mise a jour sous Jaunty
Ces lignes là posent problèmes:
deb http://archive.ubuntu.com/ubuntu/ jaunty-proposed jaunty-updates restricted universe http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb main multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-proposed jaunty-updates restricted universe http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb main multiverse #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty-backdeb http://archive.ubuntu.com/ubuntu/ jaunty-proposed jaunty-updates restricted universe http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb main multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-proposed jaunty-updates restricted universe http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb main multiverse #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty-backports jaunty-updates restricted universe http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb main multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-backports jaunty-updates restricted universe http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb main multiverse #Added by software-properties
ports jaunty-updates restricted universe http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb main multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-backports jaunty-updates restricted universe http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb main multiverse #Added by software-properties
_____
deb-src http://archive.ubuntu.com/ubuntu/ jaunty jaunty-updates http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ jaunty-security deb #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty restricted http://security.ubuntu.com/ubuntu jaunty-security restricted deb http://fr.archive.ubuntu.com/ubuntu/ jaunty-updates restricted
deb http://security.ubuntu.com/ubuntu/ jaunty-security jaunty-updates restricted jaunty-security http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ universe deb main multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security jaunty-updates jaunty-security http://security.ubuntu.com/ubuntu http://fr.archive.ubuntu.com/ubuntu/ deb multiverse #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ jaunty http://security.ubuntu.com/ubuntu main deb http://fr.archive.ubuntu.com/ubuntu/ main restricted
Du moins je pense puisque c'est ce qu'a retourné le message d'erreur du premier post.
Je te conseille de te refaire un sources.list...
Je te donne le mien, dans le but de faire tes mises à jours de sécurité:
deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb http://archive.ubuntu.com/ubuntu/ jaunty universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates universe
deb http://archive.ubuntu.com/ubuntu/ jaunty multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
deb http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security main restricted
deb http://archive.ubuntu.com/ubuntu/ jaunty-security universe
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security universe
deb http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jaunty-security multiverse
## medibuntu
deb http://packages.medibuntu.org/ jaunty free non-free
deb http://fr.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
Dis-nous si ça marche avec mon sources.list, sinon essaie la solution de pandorax.
Xun
PS: édite ton message précédent et rajoute mets ton souces.list entre balise CODE
Hors ligne
#6 Le 21/07/2009, à 14:28
- jubil
Re : probleme de mise a jour sous Jaunty
merci Xun un dernier conseil...comme c'est la première fois que je fait cela. je supprime dans ma source list les lignes mentionnées et je colle les tiennes...c'est bien cela
Hors ligne
#7 Le 21/07/2009, à 14:30
- Xun
Re : probleme de mise a jour sous Jaunty
Oui, tu édites ton sources.list
sudo gedit /etc/apt/sources.list
puis tu sélectionnes tout ce qu'il y a dedans (CTRL-A) puis tu supprimes. Apres tu fais un bête copier/coller de mon sources.list en faisant attention de bien copier ce que j'y ai mis (il faut pas oublier un petit caractère sinon ça buera aussi).
Voilà tout, apres faut voir si ça marche ou pas !
Xun
Hors ligne
#8 Le 23/07/2009, à 16:23
- jubil
Re : probleme de mise a jour sous Jaunty
Allo Xun
J'ai fait l'opération suggérée et tout semble fonctionner normalement. y-a-t-il un moyen pour s'assurer que tout va pour le mieux et que les mises à jour se font . Quand j'ai recopié ta source-list j'ai eu une seule mise à jour recommandée.
merci
Hors ligne
#9 Le 23/07/2009, à 16:38
- jubil
Re : probleme de mise a jour sous Jaunty
Re Bonjour
Oublie ce dernier message. Tout fonctionne bien, les mises à jour se font sans problème. Merci encore
Hors ligne
#10 Le 23/07/2009, à 16:39
- jubil
Re : probleme de mise a jour sous Jaunty
:DRésolu
Hors ligne