You are not logged in.

#1 2012-08-03 23:26:14

[DoodoM]
Member
From: Bilbao/Spain
Registered: 2008-04-25
Posts: 13

I can't update packages after upgrading pacman to 4.0.3

I know this was already treated broadly about two months ago, but I can't update after upgrading pacman because of continuous problems with certain signatures (at least one).

I have already tried this:

rm -rf /etc/pacman.d/gnupg
pacman -Scc
pacman-key --init
pacman-key --populate archlinux

But I still get this error when trying to upgrade the system:

error: virtuoso: signature from "Andrea Scarpino (Arch Linux) <andrea@archlinux.org>" is invalid
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Could anybody help me? I'm pretty devastated with this.

Thanks!

My /etc/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
# 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

# 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 = Optional TrustedOnly

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

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

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

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

[community]
SigLevel = PackageRequired
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

Last edited by [DoodoM] (2012-08-03 23:39:56)

Offline

#2 2012-08-04 07:47:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: I can't update packages after upgrading pacman to 4.0.3

https://bugs.archlinux.org/task/30994
Try a different mirror.

Offline

#3 2012-08-04 07:50:48

progandy
Member
Registered: 2012-05-17
Posts: 5,317

Re: I can't update packages after upgrading pacman to 4.0.3

karol wrote:

Try the different mirror and force the download of the new package database: pacman -Syy


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#4 2012-08-04 08:03:42

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,967
Website

Re: I can't update packages after upgrading pacman to 4.0.3

Also check if your system time is correct.

Offline

#5 2012-08-04 13:18:06

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: I can't update packages after upgrading pacman to 4.0.3

Re: error: failed to commit transaction (invalid or corrupted package)

see the following: https://bbs.archlinux.org/viewtopic.php?id=144814

Offline

#6 2012-08-05 02:09:54

[DoodoM]
Member
From: Bilbao/Spain
Registered: 2008-04-25
Posts: 13

Re: I can't update packages after upgrading pacman to 4.0.3

Thanks everyone! I guess it was a faulty mirror.

I also had problems upgrading glibc because /lib had to be linked to /usr/lib, but I fixed it seeking for helpful tips on the forum. What I did was move everything from /lib to /usr/lib, shutdown, start adding break=postmount to kernel line, mount the filesystem, remove /lib folder, link /usr/lib to /lib and reboot. Then I reinstalled glibc and everything went well.

Now some fonts look half-cutted in Gnome Shell when the window or panel which contains them is in background and I don't know why. But it is not the first time I have "graphical artifacts" with Arch Linux on this laptop. I think has something to do with the compositing.

Offline

Board footer

Powered by FluxBB