Can I remove unitedrpms?

, ,

After running:

$ sudo dnf system-upgrade download --releasever=36

I got this error:

Error: Transaction test error:
  file /usr/lib64/ from install of libmysofa-1.2.1-2.fc36.x86_64 conflicts with file from package libmysofa-libs-1.2.1-1.git8423749.fc35.x86_64

I think this might be because that package is coming from unitedrpms:

$ sudo dnf list installed | grep @unitedrpms
cef-minimal.x86_64                                95.0.4638.69-3.fc35                    @unitedrpms               
fdk-aac-free.x86_64                               2.0.0-7.fc35                           @unitedrpms               
gstreamer1-plugin-openh264.x86_64                 1.19.3-7.fc35                          @unitedrpms               
libdca.x86_64                                     0.0.7-7.fc35                           @unitedrpms               
libmysofa.x86_64                                  1.2.1-1.git8423749.fc35                @unitedrpms               
libmysofa-libs.x86_64                             1.2.1-1.git8423749.fc35                @unitedrpms               
libva-intel-driver.x86_64                         2.4.1-10.fc35                          @unitedrpms               
libvorbisidec.x86_64                              1.2.1-2.fc35                           @unitedrpms               
mjpegtools-libs.x86_64                            2.2.1-7.fc35                           @unitedrpms               
mozilla-openh264.x86_64                           2.2.0-7.git33c6546.fc35                @unitedrpms               
openh264.x86_64                                   2.2.0-7.git33c6546.fc35                @unitedrpms               
unitedrpms.noarch                                 35-20.fc35                             @unitedrpms               
unitedrpms-appstream-data.noarch                  2021.05.28-1.fc35                      @unitedrpms               
v4l2loopback-dkms.noarch                          0.12.5-3.fc35                          @unitedrpms               
x265-libs.x86_64                                  3.5-7.fc35                             @unitedrpms

It’s currently preventing me from upgrading to a current version of Fedora and I’m wondering if I even need it to begin with. I don’t know any of the packages listed above, but if I try to remove libmysofa, it wants to remove ffmpeg, vlc, kdenlive and obs-studio, which I definitely need.

Would it be possible to tell dnf to remove unitedrpms from my system and get all these packages from the official repo?

It’s good practice to disable third-party repos before upgrading and sync with the main repos:

sudo dnf config-manager --disable unitedrpms\*
sudo dnf distro-sync --refresh

If the issue persists, temporarily remove conflicting packages and proceed with the upgrade.
You can reinstall the removed packages after upgrading.


Is UNITEDRPMs updated anymore even? I see they claim to only support Fedora 34 to 36.

1 Like

I get the following output:

$ sudo dnf config-manager --disable unitedrpms\*
$ sudo dnf distro-sync --refresh
Fedora 35 - x86_64                                                                                                                                                                                            13 kB/s | 5.1 kB     00:00    
Fedora 35 openh264 (From Cisco) - x86_64                                                                                                                                                                     2.3 kB/s | 989  B     00:00    
Fedora Modular 35 - x86_64                                                                                                                                                                                    10 kB/s | 4.1 kB     00:00    
Fedora 35 - x86_64 - Updates                                                                                                                                                                                 6.4 kB/s | 2.6 kB     00:00    
Fedora Modular 35 - x86_64 - Updates                                                                                                                                                                         5.7 kB/s | 2.9 kB     00:00    
Planet CCRMA 35 - x86_64                                                                                                                                                                                     8.0 kB/s | 2.9 kB     00:00    
Planet CCRMA Core 35 - x86_64                                                                                                                                                                                8.7 kB/s | 2.9 kB     00:00    
RPM Fusion for Fedora 35 - Free                                                                                                                                                                               64 kB/s | 7.0 kB     00:00    
RPM Fusion for Fedora 35 - Free - Updates                                                                                                                                                                     16 kB/s | 6.5 kB     00:00    
RPM Fusion for Fedora 35 - Nonfree                                                                                                                                                                            18 kB/s | 7.1 kB     00:00    
RPM Fusion for Fedora 35 - Nonfree - Updates                                                                                                                                                                  18 kB/s | 6.6 kB     00:00    
Dependencies resolved.
 Package                                                              Architecture                                Version                                                   Repository                                                  Size
 fdk-aac-free                                                         x86_64                                      2.0.0-7.fc35                                              fedora                                                     324 k
Removing dependent packages:
 anaconda                                                             x86_64                                      35.22.2-4.fc35                                            @updates                                                     0  
 anaconda-core                                                        x86_64                                      35.22.2-4.fc35                                            @updates                                                    11 M
 anaconda-gui                                                         x86_64                                      35.22.2-4.fc35                                            @updates                                                   2.5 M
 anaconda-install-env-deps                                            x86_64                                      35.22.2-4.fc35                                            @updates                                                     0  
 anaconda-live                                                        x86_64                                      35.22.2-4.fc35                                            @updates                                                    26 k
 anaconda-tui                                                         x86_64                                      35.22.2-4.fc35                                            @updates                                                   372 k
 anaconda-widgets                                                     x86_64                                      35.22.2-4.fc35                                            @updates                                                    97 k
 cups                                                                 x86_64                                      1:2.3.3op2-17.fc35                                        @updates                                                   7.6 M
 cups-client                                                          x86_64                                      1:2.3.3op2-17.fc35                                        @updates                                                   192 k
 cups-filesystem                                                      noarch                                      1:2.3.3op2-17.fc35                                        @updates                                                     0  
 cups-ipptool                                                         x86_64                                      1:2.3.3op2-17.fc35                                        @updates                                                   4.4 M
 cups-libs                                                            x86_64                                      1:2.3.3op2-17.fc35                                        @updates                                                   668 k
 evolution-data-server                                                x86_64                                      3.42.5-1.fc35                                             @updates                                                   8.1 M
 evolution-data-server-langpacks                                      noarch                                      3.42.5-1.fc35                                             @updates                                                   9.4 M
 gnome-control-center                                                 x86_64                                      41.4-1.fc35                                               @updates                                                    21 M
 gnome-control-center-filesystem                                      noarch                                      41.4-1.fc35                                               @updates                                                     0  
 gnome-terminal                                                       x86_64                                      3.42.2-1.fc35                                             @updates                                                   7.8 M
 gnome-terminal-nautilus                                              x86_64                                      3.42.2-1.fc35                                             @updates                                                    57 k
 gtk-update-icon-cache                                                x86_64                                      3.24.31-2.fc35                                            @updates                                                    66 k
 gtk3                                                                 x86_64                                      3.24.31-2.fc35                                            @updates                                                    20 M
 gvfs                                                                 x86_64                                      1.48.1-3.fc35                                             @updates                                                   1.3 M
 gvfs-afc                                                             x86_64                                      1.48.1-3.fc35                                             @updates                                                   158 k
 gvfs-afp                                                             x86_64                                      1.48.1-3.fc35                                             @updates                                                   221 k
 gvfs-archive                                                         x86_64                                      1.48.1-3.fc35                                             @updates                                                    44 k
 gvfs-client                                                          x86_64                                      1.48.1-3.fc35                                             @updates                                                   4.0 M
 gvfs-fuse                                                            x86_64                                      1.48.1-3.fc35                                             @updates                                                    50 k
 gvfs-goa                                                             x86_64                                      1.48.1-3.fc35                                             @updates                                                   206 k
 gvfs-gphoto2                                                         x86_64                                      1.48.1-3.fc35                                             @updates                                                   182 k
 gvfs-mtp                                                             x86_64                                      1.48.1-3.fc35                                             @updates                                                   186 k
 gvfs-smb                                                             x86_64                                      1.48.1-3.fc35                                             @updates                                                   113 k
 htop                                                                 x86_64                                      3.1.2-1.fc35                                              @updates                                                   405 k
 libzstd                                                              x86_64                                      1.5.2-1.fc35                                              @updates                                                   721 k
 libzstd-devel                                                        x86_64                                      1.5.2-1.fc35                                              @updates                                                   174 k
 mkpasswd                                                             x86_64                                      5.5.12-1.fc35                                             @updates                                                   106 k
 python3-markdown                                                     noarch                                      3.3.6-2.fc35                                              @updates                                                   531 k
 qt5-qtbase                                                           x86_64                                      5.15.2-30.fc35                                            @updates                                                    10 M
 qt5-qtbase-common                                                    noarch                                      5.15.2-30.fc35                                            @updates                                                    77  
 qt5-qtbase-gui                                                       x86_64                                      5.15.2-30.fc35                                            @updates                                                    20 M
 tigervnc-license                                                     noarch                                      1.12.0-5.fc35                                             @updates                                                    18 k
 tigervnc-server-minimal                                              x86_64                                      1.12.0-5.fc35                                             @updates                                                   2.8 M
 valgrind                                                             x86_64                                      1:3.18.1-7.fc35                                           @updates                                                    29 M
 valgrind-devel                                                       x86_64                                      1:3.18.1-7.fc35                                           @updates                                                   497 k
 whois-nls                                                            noarch                                      5.5.12-1.fc35                                             @updates                                                   107 k
 wine-mono                                                            noarch                                      7.1.1-1.fc35                                              @updates                                                   238 M
 zstd                                                                 x86_64                                      1.5.2-1.fc35                                              @updates                                                   1.5 M
 gstreamer1-plugin-openh264                                           x86_64                                      1.19.1-1.fc35                                             fedora-cisco-openh264                                       25 k
 libdca                                                               x86_64                                      0.0.7-4.fc35                                              rpmfusion-free                                             114 k
 libmysofa                                                            x86_64                                      1.2.1-1.fc35                                              updates                                                     42 k
 libva-intel-driver                                                   x86_64                                      2.4.1-6.fc35                                              rpmfusion-free                                             1.1 M
 mjpegtools-libs                                                      x86_64                                      2.2.0-2.fc35                                              rpmfusion-free                                             164 k
 mozilla-openh264                                                     x86_64                                      2.1.1-3.fc35                                              fedora-cisco-openh264                                      425 k
 openh264                                                             x86_64                                      2.1.1-3.fc35                                              fedora-cisco-openh264                                      418 k
 x265-libs                                                            x86_64                                      3.5-2.fc35                                                rpmfusion-free                                             1.2 M

Transaction Summary
Remove     45 Packages
Downgrade   8 Packages

Total download size: 3.8 M
Is this ok [y/N]:

I don’t know what most of these packages are, but gnome-terminal is something I definitely would want to get rid of. Are you sure this is a good idea?

You can save the script:

tee << "EOF" > /dev/null
sudo dnf distro-sync --refresh
sudo dnf --skip-broken install anaconda anaconda-core \
anaconda-gui anaconda-install-env-deps anaconda-live \
anaconda-tui anaconda-widgets cups cups-client \
cups-filesystem cups-ipptool cups-libs evolution-data-server \
evolution-data-server-langpacks gnome-control-center \
gnome-control-center-filesystem gnome-terminal \
gnome-terminal-nautilus gtk-update-icon-cache gtk3 \
gvfs gvfs-afc gvfs-afp gvfs-archive gvfs-client gvfs-fuse \
gvfs-goa gvfs-gphoto2 gvfs-mtp gvfs-smb htop libzstd \
libzstd-devel mkpasswd python3-markdown qt5-qtbase \
qt5-qtbase-common qt5-qtbase-gui tigervnc-license \
tigervnc-server-minimal valgrind valgrind-devel \
whois-nls wine-mono zstd

And run it in a text terminal Alt+Ctrl+F3:


It should restore the removed packages after sync.

I tried it now, but I get his error again:

Error: Transaction test error:
  file /usr/lib64/ from install of libmysofa-1.2.1-1.fc35.x86_64 conflicts with file from package libmysofa-libs-1.2.1-1.git8423749.fc35.x86_64
sudo dnf swap libmysofa-libs libmysofa

Thank you, I gotta remember that command :slight_smile:

Now when I run

sudo dnf system-upgrade download --releasever=36

It wants to remove my kernel :face_with_spiral_eyes:

 kernel                                                                  x86_64                              5.19.16-100.fc35                                                   @updates                                                 0  
 kernel-core                                                             x86_64                              5.19.16-100.fc35                                                   @updates                                                92 M
 kernel-devel                                                            x86_64                              5.19.16-100.fc35                                                   @updates                                                64 M
 kernel-modules                                                          x86_64                              5.19.16-100.fc35                                                   @updates                                                58 M
 kernel-modules-extra                                                    x86_64                              5.19.16-100.fc35                                                   @updates                                               3.4 M
Removing dependent packages:
 kmod-v4l2loopback-5.19.16-100.fc35.x86_64                               x86_64                              0.12.7-1.fc35                                                      @@commandline                                           95 k
 android-tools                                                           x86_64                              1:33.0.3p1-1.fc36                                                  updates                                                1.8 M
 nmap                                                                    x86_64                              3:7.93-1.fc36                                                      updates                                                5.5 M
 nmap-ncat                                                               x86_64                              3:7.93-1.fc36                                                      updates                                                225 k

Would I even be able to boot anymore after doing that?

No problem, it should install a new Fedora 36 kernel and remove the oldest one.