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 21/05/2008, à 16:47

Lad

[Resolu] Erreur de mise à jours des paquets

Bonjour j'ai systématiquement l'erreur suivante lorsque j'actualise mes paquets :

Impossible de récupérer http://archive.ubuntu.com/ubuntu/dists/hardy/Release  Unable to find expected entry  free/binary-i386/Packages in Meta-index file (malformed Release file?)
Impossible de récupérer http://archive.ubuntu.com/ubuntu/dists/hardy-updates/Release  Unable to find expected entry  free/binary-i386/Packages in Meta-index file (malformed Release file?)
Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/hardy-security/Release  Unable to find expected entry  free/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.

Voici le contenu de mon /etc/apt/souce.list

# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ hardy main restricted free
deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted free
deb-src http://archive.ubuntu.com/ubuntu/ hardy-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.
deb http://archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy universe
deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy-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/ hardy multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-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/ hardy-backports main restricted universe multiverse
# deb-src http://fr.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.

C'est écrit en haut du /etc/apt/source.list, j'ai une distribution 8.04 hardy heron

merci d'avance

Dernière modification par Lad (Le 28/05/2008, à 23:59)

Hors ligne

#2 Le 21/05/2008, à 21:14

sonal

Re : [Resolu] Erreur de mise à jours des paquets

Lad a écrit :

Bonjour j'ai systématiquement l'erreur suivante lorsque j'actualise mes paquets :

Impossible de récupérer http://archive.ubuntu.com/ubuntu/dists/hardy/Release  Unable to find expected entry  free/binary-i386/Packages in Meta-index file (malformed Release file?)
Impossible de récupérer http://archive.ubuntu.com/ubuntu/dists/hardy-updates/Release  Unable to find expected entry  free/binary-i386/Packages in Meta-index file (malformed Release file?)
Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/hardy-security/Release  Unable to find expected entry  free/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.

Bonjour

le problème vient du fait que vous faites appel aux dépots free qui ne veulent rien dire dans le monde ubuntu

il faut donc enlever les deux références à free dans votre sources.list (ne retirez que ce qui est en gras et pas la ligne entière)

j'ai aussi mis en italique les lignes que vous pouvez commenter (en mettant # au debut de la ligne). Ce sont les dépots sources. Ca ne vous sert que si vous compilez vous mêmes vos programmes en provenance des dépots (ce dont je doute). L'operation est reversible. ce sont les lignes qui commencent par deb-src

# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ hardy main restricted free
deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted free
deb-src http://archive.ubuntu.com/ubuntu/ hardy-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.
deb http://archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy universe
deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy-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/ hardy multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-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/ hardy-backports main restricted universe multiverse
# deb-src http://fr.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.

Pouvez vous tester ca et me dire si ca marche correctement maintenant ?

Dernière modification par sonal (Le 21/05/2008, à 21:16)


Sonal

Patience et longueur de temps, font plus que force, ni que rage

Hors ligne

#3 Le 22/05/2008, à 13:38

Lad

Re : [Resolu] Erreur de mise à jours des paquets

Merci

Je n'ai pas eu de messages d'erreur en ouvrant "ajouter/supprimer " ou synaptic et rien non plus si je fait un apt-get update !

Par contre il manquait la fin de mon fichier :

## 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 hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://security.ubuntu.com/ubuntu/ hardy-security restricted main multiverse universe [b]free[/b]

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

J'ai viré le free en gras par contre je l'ai pas enlevé pour medibuntu !

De plus tu as entièrement raison je suis pas un spécialiste de la compilations de paquets j'ai donc virer les deb-src ! Quand j'arrive à compiler mes petits programmes je suis déjà comptent, donc ceux des autres ....

Hors ligne