You are not logged in.

#1 2014-04-16 18:24:14

Matan
Member
Registered: 2014-04-16
Posts: 2

database is not valid after upgrade

Hello, I'm pretty much new in this forum, any way here is the issue:
I was about to install some package from the official repositories, and I got 404, so I tried -

# pacman -Syu

not something serious, so I tried to download the package again, but I got this error -

[root@archlinux:/]# pacman -S kdebindings-python
error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" is unknown trust
error: database 'blackarch' is not valid (invalid or corrupted database (PGP signature))

So I guess I need to downgrade/delete the 'blackarch' database, but as you might guess, I don't know how to ..

Offline

#2 2014-04-16 18:28:03

the_shiver
Member
Registered: 2013-03-27
Posts: 130

Re: database is not valid after upgrade

Offline

#3 2014-04-16 18:31:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: database is not valid after upgrade

That won't work as OP is using an unofficial repo. So, not a Pacman issue, moving to AUR issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2014-04-25 19:27:59

loqs
Member
Registered: 2014-03-06
Posts: 19,048

Re: database is not valid after upgrade

Matan wrote:

Hello, I'm pretty much new in this forum, any way here is the issue:
I was about to install some package from the official repositories, and I got 404, so I tried -

# pacman -Syu

not something serious, so I tried to download the package again, but I got this error -

[root@archlinux:/]# pacman -S kdebindings-python
error: blackarch: signature from "Levon 'noptrix' Kayan (BlackArch Developer) <noptrix@nullsecurity.net>" is unknown trust
error: database 'blackarch' is not valid (invalid or corrupted database (PGP signature))

So I guess I need to downgrade/delete the 'blackarch' database, but as you might guess, I don't know how to ..

/etc/pacman.conf holds the locations used by pacman,  for the database default is the line

#DBPath      = /var/lib/pacman/

so you could removing the db from there but if its still enabled in pacman.conf that would cause it to be created again and arrive at the same situation
or you could comment out / delete the lines lower down in /etc/pacman.conf for the 'blackarch' repository
or you could add the signature used by the unofficial repository to your local keyring see https://wiki.archlinux.org/index.php/Pa … icial_keys
or possibly the worst option you could disable signature checking for that repository https://wiki.archlinux.org/index.php/Pa … e_checking

Offline

#5 2014-04-25 21:46:59

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

Re: database is not valid after upgrade

Offline

Board footer

Powered by FluxBB