You are not logged in.
was trying to install sublime-text on my system with this
https://www.sublimetext.com/docs/3/linu … ories.html
And it for some reason it messed up the key signatures.
I can't install new programs now, and nothing I've tried works.
This is what I get every time I try to pacman -S.
error: sublime-text: signature from "Sublime HQ Pty Ltd <support@sublimetext.com>" is unknown trust
error: database 'sublime-text' is not valid (invalid or corrupted database (PGP signature))
I've tried the pacman-key --init thing. As well as the dirmngr_ldapservers.conf file fix. No work.
Any help would be much appreciated!
Last edited by Intradastingly (2017-10-20 14:30:42)
Offline
Nevermind I figured it out.
I just deleted the sublime-text repository entry at the end of the /etc/pacman.conf.
Offline
You need to install using a supported package or build your own PKGBUILD. Installing software outside of Arch's package manager is waiting for a problem to happen.
Remove sublime and whatever else that installer did to your system, then install sublime from the AUR -- OR -- create your own PKGBUILD for it.
Also, you should mark this thread as [SOLVED] by editing your first post and appending [SOLVED] to the title.
Last edited by mrunion (2017-10-20 12:40:52)
Matt
"It is very difficult to educate the educated."
Offline
Thanks for the feedback!
Offline
You need to install using a supported package or build your own PKGBUILD. Installing software outside of Arch's package manager is waiting for a problem to happen.
Remove sublime and whatever else that installer did to your system, then install sublime from the AUR -- OR -- create your own PKGBUILD for it.
Also, you should mark this thread as [SOLVED] by editing your first post and appending [SOLVED] to the title.
What.
"I just deleted the sublime-text repository entry at the end of the /etc/pacman.conf."
Sublime Text offers a pacman repository for Arch Linux users to install their proprietary program from. That's not an installer.
Their instructions are:
curl -O https://download.sublimetext.com/sublimehq-pub.gpg && sudo pacman-key --add sublimehq-pub.gpg && sudo pacman-key --lsign-key 8A8F901A && rm sublimehq-pub.gpg
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | sudo tee -a /etc/pacman.confWhich is pretty darn reasonable when it comes to unofficial repos with mysterious packages. ![]()
...
I don't know how pacman-key --add ... && pacman-key --lsign-key ... would mess up *other* packages though. And this is a purely gpg/pacman-key issue.
What does pacman-key --list-key 8A8F901A report?
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
I don't know how pacman-key --add ... && pacman-key --lsign-key ... would mess up *other* packages though. And this is a purely gpg/pacman-key issue.
What does pacman-key --list-key 8A8F901A report?
pacman refuses to start if any repository is configured with a signature and the signature is not trusted or invalid. I guess for some reason the sublime key is not added correctly to the keyring.
Last edited by progandy (2017-10-20 18:41:59)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Oh, good point, pacman will ignore a missing database signature (since official repos aren't signed), but if one is available it will check the validity.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
pacman-key --list-key 8A8F901A gives me this.
gpg: Note: trustdb not writable
pub rsa4096 2017-05-08 [SCEA]
1EDDE2CDFC025D17F6DA9EC0ADAE6AD28A8F901A
uid [ unknown] Sublime HQ Pty Ltd <support@sublimetext.com>
sub rsa4096 2017-05-08 [S]Offline
Did you sign it with --lsign-key? What is the output of
pacman-key --list-sig 8A8F901A| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
No I didn't, here is the output.
gpg: Note: trustdb not writable
pub rsa4096 2017-05-08 [SCEA]
1EDDE2CDFC025D17F6DA9EC0ADAE6AD28A8F901A
uid [ unknown] Sublime HQ Pty Ltd <support@sublimetext.com>
sig 3 ADAE6AD28A8F901A 2017-05-08 Sublime HQ Pty Ltd <support@sublimetext.com>
sub rsa4096 2017-05-08 [S]
sig ADAE6AD28A8F901A 2017-05-08 Sublime HQ Pty Ltd <support@sublimetext.com>Offline
There is the problem. Since you did not sign the key, pacman does not trust it and aborts when it tries to verify the sublime-text repository.
Edit: By the way, the instructions for [sublime-text] include the --lsign-key command.
Last edited by progandy (2017-10-20 21:16:31)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline