Sublime Forum

Installation in Fedora 43 not possible

#1

I was using Fedora 42 on my main computer. I was using Sublime-Text without issues. Now I upgraded to Fedora 43 which is actually in Beta- / RC-status. After upgrading, I’m still able to use Sublime-Text.

Also, I installed Fedora 43 on my laptop. It was a new installation. Here, I’m not able to install Sublime-Text. I used the documentation on https://www.sublimetext.com/docs/linux_repositories.html#dnf. I added the GPG key and the repository. When trying to install, the following error appeared:

$ sudo dnf install sublime-text
Updating and loading repositories:
 RPM Fusion for Fedora 43 - Nonfree - Steam                                        100% |   2.7 KiB/s |  12.0 KiB |  00m04s
 Fedora 43 openh264 (From Cisco) - x86_64                                          100% |   1.9 KiB/s |   5.8 KiB |  00m03s
 Sublime Text - x86_64 - Stable                                                    100% |   2.8 KiB/s |   3.8 KiB |  00m01s
 1Password Stable Channel                                                          100% |   1.8 KiB/s |   4.0 KiB |  00m02s
 Fedora 43 - x86_64 - Updates                                                      100% | 337.4 KiB/s |   2.7 MiB |  00m08s
 Fedora 43 - x86_64                                                                100% |   1.1 MiB/s |  35.4 MiB |  00m32s
Repositories loaded.
Package                                 Arch       Version                                 Repository                  Size
Installing:
 sublime-text                           x86_64     4200-1                                  sublime-text            51.8 MiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 20 MiB. Need to download 20 MiB.
After this operation, 52 MiB extra will be used (install 52 MiB, remove 0 B).
Is this ok [Y/n]: 
[1/1] sublime-text-0:4200-1.x86_64                                                 100% | 119.6 KiB/s |  19.7 MiB |  02m49s
---------------------------------------------------------------------------------------------------------------------------
[1/1] Total                                                                        100% | 119.6 KiB/s |  19.7 MiB |  02m49s
Running transaction
Transaction failed: Rpm transaction failed.
  - package sublime-text-4200-1.x86_64 does not verify: no digest

How am I able to install Sublime-Text in Fedora 43? Is there something that must be done from your side?

0 Likes

#2

Just downloaded the RPM package from the Downloads page and tried to install it via Konsole.

The same error appears …

$ sudo dnf in ./sublime-text-4200-1.x86_64.rpm
Updating and loading repositories:
Repositories loaded.
Package                                 Arch       Version                                 Repository                  Size
Installing:
 sublime-text                           x86_64     4200-1                                  @commandline            51.8 MiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 20 MiB. Need to download 0 B.
After this operation, 52 MiB extra will be used (install 52 MiB, remove 0 B).
Is this ok [Y/n]: 
Running transaction
Transaction failed: Rpm transaction failed.
Warning: skipped OpenPGP checks for 1 package from repository: @commandline
  - package sublime-text-4200-1.x86_64 does not verify: no digest

Could it be that the package must be updated to work with the new Fedora 43 release? Or is that an issue on Fedoras end so that there must be a fix in Fedora?

0 Likes

#3

The issue is with our signing key, which is something I’m looking working on sorting out. Though I’m surprised directly installing the package doesn’t work, at least on debian those don’t even need to be signed. Perhaps there’s a parameter for skipping the signing check.

1 Like

#4

There seem to be the global option --no-gpgchecks for DNF. I tried, but still got the error no matter if I try to install from your repo or the downloaded RPM file.

$ sudo dnf install sublime-text --no-gpgchecks
Updating and loading repositories:
Repositories loaded.
Package                                 Arch       Version                                 Repository                  Size
Installing:
 sublime-text                           x86_64     4200-1                                  sublime-text            51.8 MiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 20 MiB. Need to download 0 B.
After this operation, 52 MiB extra will be used (install 52 MiB, remove 0 B).
Is this ok [Y/n]: 
[1/1] sublime-text-0:4200-1.x86_64                                                 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                                                                     
---------------------------------------------------------------------------------------------------------------------------
[1/1] Total                                                                        100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
Transaction failed: Rpm transaction failed.
Warning: skipped OpenPGP checks for 1 package from repository: sublime-text
  - package sublime-text-4200-1.x86_64 does not verify: no digest
0 Likes

#5

Just asked on Fedora Discussion if there is a way to skip checking the signing key when trying to install. Maybe there is a way, I actually don’t know …

0 Likes

#6

Looks like there was a change now in RPM 6.0.

The most noticeable change is that RPM now refuses to install packages whose signature hasn’t been positively verified, whether due to being unsigned, missing key or otherwise. This can be worked around by supplying --nosignature on the command line, or more permanently, changing the %_pkgverify_level macro to the former default of digest , but these should be only temporary measures, users are encouraged to import necessary keys and/or setup automatic signing for their (local) builds instead.

Does it help in any way, @bschaaf?

0 Likes

#7

I got Sublime-Text installed via terminal.

sudo rpm -i --nodigest sublime-text-*.rpm

But, I don’t know if I got updates via added repository from Sublime. Or do I have to check and install updates manually, now? :thinking:

0 Likes