You are not logged in.

#1 2021-11-15 06:32:12

Blowzart
Member
Registered: 2021-11-15
Posts: 2

pacman continues to attempt to install 1 package forever.

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

#2 2021-11-15 07:08:27

GeorgeJP
Member
From: Czech Republic
Registered: 2020-01-28
Posts: 190

Re: pacman continues to attempt to install 1 package forever.

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

#3 2021-11-15 08:42:28

Blowzart
Member
Registered: 2021-11-15
Posts: 2

Re: pacman continues to attempt to install 1 package forever.

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

#4 2021-11-15 08:56:12

GeorgeJP
Member
From: Czech Republic
Registered: 2020-01-28
Posts: 190

Re: pacman continues to attempt to install 1 package forever.

Remove repository sublime-text from pacman.conf

Offline

#5 2021-11-15 11:26:57

dave1953
Member
Registered: 2021-05-23
Posts: 35

Re: pacman continues to attempt to install 1 package forever.

"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

#6 2021-11-15 11:51:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,300

Re: pacman continues to attempt to install 1 package forever.

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

#7 2021-11-15 20:26:25

Stewart Little
Guest

Re: pacman continues to attempt to install 1 package forever.

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)

#8 2021-11-15 21:36:26

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,496
Website

Re: pacman continues to attempt to install 1 package forever.

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

Board footer

Powered by FluxBB