Domande inerenti al gestore dei pacchetti di Arch Linux

Messaggio10 marzo 2012, 17:08 - [Risolto] Problema compilazione e aggiornamento AUR #117543

Da quando ho rifatto la procedura di importazioni chiavi da pacman-key non riesco più a aggiornare i pacchetti AUR con yaourt:

Codice: Seleziona tutto
errore: '/tmp/yaourt-tmp-van/PKGDEST.yIC/awn-extras-applets-0.4.0-13-i686.pkg.tar.xz': il pacchetto non è valido oppure è corrotto (firma PGP)


anche compilando manualmente esce lo stesso errore :shock:
Ultima modifica di nav il 10 marzo 2012, 20:30, modificato 1 volta in totale.
Linux user #490716
Avatar utente
nav
Arciere Provetto
 
Messaggi: 607
Iscritto il: 7 ottobre 2009, 22:53
Località: Monza
Top

Re: Problema compilazione e aggiornamento AUR

Messaggio10 marzo 2012, 17:17 - [Risolto] Problema compilazione e aggiornamento AUR #117545

mmm in teoria compilando da aur non dovrebbe avere chiavi se non la tua che tu generi il pacchetto in locale o sbaglio?
Se avete risolto il vostro problema, editate il primo post aggiungendo [Risolto] al titolo.
Problemi con Arch ? 1°Metodo-2°Metodo-3°Metodo
ArchWiki Translation Team - Cerchiamo traduttori!
Avatar utente
veleno77
Moderatore
 
Messaggi: 6096
Iscritto il: 25 marzo 2008, 19:26
Località: Torino
Top

Re: Problema compilazione e aggiornamento AUR

Messaggio10 marzo 2012, 17:40 - [Risolto] Problema compilazione e aggiornamento AUR #117549

quando avevo dato trust marginal alle chiavi funzionava... ora ho trust ultimate. che sia quello il problema?

questo è yaourtc (che non ho mai toccato)
Codice: Seleziona tutto
#    yaourtrc  - Configuration for yaourt
#
#   See yaourtrc(5) for more information
#   
#

# General
#AUTOSAVEBACKUPFILE=0
#DEVELBUILDDIR="/var/abs/local/yaourtbuild"
#DEVEL=0
#EDITOR="$EDITOR"
#FORCEENGLISH=0
#FORCE=0
#TMPDIR="/tmp"

# SUDO
#SUDONOVERIF=0      # Avoid multiple sudo checks when timestamp_timeout=0
#SUDOREDIRECT=1     # Define to 0 in case you use a fingerprint device

# ABS
# If the package "abs" is installed, those var are parsed from abs.conf
#REPOS=()           # REPOS available at $SYNCSERVER
#SYNCSERVER=""

# AUR
#AURCOMMENT=5
#AURDEVELONLY=0
#AURSEARCH=1
#AURUPGRADE=0
#AURVOTE=1

# Build
#EXPORT=0           # Export to 1: EXPORTDIR or PKGDEST
                    # 2: pacman cache (as root)
#EXPORTSRC=0        # Need EXPORT>0 to be used
#EXPORTDIR=""       # If empty, use makepkg's connfiguration (see makepkg.conf)

# Prompt
#NOCONFIRM=0
#UP_NOCONFIRM=0     # No prompt while build upgrades (including -Sbu)
#BUILD_NOCONFIRM=0  # Only prompt for editing files
#EDITFILES=1
#NOENTER=1

# Output
#USECOLOR=1
#DETAILUPGRADE=1
#SHOWORPHANS=1
#TERMINALTITLE=1

# Command
#PACMAN="pacman"
#DIFFEDITCMD="vimdiff"
Linux user #490716
Avatar utente
nav
Arciere Provetto
 
Messaggi: 607
Iscritto il: 7 ottobre 2009, 22:53
Località: Monza
Top

Re: Problema compilazione e aggiornamento AUR

Messaggio10 marzo 2012, 18:30 - [Risolto] Problema compilazione e aggiornamento AUR #117553

potrebbe esserlo.. prova a rimettere trust marginal (mi pare che io lo abbia così) e vedi se poi riesci a creare pacchetti
Se avete risolto il vostro problema, editate il primo post aggiungendo [Risolto] al titolo.
Problemi con Arch ? 1°Metodo-2°Metodo-3°Metodo
ArchWiki Translation Team - Cerchiamo traduttori!
Avatar utente
veleno77
Moderatore
 
Messaggi: 6096
Iscritto il: 25 marzo 2008, 19:26
Località: Torino
Top

Re: Problema compilazione e aggiornamento AUR

Messaggio10 marzo 2012, 19:02 - [Risolto] Problema compilazione e aggiornamento AUR #117554

niente da fare...
Linux user #490716
Avatar utente
nav
Arciere Provetto
 
Messaggi: 607
Iscritto il: 7 ottobre 2009, 22:53
Località: Monza
Top

Re: Problema compilazione e aggiornamento AUR

Messaggio10 marzo 2012, 19:32 - [Risolto] Problema compilazione e aggiornamento AUR #117557

mmmm non sono un esperto di chiavi non vorrei si sia corrotta la tua chiave di sistema. ma in teoria non dovrebbe influire cioè le chiavi sono usate da pacman per controllare che il paccheto da installare sia genuino... se io creo un paccheto con makepkg non dovrei aver bisongo di chiavi... a meno che non sia pacman che si lamenta che non sia firmato.

Codice: Seleziona tutto
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
ILoveCandy
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/aria2c --allow-overwrite=true -c --file-allocation=none --log-level=error -m2 --max-connection-per-server=2 --max-file-not-found=5 --min-split-size=5M --no-conf --remote-time=true --summary-interval=60 -t5 -d / -o %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#UseDelta
TotalDownload
CheckSpace
#VerbosePkgLists

# PGP signature checking
# NOTE: None of this will work without running `pacman-key --init` first.
# The compiled in default is equivalent to the following line. This requires
# you to locally sign and trust packager keys using `pacman-key` for them to be
# considered valid.
#SigLevel = Optional TrustedOnly
# If you wish to check signatures but avoid local sign and trust issues, use
# the following line. This will treat any key imported into pacman's keyring as
# trusted.
#SigLevel = Optional TrustAll
# For now, off by default unless you read the above.
SigLevel = Optional TrustedOnly

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[kde-unstable]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

#[testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[community]
SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

[archlinuxfr]
## The french Arch Linux communities packages
SigLevel = PackageOptional
Server = http://repo.archlinux.fr/$arch

[repo-ck]
SigLevel = PackageOptional
Server = http://repo-ck.com/$arch

[games]
SigLevel = PackageOptional
Server=http://141.70.124.12/kdemod/games/$arch

[arch-fonts]
# Prebuilt packages for font packages found in AUR
# This should be faster than building from source
# as many have download speed of 10KB/s. If you find
# missing font, email to <gmail.com: jesse.jaara>
SigLevel = PackageOptional
Server = http://huulivoide.pp.fi/Arch/arch-fonts
Se avete risolto il vostro problema, editate il primo post aggiungendo [Risolto] al titolo.
Problemi con Arch ? 1°Metodo-2°Metodo-3°Metodo
ArchWiki Translation Team - Cerchiamo traduttori!
Avatar utente
veleno77
Moderatore
 
Messaggi: 6096
Iscritto il: 25 marzo 2008, 19:26
Località: Torino
Top

Re: Problema compilazione e aggiornamento AUR

Messaggio10 marzo 2012, 19:58 - [Risolto] Problema compilazione e aggiornamento AUR #117561

Uhm allora non dovrebbe aggiornarsi nemmeno il sistema... l'errore esce subito dopo il pacman -U infatti...
Linux user #490716
Avatar utente
nav
Arciere Provetto
 
Messaggi: 607
Iscritto il: 7 ottobre 2009, 22:53
Località: Monza
Top

Re: Problema compilazione e aggiornamento AUR

Messaggio10 marzo 2012, 20:14 - [Risolto] Problema compilazione e aggiornamento AUR #117565

che siglevel usi io nel mio pacman.conf
Codice: Seleziona tutto
SigLevel = Optional TrustedOnly
Se avete risolto il vostro problema, editate il primo post aggiungendo [Risolto] al titolo.
Problemi con Arch ? 1°Metodo-2°Metodo-3°Metodo
ArchWiki Translation Team - Cerchiamo traduttori!
Avatar utente
veleno77
Moderatore
 
Messaggi: 6096
Iscritto il: 25 marzo 2008, 19:26
Località: Torino
Top

Re: Problema compilazione e aggiornamento AUR

Messaggio10 marzo 2012, 20:29 - [Risolto] Problema compilazione e aggiornamento AUR #117567

Risolto! Avevo impostato (come da wiki)
Codice: Seleziona tutto
SigLevel = Required DatabaseOptional TrustedOnly


con solo Optional TrustedOnly funziona :)

grazie Veleno!
Linux user #490716
Avatar utente
nav
Arciere Provetto
 
Messaggi: 607
Iscritto il: 7 ottobre 2009, 22:53
Località: Monza
Top

Re: [Risolto] Problema compilazione e aggiornamento AUR

Messaggio10 marzo 2012, 21:20 - [Risolto] Problema compilazione e aggiornamento AUR #117569

di nulla allora il problema era proprio nella configurazione di pacman evidentemente con required "esigeva" una chiave che non trovava probabilmente...
Se avete risolto il vostro problema, editate il primo post aggiungendo [Risolto] al titolo.
Problemi con Arch ? 1°Metodo-2°Metodo-3°Metodo
ArchWiki Translation Team - Cerchiamo traduttori!
Avatar utente
veleno77
Moderatore
 
Messaggi: 6096
Iscritto il: 25 marzo 2008, 19:26
Località: Torino
Top


Torna a Pacman

Chi c’è in linea

Visitano il forum: Nessuno e 0 ospiti

Moderatori: 4javier, aleph, veleno77, adriano, Hilinus