You are not logged in.
I recently tried to use pacman to install sublime text with
sudo pacman -S sublime-text
now pacman is saying THAT AINT TRUSTWORTHY m8 even when im installing something else or not even putting anything.
This same thing happens with sy and syu.
I can try to install ukui and it will always output this
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))
for sy it also tries to install sublime-text
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
sublime-text 1827.0 B 7.22 KiB/s 00:00 [####################################] 100%
error: sublime-text: signature from "Sublime HQ Pty Ltd <support@sublimetext.com>" is unknown trust
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
From what I can tell pacman had a stroke trying to install sublime text and is now trying to install it every chance it gets.
I tried clearing paccache with paccache -r
I also restarted the system doesnt work.
Last edited by Blowzart (2021-11-15 06:32:54)
Offline
If you follow instructions on sublimetext.com (including importing signatures) and it is not working, please report them.
It is not official way to install packages.
Why you not try sublime-text from AUR?
Offline
I cant use AUR because pacman is broken and indefinetly tries to install sublime-text AUR's makepkg is a list of commands and things to do its likely it requires the usage of pacman which is broken.
Offline
Remove repository sublime-text from pacman.conf
Offline
"I can't use AUR because pacman is broken...." - Noob myself, but I usually install yay and install from the command-line using yay - as in yay -S sublime-text. Would this not work for you?
Offline
It would not, since they've added (... either incorrectly, as the upstream instructions include information on how to add the sublime key, or their instructions don't work in which case someone should notify them) the official sublime repository, which means pacman can't properly grab the database, which means yay would be broken as well for this case.
Last edited by V1del (2021-11-15 11:54:16)
Offline
This sounds similar to the following thread: https://bbs.archlinux.org/viewtopic.php?id=231095
Also if you follow the instructions on https://www.sublimetext.com/docs/linux_ … tml#pacman you'll need to sign the key with an "--lsign-key" as stated in the instructions. Please try the link to the arch thread provided and/or follow the instructions provided on the main sublimetext website under pacman and it may be wise to choose the stable version rather than dev.
Edit: Also if that doesn't work then issue SigLevel = Never for the sublimetext repository in /etc/pacman.conf though that may lead to some problems or may not but it would get around the signature error after pacman -Syu
Last edited by Stewart Little (2021-11-15 20:29:05)
Note whichever way you try to install the sublime-text package none of the errors are from the package but they are from the sublime-text repository. This is why you see the error regardless of what pacman operation you attempt. Remove the repository listing from your pacman.conf and this problem will be gone. Then you can go about installing the sublime-text package in a reasonable way.
Last edited by Trilby (2021-11-15 21:37:21)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline