You are not logged in.
When trying to upgrade one box I get a database error message about a gnome-desktop version and name mismatch error.
On a second box I did not get that message but trying an update It fails with the message -
error: gnome-desktop: signature from "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" is invalid
:: File /var/cache/pacman/pkg/gnome-desktop-1:3.26.2-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
I assume, which is often a fatal error, that I should delete the file and try to update again later, after the package is fixed. Or do I have another problem?
Last edited by weedfreak (2017-12-31 09:56:28)
Offline
Make sure your system time is correct, and try a different mirror.
Without seeing the first error, there's nothing we can do to help.
Last edited by WorMzy (2017-12-31 10:41:30)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
The first erro was
error: local database is inconsistent: name mismatch on package gnome-desktop
error: local database is inconsistent: version mismatch on package gnome-desktop
which appeared after the repository updates during pacman -Syu
Time is updated by ntp so I assume is correct, I also tried different mirrors.
Offline
Okay, it doesn't look like these errors are related, it's likely just a coincidence that the gnome-destop package is involved in both. Please open a new topic about the inconsistent database error, and please include the output of the following commands in it:
$ ls -ld gnome-desktop*
$ find /var/lib/pacman/local/gnome-desktop*/desc -print -exec cat {} \;
Also, please update this topic's title to describe the corrupted package error.
Were you removing the corrupted package when prompted? If not, do that so pacman can download a fresh copy from the other mirror. If you still get the same error, don't delete the package; instead, post the outputs from the following commands:
$ ls -l /var/cache/pacman/pkg/gnome-desktop-1:3.26.2-2-x86_64.pkg.tar.xz
$ sha256sum /var/cache/pacman/pkg/gnome-desktop-1:3.26.2-2-x86_64.pkg.tar.xz
$ pacman-key --list-keys "Jan Alexander Steffens"
$ timedatectl
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline