You are not logged in.
Pages: 1
Hello, i'm having troubles with keyrings which is not allowing me to install or upgrade any packages. i have followed the "force" method posted on http://www.archlinux.org/news/filesyste … equired-1/ but still get errors. here is my readout.
sudo pacman -Syu --ignore filesystems && pacman -S filesystem --force
Password:
warning: config file /etc/pacman.d/mirrorlist, line 2: directive 'Server' in section 'options' not recognized.
:: Synchronizing package databases...
core is up to date
extra is up to date
community-testing is up to date
community is up to date
multilib-testing is up to date
multilib is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
Targets (2): archlinux-keyring-20120529-1 pacman-4.0.3-2
Total Installed Size: 3.72 MiB
Net Upgrade Size: 0.18 MiB
Proceed with installation? [Y/n] y
(2/2) checking package integrity [#############################################] 100%
error: archlinux-keyring: signature from "Pierre Schmitz <pierre@archlinux.de>" is unknown trust
error: pacman: signature from "Gaetan Bisson <gaetan.bisson@normalesup.org>" is unknown trust
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.Last edited by Megabyte (2012-06-07 18:21:23)
Offline
pacman-key --init && pacman-key --populate archlinux.. try again.
Offline
i've done that and get the following.
sudo pacman-key --init && sudo pacman-key --populate archlinux
==> ERROR: The keyring file /usr/share/pacman/keyrings/archlinux.gpg does not exist.Offline
this is what i get when i try to install archlinux-keyring
sudo pacman -S archlinux-keyring
Password:
warning: config file /etc/pacman.d/mirrorlist, line 2: directive 'Server' in section 'options' not recognized.
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
Targets (2): archlinux-keyring-20120529-1 pacman-4.0.3-2
Total Installed Size: 3.72 MiB
Net Upgrade Size: 0.18 MiB
Proceed with installation? [Y/n] y
(2/2) checking package integrity [########################################################################################] 100%
error: archlinux-keyring: signature from "Pierre Schmitz <pierre@archlinux.de>" is unknown trust
error: pacman: signature from "Gaetan Bisson <gaetan.bisson@normalesup.org>" is unknown trust
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.Offline
'warning: config file /etc/pacman.d/mirrorlist, line 2: directive 'Server' in section 'options' not recognized'
I'd at least update/fix your mirrorlist.
/offtopic
Edit: Seems like I was incorrect and its an error in /etc/pacman.conf itself
https://bbs.archlinux.org/viewtopic.php?pid=1094571
Anyone care to clarify?
Last edited by doug piston (2012-06-07 18:00:09)
Offline
sorry, i am unsure what you mean by update/fix mirrorlist. i've gone into pacman.d/mirrorlist and all are commented. which should be uncommented?
Last edited by Megabyte (2012-06-07 17:56:26)
Offline
The error is telling you exactly where you need to look...
Offline
sorry, i am unsure what you mean by update/fix mirrorlist. i've gone into pacman.d/mirrorlist and all are commented. which should be uncommented?
At least 1 mirror.
But the problem is also that you have some spurious config under the options section which you need to rectify.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Check and make sure your /etc/pacman.conf is set up correctly (especially the repo names in []).
Offline
sorry, i failed to look at that. fixed that (commented it) and still having issues with installing archlinux-keyring.
Offline
Pres,
I have looked at my /etc/pacman.conf and it appears to be setup properly according to what i have been reading elsewhere. here it is for viewing sake.
#
# /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.
#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
#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 = Never
#
# 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.
#[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
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
[multilib-testing]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[multilib]
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/custompkgsOffline
You have the testing repo header commented. That's where the warning is coming from:
Offline
yeah, that is gone now but i am still unable to install the keyrings due to the following errors:
Proceed with installation? [Y/n] y
(2/2) checking package integrity [########################################################################################] 100%
error: archlinux-keyring: signature from "Pierre Schmitz <pierre@archlinux.de>" is unknown trust
error: pacman: signature from "Gaetan Bisson <gaetan.bisson@normalesup.org>" is unknown trust
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.sort of lost on this one (as you can no doubt see)
Offline
should sigleve= Optional Trust All in pacman.conf be uncommented?
Offline
Just comment out the "SigLevel = PackageRequired" line for core, install archlinux-keyring and then uncomment it.
I'm not sure why you have those lines uncommented if you haven't set up package signing in the first place though...
Offline
Try this:
[options]
HoldPkg = pacman glibc
SyncFirst = pacman
Architecture = auto
CheckSpace
SigLevel = Never
[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
[multilib-testing]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[multilib]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlistThen update your system, then you should get a pacman.conf.pacnew (which you should fill out/edit accordingly) - backup pacman.conf and replace the current pacman.conf with the pacnew you edited to fit your needs.
[Edit]
Or, as Pres just pointed out, disable the check for core repo.
[/Edit]
Last edited by Psykorgasm (2012-06-07 18:21:02)
Offline
thanks, that worked!
Offline
I’m just leaving here a note with the solution to my problem after the recent update: Non-working keyboard and touchpad in X.
It was fixed after I removed /var/run and /var/lock from being tmpfs mounted in /etc/fstab.
Last edited by Nichollan (2012-06-07 21:18:04)
Offline
@Nichollan
Why in an, at least as far as I understand it, not related thread?
\(o_X)/
'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols
Offline
Mistake. I mistook it for another thread.
Offline
Pages: 1