PDA

Visualizza la versione completa : [swaret] gpg signature failed


Fra the Great
10-01-2005, 00:21
Ciao a tutti, sto aggiornando slackware alle current ma in fase di download su molti pacchetti ho un messaggio di errore sul check della gpg signature. Il pachetto viene comunque scaricato! che significa? i pacchetti possono essere installati o meglio lasciar perdere? i miei repository sono quelli dello swaret.conf originale
grazie
:ciauz:

alex86
10-01-2005, 00:31
ma... il check sum ke controlla ke il pakketto nn sia corrotto..sto gpg nn so ke sia,,

Fra the Great
11-01-2005, 23:33
Continuo ad ottenere questo messaggio

[ ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-current ]
### Fetching kdetoys-3.3.2-i486-1 (2557 kB)...
--- 2557 kB/2557 kB [TOTAL: 63625 kB/172677 kB] ~ 49 kB/s DONE!
=> <MD5CHECK> MD5 for Package kdetoys-3.3.2-i486-1 OK!
[ ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-current ]
### Fetching GPG Signature File for kdetoys-3.3.2-i486-1... DONE!
%%% Verifying kdetoys-3.3.2-i486-1 GPG Signature... DONE!
=> <GPGCHECK> GPG Signature Check Package kdetoys-3.3.2-i486-1... FAILED!
=> <GPGCHECK> ERROR: Public GPG Key NOT FOUND!
=> <GPGCHECK> Please, Consult F.A.Q. or our Forum at http://www.swaret.org!

succede solo a me?
:master:

:dh:

francofait
12-01-2005, 00:24
Originariamente inviato da Fra the Great
Continuo ad ottenere questo messaggio

[ ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-current ]
### Fetching kdetoys-3.3.2-i486-1 (2557 kB)...
--- 2557 kB/2557 kB [TOTAL: 63625 kB/172677 kB] ~ 49 kB/s DONE!
=> <MD5CHECK> MD5 for Package kdetoys-3.3.2-i486-1 OK!
[ ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-current ]
### Fetching GPG Signature File for kdetoys-3.3.2-i486-1... DONE!
%%% Verifying kdetoys-3.3.2-i486-1 GPG Signature... DONE!
=> <GPGCHECK> GPG Signature Check Package kdetoys-3.3.2-i486-1... FAILED!
=> <GPGCHECK> ERROR: Public GPG Key NOT FOUND!
=> <GPGCHECK> Please, Consult F.A.Q. or our Forum at http://www.swaret.org!

succede solo a me?
:master:

:dh:

swaret.conf
commenta l'opzione x lo check della signature

oppure scaricati direttamente le iso x slackware current - almeno fai subito un' installazione pulita senza bisogno di upgradare.


http://mirrors.unixsol.org/slackware/current-isos/

Sergio Pedone
12-01-2005, 02:30
Originariamente inviato da Fra the Great
succede solo a me?
:master:

:dh:
Sfortunatamente no.
Ho analizzato poco il problema, ma una cosa mi saltata all'occhio. Sul portatile per effettuare alcune prove, ho rimosso una 'vecchia' current, installato diverse distro ed ora ritornata su la 'nuova' current.
Finora non ho mai avuno noie con l'utilizzo di swaret e tutto sempre filato via liscio senza intoppi. Con la nuova release della current, se non scarico i pacchetti dai vari mirrors in ambiente di root, mi viene segnalato l'errore di pacchetto corrotto di gpg.
Ho fatto i seguenti test:
- scarico manualmente da utente normale i pacchetti aggiornati da uno ed uno solo mirror che ho impostato in swaret.conf, verifico integrita' ed autenticita'. Faccio la medesima cosa con l'utente root prima di installarli.
I pacchetti sono perfetti e possono essere installati.
- aggiorno i pacchetti tramite swaret. Per diventare root, lancio un banale "su" e faccio partire la procedura di aggiornamento. Niente da fare. Fallisce.
- aggiorno i pacchetti dopo essere in pieno ambiente di root (su -). I pacchetti risultano perfetti.
- provo in ambiente "sudo" con utente dedicato. Fallisce anche qui.
- provo a scaricare i pacchetti senza installarli, ma incontro gli stessi problemi di cui sopra.
- provo a scaricare manualmente i pacchetti, verificarli sia con utente che successivente con root, posizionarli in /var/swaret, lanciare la procedura di aggiornamento. I pacchetti vengono dati per corrotti.
- provo ad upgradare swaret alla versione di sviluppo, ma la situazione non migliora.
Sulla slack 10 aggiornata con swaret, non ho problemi di questo tipo.

Riporto uno dei test, tanto per capirci:


[sergio@tweety ~]$ su
Password:
bash-3.00# swaret --get xxgdb
swaret 1.7.0test4-1

Pacchetti corrispondenti alla parola chiave: xxgdb...
xxgdb-1.12-i386-1 (46 kB)

Prendo xxgdb-1.12-i386-1? (s/n/A/Q): [s]s
[ ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-current ]
### Scarico xxgdb-1.12-i386-1 (46 kB)...
--- [********************] 100%/100% [TOTALE: 100%/100%] FATTO!
=> <MD5CHECK> MD5 del Pacchetto xxgdb-1.12-i386-1 OK!
[ ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-current ]
### Scarico il File delle Firme GPG di xxgdb-1.12-i386-1... FATTO!
%%% Verifico xxgdb-1.12-i386-1 la Firma GPG... FATTO!
=> <GPGCHECK> Il Pacchetto xxgdb-1.12-i386-1 CORROTTO!

Pacchetti salvati in: /var/swaret!
Pacchetti del Repository salvati in: /var/swaret/repos/NOMEREPOSITORY!

bash-3.00# exit



[sergio@tweety ~]$ su -
Password:

The most difficult years of marriage are those following the wedding.

root@tweety:~# swaret --get xxgdb
swaret 1.7.0test4-1

Pacchetti corrispondenti alla parola chiave: xxgdb...
xxgdb-1.12-i386-1 (46 kB)

Prendo xxgdb-1.12-i386-1? (s/n/A/Q): [s]s
[ ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-current ]
### Scarico xxgdb-1.12-i386-1 (46 kB)...
--- [********************] 100%/100% [TOTALE: 100%/100%] FATTO!
=> <MD5CHECK> MD5 del Pacchetto xxgdb-1.12-i386-1 OK!
[ ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-current ]
### Scarico il File delle Firme GPG di xxgdb-1.12-i386-1... FATTO!
%%% Verifico xxgdb-1.12-i386-1 la Firma GPG... FATTO!
=> <GPGCHECK> Il Pacchetto xxgdb-1.12-i386-1 OK!

Pacchetti salvati in: /var/swaret!
Pacchetti del Repository salvati in: /var/swaret/repos/NOMEREPOSITORY!

root@tweety:~# logout


Non sono ancora riuscito a comprendere il perch in passato, parlo di qualche mese fa, con una slack-10-current questo problema non sussisteva.

Mah... :bh:

Sergio Pedone
12-01-2005, 02:31
Originariamente inviato da francofait
swaret.conf
commenta l'opzione x lo check della signature[/url]
mi puoi dare un buon motivo per non verificare l'autenticit dei pacchetti che scarico? son tutto orecchi...

francofait
12-01-2005, 11:38
fuori discussione che saltare lo check della signature , abbia per unico possibile motivo una possibile soluzione estrema completa del rischio di ritrovarsi con il SO instabile. Se risultano corrotti anche scaricandoli prima su disco come hai fatto , tutto come non detto d'accordo con te che meglio proprio di no.
Visto che con l'impostazione swaret.conf mia non ho problemi di alcun genere c' da pensare che i guai vengano direttamente dalle repostri che stai usando.
Ti faccio una copia :
################################################## ##########
#
# swaret.conf, Version: 1.6.2
#
### /etc/swaret.conf - SWARET EXAMPLE CONFIGURATION FILE ###
#
# Define a valid Slackware Linux Version.
# (Used for Dependency Support and other Features)
#
# NOTE: If you want to use Slackware Linux Current,
# set VERSION to 'current' (VERSION=current).
#
VERSION=current
#
# Define the language for status and error messages
LANGUAGE=ITALIANO
#
# ----------------------------------------------------------
# Define Slackware (8.1 or Higher or Current) Linux Mirrors.
# (Used for Official Slackware Linux Packages)
# (Slackware Linux Mirrors available at http://www.slackware.com)
#
# Syntax: ROOT=PROTOCOL:URL
#
# NOTE: swaret will use the order of the specified ROOT URL's.
#
#ROOT=file:/mnt/cdrom
#ROOT=file:/mnt/dvdrom
#ROOT=file:/mnt/usbmemstick
ROOT=ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-$VERSION
ROOT=http://sunsite.cnlab-switch.ch/ftp/mirror/slackware/slackware-$VERSION
ROOT=ftp://ftp.slackware.no/pub/linux/slackware/slackware-$VERSION
ROOT=http://www.slackware.no/slackware/slackware-$VERSION
ROOT=ftp://ftp.slackware.at/slackware-$VERSION
ROOT=http://www.slackware.at/data/slackware-$VERSION
ROOT=ftp://ftp.planetmirror.com/pub/slackware/slackware-$VERSION
ROOT=http://ftp.planetmirror.com/pub/slackware/slackware-$VERSION
#ROOT=rsync://rsync.slackware.no/slackware/slackware-$VERSION
#ROOT=rsync://rsync.slackware.at/slackware/slackware-$VERSION
#ROOT=file:/pub/slackware
#ROOT=file:/mnt/nfsshare/slackware
#ROOT=file:/mnt/sambashare/slackware
#
# -----------------------------------------------------------
# Define Repository URL's with Slackware Linux Packages.
# (Used for Repository Slackware Linux Packages)
# (Repository URL's available at http://www.swaret.org/?menu=sp)
#
# NOTE 1: To use a Local Repository or Remote Repository,
# be sure it contains the following Files:
# - CHECKSUMS.md5 (For MD5 Sum, REQUIRED)
# - FILELIST.TXT (For Package Name + Size, REQUIRED)
# - PACKAGES.TXT (For Package Description, NOT REQUIRED)
# - MANIFEST.bz2 (For Dependency Support, NOT REQUIRED)
# NOTE 2: To create your own Repository, use 'swaret-tools'.
# You can get 'swaret-tools' at http://www.swaret.org!
#
# Syntax: REPOS_ROOT=REPOSITORYNAME%PROTOCOL:URL
#
# NOTE 1: The REPOSITORY NAME can only be ONE Keyword!
# NOTE 2: swaret will use the order of the specified REPOS_ROOT URL's.
#
#REPOS_ROOT=LinuxPackagesDOTNET%ftp://ftp.linuxpackages.net/pub/Slackware-10.1
#
#REPOS_ROOT=My_Slackware_Packages_On_CD-ROM%file:/mnt/cdrom
#REPOS_ROOT=My_Slackware_Packages_On_DVD-ROM%file:/mnt/dvdrom
#REPOS_ROOT=My_Slackware_Packages_On_USB_Memory_St ick%file:/mnt/usbmemstick
#REPOS_ROOT=SomeRemoteRepository%ftp://ftp.someremoterepository.net/slackware/slackware-10.1
#REPOS_ROOT=SomeRemoteRepository%http://www.someremoterepository.net/slackware/slackware-10.1
#REPOS_ROOT=SomeRemoteRepository%rsync://rsync.someremoterepository.net/slackware/slackware-10.1
#REPOS_ROOT=MyLocalRepository%file:/pub/myrepos"
#REPOS_ROOT=MyRemoteRepository_Using_NFS-Share%file:/mnt/nfsshare/slackware
#REPOS_ROOT=MyRemoteRepository_Using_Samba-Share%file:/mnt/sambashare/slackware
#
# ------------------------------------------------------------
# Define Libraries (8.1 or Higher or Current) List Mirrors.
# (Used for Dependency Support)
#
# NOTE 1: You need to specify a Libraries List Mirror which
# contains a 'libraries-VERSION' File.
#
# NOTE 2: To create the Libraries List, use 'swaret-tools'.
# You can get 'swaret-tools' at http://www.swaret.org!
# You can also clear all DEP_ROOT Variable(s) which will
# allow swaret to create the Libraries List for you
# during Dependency Check using the defined ROOT Variable(s) above.
#
# Syntax: DEP_ROOT=PROTOCOL:URL
#
# NOTE: swaret will use the order of the specified DEP_ROOT URL's.
#
#DEP_ROOT=file:/mnt/cdrom
#DEP_ROOT=file:/mnt/dvdrom
#DEP_ROOT=file:/mnt/usbmemstick
DEP_ROOT=http://www.swaret.org/swaret
DEP_ROOT=ftp://ftp.swaret.org/swaret
#DEP_ROOT=rsync://rsync.swaret.org/swaret
#DEP_ROOT=file:/pub/swaret
#DEP_ROOT=file:/mnt/nfsshare/swaret
#DEP_ROOT=file:/mnt/sambashare/swaret
#
# ----------------------------------------------------------
# General Settings
#
# Do you want swaret to use Random Slackware Linux Mirrors?
# -> 1 for yes, 0 for no.
#
RANDOMR=0
#
# Do you want swaret to parse all the Package Descriptions?
# -> If set to 1, swaret will also match Packages whose Description
# is matching the Keyword(s) you specify after --ACTION.
# NOTE: swaret will parse all the Package Descriptions for this,
# and might slow down swaret when using an older System.
# -> If set to 0, swaret will not use Package Descriptions
# to match one or more Packages.
#
USEPKGDESC=0
#
# If you don't want swaret to Upgrade, Install, Re-Install, Download,...
# some Packages, add the KEYWORDS to the EXCLUDE Variable.
# To disable Exclude Method: swaret --exclude -off
# To enable Exclude Method: swaret --exclude -on
#
# NOTE: You can add ANY EXTENDED REGEXP (Regular Expression) to the EXCLUDE Variable(s)
#
# Basic Exclude
#
EXCLUDE=kernel
EXCLUDE=lilo swaret
EXCLUDE=MANIFEST.bz2$
EXCLUDE=.*dl$ .*PACKAGER$ .*MYBUILD$
#
# Advanced Exclude
# Syntax: KEYWORD[DONT_EXCLUDE_ME_KEYWORD1,DONT_EXCLUDE_ME_KEYWORD2, ...]
# Example: kde-i18n[nl,en_GB] koffice-i18n[nl,en_GB]
#
EXCLUDE=kde-i18n[nl,en_GB] koffice-i18n[nl,en_GB]
#
# Do you want to enable Dependency Check?
# -> If set to 1, swaret will start the Dependency Check after
# every Upgrade, Install and Re-Install Procedure.
# -> If set to 0, swaret will not start the Dependency Check
# after any Procedure.
#
DEPENDENCY=1
#
# Do you want swaret to Search for missing Libraries (and Fix)
# which could be found on your System, but not tracked by ldconfig?
# -> 1 for yes, 0 for no.
#
DSEARCHLIB=1
#
# Set to 1, if you want swaret to use the 'slocate' program
# to Search for missing Libraries.
# (be sure to issue the 'updatedb' Command regularly!)
# If DSEARCHM is set to 0, swaret will use
# the 'find' program to locate missing Libraries.
# -> 1 for yes, 0 for no.
#
DSEARCHM=0
#
# Start MD5 Check after Fetching Packages, Patches and Sources?
# -> 1 for yes, 0 for no.
#
MD5CHECK=1
#
# Start GPG Signature Check after Fetching Packages, Patches and Sources?
#
# NOTE: Check out F.A.Q. (--faq gpg) how to Import a Public GPG Key which
# will be used by the GPG Signature Check.
#
# -> 1 for yes, 0 for no.
#
GPGCHECK=0
#
# Show Description for Packages during
# Upgrade, Install, Re-Install,... Procedures?
# -> If set to 0, you will not see a Description.
# -> If set to 1, you will see a Description.
#
DESC=0
#
# Cache Directory for (Repository) Packages and Sources.
#
CACHE_DIR=/var/swaret
#
# Enable Logging?
# -> 1 for yes, 0 for no.
#
LOG=1
#
# swaret Log File
#
LOG_FILE=/var/log/swaret
#
# Show Warnings?
# -> 1 for yes, 0 for no.
#
WARNINGS=1
#
# Show Information?
# -> 1 for yes, 0 for no.
#
INFORMATION=1
#
# -------------------------------------------------------------
# Network Settings
#
# Network Interface
# Use this if you have a Network Interface.
#
NIC=eth0
#
# Local Interface
# Use this if you do not have a Network Interface.
#
# For Example (CD-ROM):
# You got a Slackware Linux CD-ROM,
# mount the CD-ROM to /mnt/cdrom and
# set ROOT to 'file:/mnt/cdrom' in /etc/swaret.conf.
# Also, set NIC to 'lo' (Local Loop Device).
#
# NIC=lo
#
# Progress
# If set to 0, swaret will use the '%' Download Interface.
# If set to 1, swaret will use the 'size' Download Interface.
# If set to 2, swaret will use the 'wget/rsync' Download Interface.
#
PROGRESS=1
#
# Timeout for wget and/or rsync.
# -> Number of seconds for Timeout
#
TIMEOUT=35
#
# Retries for wget and/or rsync.
# -> Number of Retries
#
RETRIES=5
#
# Behind a Firewall? Using FTP Mirrors?
# -> 1 for yes, 0 for no
#
PASSIVE_FTP=1
#
# If you want HTTP or FTP Proxy Support,
# uncomment and Setup the following Variable:
#
# WGET_PROXY=http://IP or HOST:PORT
#
# If you want RSYNC Proxy Support,
# uncomment and Setup the following Variable:
#
# RSYNC_PROXY=IP or HOST:PORT
#
### /etc/swaret.conf - SWARET EXAMPLE CONFIGURATION FILE ###

Sergio Pedone
12-01-2005, 12:13
Ciao francofait.
Ho indicato nell'esempio di sopra un solo repository.
La prova giusto per essere un poco San Tommaso...
... l'ho estesa a tutti i vari repository.
Forse pero' non si capito bene il succo: i pacchetti dei
repository sono autentici ed integri, ma il controllo fatto
tramite swaret in un ambiente che non sia quello di una shell
di root, crea qualche disagio.

Per altri chiarimenti, sono sempre a disposizione...

:ciauz:

[EDIT]
Comunque nel tuo file di conf, non fai un controllo delle
firme con gpg, quindi non rilevante come contributo...
:)

Loading