Zed editor: this is too much

Just wanted to show:

$ dnf list --installed | grep terra
terra-release.noarch                                 42-4                                terra
zed.x86_64                                           0.184.8-1.fc42                      terra

$ sudo dnf check-upgrade
Updating and loading repositories:
Repositories loaded.
zed.x86_64 0.184.9-1.fc42 terra

$ sudo dnf upgrade
Updating and loading repositories:
Repositories loaded.
Package                                    Arch       Version                                     Repository                    Size
Upgrading:
 zed                                       x86_64     0.184.9-1.fc42                              terra                    217.2 MiB
   replacing zed                           x86_64     0.184.8-1.fc42                              terra                    217.0 MiB
Installing dependencies:
 LCEVCdec                                  x86_64     3.3.5-1.fc42                                terra                    483.0 KiB
 davs2-libs                                x86_64     1.7-1.20220903gitb41cf11.fc42               terra                    726.4 KiB
 ffmpeg                                    x86_64     1:7.1.1-1.fc42                              terra                      2.7 MiB
   replacing ffmpeg-free                   x86_64     7.1.1-3.fc42                                fedora                     2.5 MiB
 kvazaar-libs                              x86_64     2.3.1-2.fc42                                terra                    562.1 KiB
 libavcodec                                x86_64     1:7.1.1-1.fc42                              terra                     12.9 MiB
   replacing libavcodec-free               x86_64     7.1.1-3.fc42                                fedora                     9.6 MiB
 libavdevice                               x86_64     1:7.1.1-1.fc42                              terra                    207.1 KiB
   replacing libavdevice-free              x86_64     7.1.1-3.fc42                                fedora                   215.1 KiB
 libavfilter                               x86_64     1:7.1.1-1.fc42                              terra                      4.3 MiB
   replacing libavfilter-free              x86_64     7.1.1-3.fc42                                fedora                     4.1 MiB
 libavformat                               x86_64     1:7.1.1-1.fc42                              terra                      2.5 MiB
   replacing libavformat-free              x86_64     7.1.1-3.fc42                                fedora                     2.6 MiB
 libavutil                                 x86_64     1:7.1.1-1.fc42                              terra                    982.5 KiB
   replacing libavutil-free                x86_64     7.1.1-3.fc42                                fedora                   963.0 KiB
 libnpp                                    x86_64     1:12.3.3.100-2.fc42                         terra                    305.4 MiB
 libpostproc                               x86_64     1:7.1.1-1.fc42                              terra                     77.6 KiB
   replacing libpostproc-free              x86_64     7.1.1-3.fc42                                fedora                    85.6 KiB
 librtmp                                   x86_64     2.6^20240301git6f6bb13-1.fc42               terra                    165.6 KiB
 libswresample                             x86_64     1:7.1.1-1.fc42                              terra                    143.5 KiB
   replacing libswresample-free            x86_64     7.1.1-3.fc42                                fedora                   147.3 KiB
 libswscale                                x86_64     1:7.1.1-1.fc42                              terra                    622.3 KiB
   replacing libswscale-free               x86_64     7.1.1-3.fc42                                fedora                   623.4 KiB
 libxavs                                   x86_64     0.1.55-1.fc42                               terra                    357.9 KiB
 svt-vp9-libs                              x86_64     0.3.0-13.fc42                               fedora                   778.4 KiB
 uavs3d-libs                               x86_64     1.2.0-4.20230223git1fd0491.fc42             terra                    627.8 KiB
 vvenc-libs                                x86_64     1.12.1-1.fc42                               terra                      3.2 MiB
 x264-libs                                 x86_64     0.164-16.20231001git31e19f92.fc42           rpmfusion-free             2.7 MiB
 xavs2-libs                                x86_64     1.4-1.20190422giteae1e8b.fc42               terra                      1.9 MiB

Transaction Summary:
 Installing:        20 packages
 Upgrading:          1 package
 Replacing:         10 packages

Total size of inbound packages is 208 MiB. Need to download 208 MiB.
After this operation, 321 MiB extra will be used (install 558 MiB, remove 238 MiB).
Is this ok [y/N]: 

For me it’s too much. I installed the Terra repository and the zed editor from it several months ago just to try this new editor. But now it wants to replace a bunch of packages, installed from the official fedora repository, by alike packages from Terra. In a past it never asked for any replacing of anything but itself during the upgrade. Is it a correct behavior now?

Also, why Zed editor isn’t supported by Fedora or at least by the RPMFusion project? Terra seems to be rolling and less stable.

Also, when I look at the zed.spec file in the Terra GitHub I don’t see there anything that might bring such a big replace of Fedora packages:

Any thoughts?

Deprioritize Terra repos:

sudo dnf config-manager setopt terra\*.priority=100
1 Like

Thanks it helps.
But on the other hand it looks like a workaround because normally users won’t know that and won’t do that. They just will install the Terra repository by one command taken from the Terra website.
Isn’t it actually a bug in the DNF5?

Is xed’s licences valid for fedora?, if so the package is invalid for rpmfusion.
No one ever bothered to check or submit a package review at rpmfusion and volunteer to maintain it.
Also rust code is crappy to package as it relies on online download for it’s deps, fedora and rpmfusion builders have no online access.

2 Likes

DNF works as intended, upgrading packages to highest versions.
Blame Terra for building packages with a custom epoch tag.

The official version is distributed as a flatpak

$ flatpak install zed