Fedora silverblue 40 emacs install issue

Please understand I don’t want to use emacs flatpak install because it doesn’t interact with the rest of the system in the usual manners.

I tried installing emacs in Fedora 40 Silverblue using rpm-ostree.
I got the following error.
Any hints or suggestions are greatly appreciated. Thank you in advance.

rpm-ostree install emacs
Checking out tree 909901a... done
Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora copr:copr.fedorainfracloud.org:phracek:PyCharm updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2024-03-12T11:45:42Z solvables: 3
rpm-md repo 'updates' (cached); generated: 2024-05-18T01:08:37Z solvables: 13914
rpm-md repo 'fedora' (cached); generated: 2024-04-14T18:51:11Z solvables: 74881
rpm-md repo 'copr:copr.fedorainfracloud.org:phracek:PyCharm' (cached); generated: 2024-03-18T11:54:41Z solvables: 14
rpm-md repo 'updates-archive' (cached); generated: 2024-05-18T01:30:45Z solvables: 12645
Resolving dependencies... done
error: Could not depsolve transaction; 1 problem detected:
 Problem: conflicting requests
  - package emacs-1:29.3-6.fc40.x86_64 from updates requires libgccjit.so.0()(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates requires libgccjit.so.0(LIBGCCJIT_ABI_0)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates requires libgccjit.so.0(LIBGCCJIT_ABI_1)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates requires libgccjit.so.0(LIBGCCJIT_ABI_11)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates requires libgccjit.so.0(LIBGCCJIT_ABI_13)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates requires libgccjit.so.0(LIBGCCJIT_ABI_14)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates requires libgccjit.so.0(LIBGCCJIT_ABI_16)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates requires libgccjit.so.0(LIBGCCJIT_ABI_21)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-5.fc40.x86_64 from updates-archive requires libgccjit.so.0()(64bit), but none of the providers can be installed
  - package emacs-1:29.3-5.fc40.x86_64 from updates-archive requires libgccjit.so.0(LIBGCCJIT_ABI_0)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-5.fc40.x86_64 from updates-archive requires libgccjit.so.0(LIBGCCJIT_ABI_1)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-5.fc40.x86_64 from updates-archive requires libgccjit.so.0(LIBGCCJIT_ABI_11)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-5.fc40.x86_64 from updates-archive requires libgccjit.so.0(LIBGCCJIT_ABI_13)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-5.fc40.x86_64 from updates-archive requires libgccjit.so.0(LIBGCCJIT_ABI_14)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-5.fc40.x86_64 from updates-archive requires libgccjit.so.0(LIBGCCJIT_ABI_16)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-5.fc40.x86_64 from updates-archive requires libgccjit.so.0(LIBGCCJIT_ABI_21)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates-archive requires libgccjit.so.0()(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates-archive requires libgccjit.so.0(LIBGCCJIT_ABI_0)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates-archive requires libgccjit.so.0(LIBGCCJIT_ABI_1)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates-archive requires libgccjit.so.0(LIBGCCJIT_ABI_11)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates-archive requires libgccjit.so.0(LIBGCCJIT_ABI_13)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates-archive requires libgccjit.so.0(LIBGCCJIT_ABI_14)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates-archive requires libgccjit.so.0(LIBGCCJIT_ABI_16)(64bit), but none of the providers can be installed
  - package emacs-1:29.3-6.fc40.x86_64 from updates-archive requires libgccjit.so.0(LIBGCCJIT_ABI_21)(64bit), but none of the providers can be installed
  - package libgccjit-14.1.1-1.fc40.x86_64 from updates requires gcc = 14.1.1-1.fc40, but none of the providers can be installed
  - package libgccjit-14.1.1-1.fc40.x86_64 from updates-archive requires gcc = 14.1.1-1.fc40, but none of the providers can be installed
  - package gcc-14.1.1-1.fc40.x86_64 from updates requires glibc-devel >= 2.2.90-12, but none of the providers can be installed
  - package gcc-14.1.1-1.fc40.x86_64 from updates-archive requires glibc-devel >= 2.2.90-12, but none of the providers can be installed
  - package glibc-devel-2.39-8.fc40.i686 from updates requires glibc = 2.39-8.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-8.fc40.x86_64 from updates requires glibc = 2.39-8.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-8.fc40.x86_64 from updates-archive requires glibc = 2.39-8.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-6.fc40.i686 from fedora requires glibc = 2.39-6.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-6.fc40.x86_64 from fedora requires glibc = 2.39-6.fc40, but none of the providers can be installed
  - package emacs-1:29.2-3.fc40.x86_64 from fedora requires emacs-common = 1:29.2-3.fc40, but none of the providers can be installed
  - package libgccjit-14.0.1-0.15.fc40.x86_64 from fedora requires gcc = 14.0.1-0.15.fc40, but none of the providers can be installed
  - glibc-2.39-8.fc40.i686 from updates  does not belong to a distupgrade repository
  - glibc-2.39-6.fc40.i686 from fedora  does not belong to a distupgrade repository
  - package emacs-common-1:29.2-3.fc40.x86_64 from fedora requires emacs-filesystem = 1:29.2-3.fc40, but none of the providers can be installed
  - package gcc-14.0.1-0.15.fc40.x86_64 from fedora requires cpp = 14.0.1-0.15.fc40, but none of the providers can be installed
  - cannot install both glibc-2.39-8.fc40.x86_64 from updates and glibc-2.39-13.fc40.x86_64 from @System
  - cannot install both glibc-2.39-6.fc40.x86_64 from fedora and glibc-2.39-13.fc40.x86_64 from @System
  - cannot install both glibc-2.39-8.fc40.x86_64 from updates-archive and glibc-2.39-13.fc40.x86_64 from @System
  - cannot install both emacs-filesystem-1:29.2-3.fc40.noarch from fedora and emacs-filesystem-1:29.3-6.fc40.noarch from @System
  - cannot install both cpp-14.0.1-0.15.fc40.x86_64 from fedora and cpp-14.1.1-1.fc40.x86_64 from @System
1 Like

I suspect that is because it seems to be trying to use the glibc and the glibc-devel i686 packages. It does not confirm if those are already installed or not but I would suggest removing those i686 packages then try the install again.

Do you have anything else installed/layered on your system? Please share the output of rpm-ostree status.

I tried this on a freshly updated Fedora 40 Silverblue system and didn’t run into any problems:

$ rpm-ostree status
State: idle                           
Deployments:                        
● fedora:fedora/40/x86_64/silverblue
                  Version: 40.20240519.0 (2024-05-19T00:40:18Z)
               BaseCommit: 909901aa92e630995305f1abce367fcad700d536de7c170104d4663e050ed19e
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
            LocalPackages: rpmfusion-free-release-40-1.noarch rpmfusion-nonfree-release-40-1.noarch
                                                                               
$ sudo rpm-ostree install emacs
[sudo] password for miabbott: 
Checking out tree 909901a... done     
Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora rpmfusion-free-updates rpmfusion-free rpmfusion-nonfree-updates rpmfusion-nonfree updates-archive
Importing rpm-md... done             
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2023-12-11T14:43:50Z solvables: 4
rpm-md repo 'updates' (cached); generated: 2024-05-20T02:20:01Z solvables: 13996
rpm-md repo 'fedora' (cached); generated: 2024-04-14T18:51:11Z solvables: 74881 
rpm-md repo 'rpmfusion-free-updates' (cached); generated: 2024-05-16T20:58:05Z solvables: 81
rpm-md repo 'rpmfusion-free' (cached); generated: 2024-04-20T12:11:51Z solvables: 422
rpm-md repo 'rpmfusion-nonfree-updates' (cached); generated: 2024-05-16T21:18:42Z solvables: 55
rpm-md repo 'rpmfusion-nonfree' (cached); generated: 2024-04-20T12:18:23Z solvables: 194
rpm-md repo 'updates-archive' (cached); generated: 2024-05-18T01:30:45Z solvables: 12645
Resolving dependencies... done        
Will download: 86 packages (204.5 MB)  
Downloading from 'fedora'... done              
Downloading from 'updates'... done     
Importing packages... done         
Checking out packages... done         
Running pre scripts... done       
Running post scripts... done              
Running posttrans scripts... done   
Writing rpmdb... done                 
Writing OSTree commit... done              
Staging deployment... done                  
Freed: 68.7 MB (pkgcache branches: 0)  
Added:                       
  binutils-2.41-37.fc40.x86_64  
  binutils-gold-2.41-37.fc40.x86_64 
  emacs-1:29.3-6.fc40.x86_64      
  emacs-common-1:29.3-6.fc40.x86_64        
  emacs-gtk+x11-1:29.3-6.fc40.x86_64
  gc-8.2.2-6.fc40.x86_64          
  gcc-14.1.1-1.fc40.x86_64          
  gcc-c++-14.1.1-1.fc40.x86_64    
  git-2.45.1-1.fc40.x86_64     
  glibc-devel-2.39-13.fc40.x86_64   
  glibc-headers-x86-2.39-13.fc40.noarch
  guile30-3.0.7-12.fc40.x86_64       
  info-7.1-2.fc40.x86_64               
  kernel-headers-6.8.3-300.fc40.x86_64
  libXaw-1.0.15-3.fc40.x86_64                                         
  libgccjit-14.1.1-1.fc40.x86_64
  liblockfile-1.17-8.fc40.x86_64
  libotf-0.9.16-4.fc40.x86_64
  libstdc++-devel-14.1.1-1.fc40.x86_64
  libtree-sitter-0.22.5-1.fc40.x86_64
  libtree-sitter-java-0.20.2-2.fc40.x86_64
  libxcrypt-devel-4.4.36-5.fc40.x86_64
  make-1:4.4.1-6.fc40.x86_64
  perl-AutoLoader-5.74-506.fc40.noarch
  perl-B-1.88-506.fc40.x86_64
  perl-Carp-1.54-502.fc40.noarch
  perl-Class-Struct-0.68-506.fc40.noarch
  perl-Data-Dumper-2.188-503.fc40.x86_64
  perl-Digest-1.20-502.fc40.noarch
  perl-Digest-MD5-2.59-3.fc40.x86_64
  perl-DynaLoader-1.54-506.fc40.x86_64
  perl-Encode-4:3.21-505.fc40.x86_64
  perl-Errno-1.37-506.fc40.x86_64
  perl-Error-1:0.17029-15.fc40.noarch
  perl-Exporter-5.78-3.fc40.noarch
  perl-Fcntl-1.15-506.fc40.x86_64
  perl-File-Basename-2.86-506.fc40.noarch
  perl-File-Find-1.43-506.fc40.noarch
  perl-File-Path-2.18-503.fc40.noarch
  perl-File-Temp-1:0.231.100-503.fc40.noarch
  perl-File-stat-1.13-506.fc40.noarch
  perl-FileHandle-2.05-506.fc40.noarch
  perl-Getopt-Long-1:2.57-3.fc40.noarch
  perl-Getopt-Std-1.13-506.fc40.noarch
  perl-Git-2.45.1-1.fc40.noarch
  perl-HTTP-Tiny-0.088-5.fc40.noarch
  perl-IO-1.52-506.fc40.x86_64
  perl-IO-Socket-IP-0.42-2.fc40.noarch
  perl-IO-Socket-SSL-2.085-1.fc40.noarch
  perl-IPC-Open3-1.22-506.fc40.noarch
  perl-MIME-Base64-3.16-503.fc40.x86_64
  perl-Mozilla-CA-20231213-3.fc40.noarch
  perl-NDBM_File-1.16-506.fc40.x86_64
  perl-Net-SSLeay-1.94-3.fc40.x86_64
  perl-POSIX-2.13-506.fc40.x86_64
  perl-PathTools-3.89-502.fc40.x86_64
  perl-Pod-Escapes-1:1.07-503.fc40.noarch
  perl-Pod-Perldoc-3.28.01-503.fc40.noarch
  perl-Pod-Simple-1:3.45-6.fc40.noarch
  perl-Pod-Usage-4:2.03-503.fc40.noarch
  perl-Scalar-List-Utils-5:1.63-503.fc40.x86_64
  perl-SelectSaver-1.02-506.fc40.noarch
  perl-Socket-4:2.038-1.fc40.x86_64
  perl-Storable-1:3.32-502.fc40.x86_64
  perl-Symbol-1.09-506.fc40.noarch
  perl-Term-ANSIColor-5.01-504.fc40.noarch
  perl-Term-Cap-1.18-503.fc40.noarch
  perl-TermReadKey-2.38-21.fc40.x86_64
  perl-Text-ParseWords-3.31-502.fc40.noarch
  perl-Text-Tabs+Wrap-2024.001-1.fc40.noarch
  perl-Time-Local-2:1.350-5.fc40.noarch
  perl-URI-5.28-1.fc40.noarch
  perl-base-2.27-506.fc40.noarch
  perl-constant-1.33-503.fc40.noarch
  perl-if-0.61.000-506.fc40.noarch
  perl-interpreter-4:5.38.2-506.fc40.x86_64
  perl-lib-0.65-506.fc40.x86_64
  perl-libnet-3.15-503.fc40.noarch
  perl-libs-4:5.38.2-506.fc40.x86_64
  perl-locale-1.10-506.fc40.noarch
  perl-mro-1.28-506.fc40.x86_64
  perl-overload-1.37-506.fc40.noarch
  perl-overloading-0.02-506.fc40.noarch
  perl-parent-1:0.241-502.fc40.noarch
  perl-podlators-1:5.01-502.fc40.noarch
  perl-vars-1.05-506.fc40.noarch
Changes queued for next boot. Run "systemctl reboot" to start a reboot

$ rpm-ostree status
State: idle
Deployments:
  fedora:fedora/40/x86_64/silverblue
                  Version: 40.20240519.0 (2024-05-19T00:40:18Z)
               BaseCommit: 909901aa92e630995305f1abce367fcad700d536de7c170104d4663e050ed19e
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
                     Diff: 86 added
          LayeredPackages: emacs
            LocalPackages: rpmfusion-free-release-40-1.noarch rpmfusion-nonfree-release-40-1.noarch

● fedora:fedora/40/x86_64/silverblue
                  Version: 40.20240519.0 (2024-05-19T00:40:18Z)
               BaseCommit: 909901aa92e630995305f1abce367fcad700d536de7c170104d4663e050ed19e
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
            LocalPackages: rpmfusion-free-release-40-1.noarch rpmfusion-nonfree-release-40-1.noarch

Just a quick assumption, You wouldn’t consider using a toolbox either because of the same/similar experience? :thinking:

Ok so I disabled some of the repos that were unncessary for me.
I’m left with three: fedora, updates, and updates-testing. Nothing else.

find . -name “*.repo” -print|xargs grep -n -H enabled
./_copr:copr.fedorainfracloud.org:phracek:PyCharm.repo:9:enabled=0
./_copr:copr.fedorainfracloud.org:phracek:PyCharm.repo:10:enabled_metadata=1
./fedora-updates.repo:5:enabled=1
./fedora-updates.repo:18:enabled=0
./fedora-updates.repo:30:enabled=0
./fedora.repo:5:enabled=1
./fedora.repo:18:enabled=0
./fedora.repo:30:enabled=0
./google-chrome.repo:7:enabled=0
./rpmfusion-nonfree-nvidia-driver.repo:5:enabled=0
./rpmfusion-nonfree-nvidia-driver.repo:16:enabled=0
./rpmfusion-nonfree-nvidia-driver.repo:27:enabled=0
./rpmfusion-nonfree-steam.repo:5:enabled=0
./rpmfusion-nonfree-steam.repo:16:enabled=0
./rpmfusion-nonfree-steam.repo:27:enabled=0
./fedora-updates-testing.repo:5:enabled=1
./fedora-updates-testing.repo:18:enabled=0
./fedora-updates-testing.repo:30:enabled=0
./fedora-updates-archive.repo:15:enabled=0
./fedora-cisco-openh264.repo:5:enabled=0
./fedora-cisco-openh264.repo:16:enabled=0
./fedora-cisco-openh264.repo:27:enabled=0

After doing so, sudo rpm-ostree install emacs succeeded.

2 Likes

You should keep fedora-updates-archive enabled in Silverblue.

2 Likes

Thank you Mr. Ravier. Much appreciated.

1 Like