You are not logged in.

#1 2015-12-06 08:46:33

lvc
Member
Registered: 2011-10-12
Posts: 3

Database signature error when updating via PackageKit

When I try to update my system via any PackageKit frontend (tested with gpk-update-viewer, gnome-software and apper), I get the following error:

[core]: invalid or corrupted database (PGP signature)

Updating directly via pacman works fine.

A search for the error gets me examples of this kind of error coming from pacman, and the suggested fix is to include the following line in pacman.conf:

SigLevel    = Required DatabaseOptional

But mine already has this (perhaps explaining why pacman doesn't give the error). Full pacman.conf:

#
# /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
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

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

#NoUpgrade   =
#NoExtract   =

# Misc options
UseSyslog
Color
TotalDownload
CheckSpace
VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# 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]
#Include = /etc/pacman.d/mirrorlist

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

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

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

[community]
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]
#Include = /etc/pacman.d/mirrorlist

[multilib]
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

[alucryd-multilib]
# Stuff for steam
Server = http://pkgbuild.com/~alucryd/$repo/x86_64
SigLevel = Optional

Do I perhaps need to make a similar change to the PackageKit configuration? I'm including my current PackageKit configuration for completeness, although it is unmodified from the installed default.

/etc/PackageKit/Vendor.conf:

# Only the system vendor should modify this file, ordinary users
# should not have to change anything.

# Distributions should patch or replace this file when generating packages

[PackagesNotFound]

# This is a link to a vendor URL which is shown when a suitable package
# could not be found in any remote software source.
# The page set here should explain how to add new software sources if required.
#
# If the value is set to 'none' then no link is shown.
#
# default=http://www.packagekit.org/pk-package-not-found.html
DefaultUrl=http://www.packagekit.org/pk-package-not-found.html

# The URL which is shown to the user when a codec could not be found.
# It should explain why certain codecs cannot be used, and perhaps show
# links to web stores where the codec can be legally purchased.
#
# If the value is set to 'none' then the value of DefaultUrl is used.
#
# default=none
CodecUrl=none

# The URL which is shown to the user when hardware drivers could not be found.
# It should explain why some hardware is not supported, and links to futher
# information.
#
# If the value is set to 'none' then the value of DefaultUrl is used.
#
# default=none
HardwareUrl=none

# The URL which is shown to the user when fonts could not be found.
# Alternatives should probably be suggested where possible.
#
# If the value is set to 'none' then the value of DefaultUrl is used.
#
# default=none
FontUrl=none

# The URL which is shown to the user when programs handing a mime tpye could not
# be found. It should probably explain how to use wine if the program is a
# Windows program, or suggest alternatives.
#
# If the value is set to 'none' then the value of DefaultUrl is used.
#
# default=none
MimeUrl=none

/etc/PackageKit/PackageKit.conf:

# Only the system administrator should modify this file, ordinary users
# should not have to change anything.

[Daemon]

# Default backends, as chosen in the configure script. This will be used
# where no --backend="foo" option is given to the daemon.
#
# The order they are specified is the order they are tried, so for the
# value "foo,bar" first "foo" will be attempted and then "bar" if the
# libpk_backend_foo.so module load failed.
#DefaultBackend=auto

# Unlock the backend after this many seconds idle.
#BackendShutdownTimeout=5

# Shut down the daemon after this many seconds idle. 0 means don't shutdown.
#ShutdownTimeout=300

# Keep the packages after they have been downloaded
#KeepCache=false

/etc/PackageKit/alpm.d/groups.list:

adesklet-desklets	desktop-other
base			system
base-devel		programming
bmp-io-plugins		multimedia
bmp-plugins		multimedia
cegcc			programming
compiz			desktop-other
compiz-fusion		desktop-other
compiz-fusion-gtk	desktop-gnome
compiz-fusion-kde	desktop-kde
compiz-gnome		desktop-gnome
compiz-gtk		desktop-gnome
compiz-kde		desktop-kde
e17-extra-svn		desktop-other
e17-libs-svn		desktop-other
e17-svn			desktop-other
fprint			other
gimp-help		other
gimp-plugins		other
gnome			desktop-gnome
gnome-extra		desktop-gnome
gnustep-core		desktop-other
google-gadgets		desktop-other
gstreamer0.10-plugins	multimedia
kde			desktop-kde
kdeaccessibility	desktop-kde
kdeadmin		desktop-kde
kdeartwork		desktop-kde
kdebase			desktop-kde
kdeedu			desktop-kde
kde-extragear		desktop-kde
kdegames		desktop-kde
kdegraphics		desktop-kde
kde-l10n		desktop-kde
kde-meta		desktop-kde
kdemultimedia		desktop-kde
kdenetwork		desktop-kde
kdepim			desktop-kde
kdeplasma-addons	desktop-kde
kdesdk			desktop-kde
kdetoys			desktop-kde
kdeutils		desktop-kde
kdewebdev		desktop-kde
koffice			desktop-kde
ladspa-plugins		multimedia
lib32			other
lxde			other
qtcurve			desktop-kde
rox-desktop		desktop-other
telepathy		other
texlive-lang		other
texlive-lang-doc	other
texlive-most		other
texlive-most-doc	other
thunderbird-i18n	other
thunderbird-spell-i18n	other
vim-plugins		other
xfce4			desktop-xfce
xfce4-goodies		desktop-xfce
xmms-effect-plugins	multimedia
xmms-io-plugins		multimedia
xmms-plugins		multimedia
xorg			desktop-other
xorg-input-drivers	desktop-other
xorg-video-drivers	desktop-other

/etc/PackageKit/alpm.d/pacman.conf:

# PackageKit configuration for the alpm backend
# See the pacman.conf(5) manpage for option and repository directives.

[options]

# Use default pacman configuration initially
#
Include = /etc/pacman.conf

# Prevent PackageKit from removing itself
#
HoldPkg = packagekit

There is also a /etc/PackageKit/alpm.d/repos.conf which is empty.

Last edited by lvc (2015-12-06 09:16:02)

Offline

Board footer

Powered by FluxBB