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 16/09/2010, à 00:22

Zourba

Erreur gestionnaire de paquets synaptic

En voulant télécharger Zygrib . Je me suis surement planté et j'ai une erreur sur le gestionnaire de paquets Synaptic :

E: Ligne 55 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution)
E: Impossible de lire la liste des sources.
Vous pouvez essayer de corriger le problème en ouvrant la fenêtre des dépôts.
E: _cache->open() failed, please report.

et le gestionnaire de mises à jour /

Impossible d'initialiser les données sur les paquets

Un problème irrémédiable est survenu pendant l'initialisation des informations du paquet.

Veuillez signaler ce bogue du paquet « update-manager » en y joignant le message d'erreur suivant :

'E:Ligne 55 mal formée dans la liste des sources /etc/apt/sources.list (analyse de distribution), E:La liste des sources ne peut être lue.'

Comment faire pour réparer mon erreur ?

Hors ligne

#2 Le 16/09/2010, à 00:28

jamesbad000

Re : Erreur gestionnaire de paquets synaptic

Hello,

Peux tu donner le résultat de la commande

cat  /etc/apt/sources.list

Dernière modification par jamesbad000 (Le 16/09/2010, à 00:33)


L'espace et le temps sont les modes par lesquels nous pensons, et non les conditions dans lesquelles nous vivons. (Signé Albert)

Hors ligne

#3 Le 16/09/2010, à 00:34

Zourba

Re : Erreur gestionnaire de paquets synaptic

La voici :

gerard@Galonnois:~$ cat  /etc/apt/sources.list
# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release amd64 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

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
deb http://packages.medibuntu.org/ lucid free non-free
deb http://doc.hausser.ch/debpackages ubuntu-dha[ lucid]
gerard@Galonnois:~$

Hors ligne

#4 Le 16/09/2010, à 00:45

jamesbad000

Re : Erreur gestionnaire de paquets synaptic

La ligne 55 est la dernière :

deb http://doc.hausser.ch/debpackages ubuntu-dha[ lucid]

et effectivement elle a une tête bizarre. Je sais pas si c'est toi qui a ajouté ce dépot, mais la partie finale [ lucid] est probablement en trop.
tu peux  éditer le fichier avec gksudo gedit /etc/apt/sources.list, et corriger la ligne en retirant cette partie.
Si ça ne va toujours pas, supprime cette ligne.


L'espace et le temps sont les modes par lesquels nous pensons, et non les conditions dans lesquelles nous vivons. (Signé Albert)

Hors ligne

#5 Le 16/09/2010, à 01:19

Zourba

Re : Erreur gestionnaire de paquets synaptic

Oui, c'est moi qui l'ai mis pour télécharger Zygrib dernière version. J'ai dû louper quelque chose.

ça y est, j'ai retiré les accolades et ça refonctionne. Merci de l'aide

Pour finir d'installer zybrig je ne sais pas comment faire.

Hors ligne

#6 Le 16/09/2010, à 01:33

Zourba

Re : Erreur gestionnaire de paquets synaptic

J'ai mis cette commande dans le terminal

wget http://doc.hausser.ch/debpackages/dha-debpackages.key -O - | sudo apt-key add -

Et j'ai çeci qui reste en attente !!!!!

--2010-09-16 01:27:40--  http://doc.hausser.ch/debpackages/dha-debpackages.key
Résolution de doc.hausser.ch... [sudo] password for gerard: 80.74.157.22
Connexion vers doc.hausser.ch|80.74.157.22|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: 1714 (1,7K) [text/plain]
Sauvegarde en : «STDOUT»

100%[======================================>] 1 714       --.-K/s   ds 0,06s   

2010-09-16 01:27:40 (27,7 KB/s) - envoi vers sortie standard [1714/1714]

Dernière modification par Zourba (Le 16/09/2010, à 01:35)

Hors ligne

#7 Le 16/09/2010, à 08:41

Zourba

Re : Erreur gestionnaire de paquets synaptic

J'ai essayé l'autre commande :

su root
wget http://doc.hausser.ch/debpackages/dha-debpackages.key -O - | apt-key add -

Elle refuse mon mot de passe !!!!!

Hors ligne

#8 Le 16/09/2010, à 09:13

michel_04

Re : Erreur gestionnaire de paquets synaptic

Bonjour,

Ta clé est là : http://doc.hausser.ch/debpackages/dha-debpackages.key

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.9 (GNU/Linux)

mQGiBElzVD0RBADCL4XlU7QlYtZk966NRB56GohoT7ibrqW5m/YG5ha1lTore8x0
wLmJEtD+xmO9W8APcm8bgVIpS+CC57IpshI683JNkGfoFQ49JOX4djqmtJWGaBq1
ctjonj9wTsW7ewn1Lox+K+OeTo/2aTtApNT9LtZvQChPcqlFDL81yY78gwCgyXUQ
RHjfUK5ikwsq6cjMMg+lrwkEAIsJQBqiMn61xwds5uAFJ485ywlJOlFFPxK5UTHo
iFQHmVBGASAy2BjY5SK3Ieg+idcU4bYcHEfJYodu4cf0mKOwyvPAc/z0tRIvFVaY
N8IlsI3SWej+67SDkWVtXmlwmZgYXJJL5+Lzs7+y7TVSN1xGfay50gB83lfEfPaN
bH4hA/4wtDqW6Il3tfh+xwAFREF/FPTXqrS1Z62wglTtDhNqdS6YZijOxkoSn44h
M1MVcqX7kljVh2JGa+aU9SxCjAA7FEDCboZvWPSFK9pMhIw6mutqxOYKzX4kkZ8R
jlSnuY5+qgcWMV8GnTnHnwosZuwj5GnbymbWbGSWKoW5kyg3R7Q5RG9taW5pcXVl
IEhhdXNzZXIgKGh0dHA6Ly96eWdyaWIub3JnKSA8enlncmliQGhhdXNzZXIuY2g+
iGAEExECACAFAklzVD0CGwMGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRAhYakH
Naz3uJZTAKDIm3Tpuxco0NJC0Vsso1OZRMFLfgCgqf5OnDyNlFsZMXu0wrwtU4lG
ga25Ag0ESXNUPRAIAJ313/6XR2EGiS4AOpeFmu8SMgLxfgThx4/OhRmrGvx+b0hA
b7euRoo4FmuU/djK1eHRWj8S2Gdmvo1VmWi/KcP3+tUxI0M+lMOz4YSEFF4Fpx1j
CdurvxXge3BC0ZSGeuGwLTLMS3KdicuySorRlIjDROBdmiHhDa9YtMBDwHLf+GyY
Pb6dVHLPAxSyBMyhXKz4+2faxv3oNZH6OmY4mpuO4uw90QoP32MAZVQ1WTjFnYqA
prPOSzYwBukECcNOY51Cdmd3u85XIE3wtx2qr+lM7gJZs0u5ohZrYhEvwpCW+uoY
GzHKtcnd72TSuwHfdDVwoHdmFVOj4vUjp62KGasAAwYH/1ETyME45tIdkugnidOa
ONXAtNBDwxGioHYgP3BYx4vtx7CjfEROzmiNdKn6j0b3/YhDdtrDHR+c0GxbU1oa
wScp1gkFrLcNE5xakX6z7wbFIJBM5hDJN4t1TjA1yzx9INf7NdW1BZ3rl0ctDTEB
uKMl2l4cp1tFqzw3L1bEjxEGZpxUE0POre1wf0e8ZTG0Qb4cXJdAKGrsOYr/LmDu
HOFSQYY0cgpBEPbNtgGjLS/g86AyAL0ghtPt9Nq3B48g5oW43ds0IX+imag+xTwF
5JupYYMir8YM3pzXRZ9e2fG8oA3dogYJwTmoza0UjGBDxXXulOYKxtbUHclVqlQV
CxGISQQYEQIACQUCSXNUPQIbDAAKCRAhYakHNaz3uGxsAJ0ThFB49LSamwGJg2KN
+Sjn5IzkZQCfR6ZcbDvn9zmdo1/H2oGs6SIJbLM=
=FYvw
-----END PGP PUBLIC KEY BLOCK-----

Crée un fichier dha-debpackages.key, tu y copies/colles la clé.
Dans Synaptic ---> Configuration ---> Dépots ---> Authentification ---> Importer la clé.

A+

Hors ligne

#9 Le 16/09/2010, à 09:20

Zourba

Re : Erreur gestionnaire de paquets synaptic

Merci, je créé le fichier avec gedit ?

Hors ligne

#10 Le 16/09/2010, à 09:40

Zourba

Re : Erreur gestionnaire de paquets synaptic

Ca y est, j'ai réussi mettre Zygrib dans les dépôts. Merci

Par contre, maintenant, il que j'installe

Voici le script :

#!/bin/bash

# Petit script pour installer les cartes gshhs de plus haute résolution
# dans le répertoire /opt/zyGrib/maps/gshhs
## Script to install gshhs maps in higher resolution in
## /opt/zyGrib/maps/gshhs

# à utiliser après instalation du paquet zyGrib-xxx.deb
# Informations complètes sur http://zygrib.org
## to be used after zyGrib-xxx.deb
## All info on http://zygrib.org

# Auteur : Dominique Hausser <dominique@hausser.ch>
# Date : 7 août 2008
# Update : 02/09/2008; 05/12/2008

# à faire tourner en root pour pouvoir écrire dans le répertoire /opt
# ne pas oublier de le rendre exécutable : chmod +x gshhs_maps2_deb_install
## use the script with root to be able to write in rep /opt
## do not forget : chmod +x gshhs_install

cd /opt/zyGrib
sudo wget http://zygrib.org/getfile.php?file=zyGrib_maps2.tgz
sudo tar -xvvzf zyGrib_maps2.tgz
sudo chown root:root maps/gshhs/*
sudo rm -rf zyGrib_maps2.tgz

exit 0

Comment je fait pour l'installer ?

Hors ligne