what -xfeatu is? Is it an option to apply to dnf the remove command.
Ok, so I must ommit the opencv-xfeatures2d-4.5.3-7.fc33.x86_64
file
I’ve omitted opencv-xfeatures2d-4.5.3-7.fc33.x86_64
package and still getting the same error message
dnf remove --verbose CuraEngine-lulzbot-1:3.6.21-5.fc33.x86_64 gstreamer1-plugins-ugly-1.19.3-7.git499d3cd.fc33.x86_64 libarcus-lulzbot-3.6.21-7.fc33.x86_64 x264-libs-1:0.163-7.git5db6aa6.fc33.x86_64
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kickstart, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, rpmconf, showvars, system-upgrade, tracer
DNF version: 4.9.0
cachedir: /var/cache/dnf
User-Agent: constructed: 'libdnf (Fedora 33; workstation; Linux.x86_64)'
--> Starting dependency resolution
--> Finding unneeded leftover dependencies
--> Finished dependency resolution
Error:
Problem: The operation would result in removing the following protected packages: gnome-shell
(try to add '--skip-broken' to skip uninstallable packages)
I think the way to fix that is to try those one at a time and add the --noautoremove
to the dnf remove command.
after deleting one by one, dnf system-upgrade download --releasever=35
command produced this output (I’m pasting the las part of the summary):
Removing:
kernel x86_64 5.11.21-100.fc32 @updates 0
kernel-core x86_64 5.11.21-100.fc32 @updates 74 M
kernel-modules x86_64 5.11.21-100.fc32 @updates 30 M
kernel-modules-extra x86_64 5.11.21-100.fc32 @updates 1.9 M
Removing dependent packages:
gnome-gmail noarch 2.4.1-12.fc33 @fedora 155 k
tepl x86_64 5.0.1-1.fc33 @updates 380 k
texlive-texlive-docindex noarch 9:svn54903-35.fc33 @updates 0
texlive-updmap-map noarch 9:svn56618-35.fc33 @updates 33 M
Downgrading:
x264-libs x86_64 0.163-2.20210613git5db6aa6.fc35 rpmfusion-free 677 k
Upgrading Groups:
Anaconda tools
base-x
Container Management
Design Suite
Firefox Web Browser
Guest Desktop Agents
LibreOffice
Common NetworkManager Submodules
Printing Support
Fedora Workstation product core
x86 Baremetal Tools
GNOME Desktop Environment
KDE (K Desktop Environment)
Multimedia
Core
Fonts
Hardware Support
Sound and Video
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
libvmaf x86_64 1.5.1-7.git35c6044.fc35 unitedrpms 9.8 k
libvmaf x86_64 2.1.1-2.fc35 fedora 171 k
x264-libs x86_64 1:0.164-7.git19856cc.fc35 unitedrpms 667 k
Transaction Summary
=========================================================================================================================
Install 343 Packages
Upgrade 2991 Packages
Remove 8 Packages
Downgrade 1 Package
Skip 3 Packages
Total download size: 4.9 G
DNF will only download packages, install gpg keys, and check the transaction.
Is this ok [y/N]:
That is fewer problems than previously, but it does suggest adding --best --allowerasing
to the download command for those 3 packages. Those options may remove one of the packages from the list.
It is interesting that there are 2 libvmaf packages there, one with version 2.1.1 and one version 1.5.1
Output for dnf system-upgrade download --releasever=35
Total 3.1 MB/s | 4.9 GB 26:52
Fedora 35 - x86_64 245 kB/s | 1.6 kB 00:00
Importing GPG key 0x9867C58F:
Userid : "Fedora (35) <fedora-35-primary@fedoraproject.org>"
Fingerprint: 787E A6AE 1147 EEE5 6C40 B30C DB46 3971 9867 C58F
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-35-x86_64
Is this ok [y/N]: y
Key imported successfully
MySQL 8.0 Community Server 4.8 MB/s | 27 kB 00:00
GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql (0x5072E1F5) is already installed
The GPG keys listed for the "MySQL 8.0 Community Server" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.. Failing package is: mysql-community-icu-data-files-8.0.31-10.fc35.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Public key for mysql-community-client-8.0.31-10.fc35.x86_64.rpm is not installed. Failing package is: mysql-community-client-8.0.31-10.fc35.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Public key for mysql-community-client-plugins-8.0.31-10.fc35.x86_64.rpm is not installed. Failing package is: mysql-community-client-plugins-8.0.31-10.fc35.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Public key for mysql-community-common-8.0.31-10.fc35.x86_64.rpm is not installed. Failing package is: mysql-community-common-8.0.31-10.fc35.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Public key for mysql-community-libs-8.0.31-10.fc35.x86_64.rpm is not installed. Failing package is: mysql-community-libs-8.0.31-10.fc35.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Public key for mysql-community-server-8.0.31-10.fc35.x86_64.rpm is not installed. Failing package is: mysql-community-server-8.0.31-10.fc35.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Public key for mysql-community-test-8.0.31-10.fc35.x86_64.rpm is not installed. Failing package is: mysql-community-test-8.0.31-10.fc35.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Public key for mysql80-community-release-fc35-3.noarch.rpm is not installed. Failing package is: mysql80-community-release-fc35-3.noarch
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED
Output for dnf system-upgrade download --best --allowerasing --releasever = 35
(after deleting conflicting files Jan 23 2023)
Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: unitedrpms 35 - x86_64 239 B/s | 870 B 00:03
Fedora 35 - x86_64 14 kB/s | 4.5 kB 00:00
Fedora 35 openh264 (From Cisco) - x86_64 4.6 kB/s | 989 B 00:00
Fedora Modular 35 - x86_64 11 kB/s | 2.4 kB 00:00
Fedora 35 - x86_64 - Updates 14 kB/s | 2.8 kB 00:00
Fedora Modular 35 - x86_64 - Updates 12 kB/s | 2.3 kB 00:00
google-chrome 5.7 kB/s | 1.3 kB 00:00
SMPlayer (Fedora_32) 3.2 kB/s | 1.6 kB 00:00
MySQL 8.0 Community Server 14 kB/s | 2.6 kB 00:00
MySQL Connectors Community 8.0 kB/s | 2.6 kB 00:00
MySQL Tools Community 17 kB/s | 2.6 kB 00:00
RPM Fusion for Fedora 35 - Free 5.1 kB/s | 3.4 kB 00:00
RPM Fusion for Fedora 35 - Free tainted 6.3 kB/s | 3.2 kB 00:00
RPM Fusion for Fedora 35 - Free - Updates 6.3 kB/s | 3.2 kB 00:00
RPM Fusion for Fedora 35 - Nonfree 7.8 kB/s | 4.0 kB 00:00
RPM Fusion for Fedora 35 - Nonfree tainted 7.3 kB/s | 3.7 kB 00:00
RPM Fusion for Fedora 35 - Nonfree - Updates 7.3 kB/s | 3.7 kB 00:00
teams 7.5 kB/s | 3.0 kB 00:00
(try to add '--skip-broken' to skip uninstallable packages)
Good night, thanks for help today.
I suggested before and will repeat.
Those 3rd party repos likely should be disabled while upgrading from fedora 33. Once the upgrade is complete then if you choose they could be enabled and needed software upgraded.
Personally I also disable (permanently) fedora-modular and updates-modular.
You can also always step back and upgrade to F34 as a single step instead of F35 as 2 steps.
That post does not show the progress beyond the repo metadata downloads.
Another consideration, if not already done would be that you likely should clean out the cache for the download. That can be done with dnf system-upgrade clean all
, following which the next download would only get the packages for the system as it is at that moment, including only those packages for currently enabled repos.
Hi Again,
when executing dnf after deleting each file and some other that appeared as they required another file which was not able to download them , I was able to run dnf system-upgrade download --releasever=34 but in the transactions test I got an error concerning another file that conflicts
Fedora 34 openh264 (From Cisco) - x86_64 3.7 kB/s | 989 B 00:00
Fedora 34 - x86_64 - Updates 66 kB/s | 22 kB 00:00
SMPlayer (Fedora_32) 3.0 kB/s | 1.6 kB 00:00
RPM Fusion for Fedora 34 - Free 5.6 kB/s | 2.6 kB 00:00
RPM Fusion for Fedora 34 - Free tainted 5.0 kB/s | 2.4 kB 00:00
RPM Fusion for Fedora 34 - Free - Updates 5.2 kB/s | 2.4 kB 00:00
RPM Fusion for Fedora 34 - Nonfree 5.6 kB/s | 2.6 kB 00:00
RPM Fusion for Fedora 34 - Nonfree tainted 5.4 kB/s | 2.5 kB 00:00
RPM Fusion for Fedora 34 - Nonfree - Updates 4.9 kB/s | 2.5 kB 00:00
Dependencies resolved.
============================================================================================================================
Package Arch Version Repository Size
============================================================================================================================
Installing:
<< FILES OMITTED>>
Installing weak dependencies:
avahi-tools x86_64 0.8-14.fc34 updates 40 k
breeze-gtk-gtk4 noarch 5.24.4-1.fc34 updates 27 k
cups-filters-braille x86_64 1.28.15-1.fc34 updates 38 k
dolphin-plugins x86_64 21.08.3-1.fc34 updates 442 k
fwupd-efi x86_64 1.1-1.fc34 updates 45 k
glibc-doc noarch 2.33-21.fc34 updates 997 k
jq x86_64 1.6-10.fc34 updates 187 k
julietaula-montserrat-base-web-fonts noarch 1:7.210-4.fc34 fedora 918 k
juniversalchardet noarch 2.4.0-2.fc34 fedora 223 k
jxl-pixbuf-loader x86_64 0.6.1-6.fc34 updates 54 k
kaccounts-providers x86_64 21.04.1-2.fc34 updates 108 k
libbpf x86_64 2:0.4.0-1.fc34 updates 129 k
libreoffice-gtk3 x86_64 1:7.1.8.1-4.fc34 updates 557 k
ocfs2-tools x86_64 1.8.6-4.fc34 fedora 681 k
plasma-discover-offline-updates x86_64 5.24.4-1.fc34 updates 13 k
plasma-discover-packagekit x86_64 5.24.4-1.fc34 updates 146 k
power-profiles-daemon x86_64 0.8.1-1.fc34 fedora 48 k
proj-data-at noarch 7.2.1-2.fc34 fedora 2.1 M
proj-data-au noarch 7.2.1-2.fc34 fedora 117 M
proj-data-be noarch 7.2.1-2.fc34 fedora 726 k
proj-data-br noarch 7.2.1-2.fc34 fedora 1.0 M
proj-data-ca noarch 7.2.1-2.fc34 fedora 93 M
proj-data-ch noarch 7.2.1-2.fc34 fedora 1.5 M
proj-data-de noarch 7.2.1-2.fc34 fedora 72 M
proj-data-dk noarch 7.2.1-2.fc34 fedora 9.7 M
proj-data-es noarch 7.2.1-2.fc34 fedora 1.0 M
proj-data-eur noarch 7.2.1-2.fc34 fedora 1.0 M
proj-data-fi noarch 7.2.1-2.fc34 fedora 90 k
proj-data-fo noarch 7.2.1-2.fc34 fedora 9.2 k
proj-data-fr noarch 7.2.1-2.fc34 fedora 1.2 M
proj-data-is noarch 7.2.1-2.fc34 fedora 5.3 M
proj-data-jp noarch 7.2.1-2.fc34 fedora 401 k
proj-data-nc noarch 7.2.1-2.fc34 fedora 1.1 M
proj-data-nl noarch 7.2.1-2.fc34 fedora 1.1 M
proj-data-nz noarch 7.2.1-2.fc34 fedora 13 M
proj-data-pt noarch 7.2.1-2.fc34 fedora 432 k
proj-data-se noarch 7.2.1-2.fc34 fedora 2.2 M
proj-data-sk noarch 7.2.1-2.fc34 fedora 1.2 M
proj-data-uk noarch 7.2.1-2.fc34 fedora 4.7 M
proj-data-us noarch 7.2.1-2.fc34 fedora 223 M
python3-regex x86_64 2022.4.24-1.fc34 updates 343 k
vmaf-models noarch 2.1.1-3.fc34 updates 227 k
xsettingsd x86_64 1.0.2-1.fc34 updates 39 k
yt-dlp noarch 2022.05.18-1.fc34 updates 3.1 M
yt-dlp-bash-completion noarch 2022.05.18-1.fc34 updates 10 k
Removing:
kernel x86_64 5.11.21-100.fc32 @updates 0
kernel-core x86_64 5.11.21-100.fc32 @updates 74 M
kernel-modules x86_64 5.11.21-100.fc32 @updates 30 M
kernel-modules-extra x86_64 5.11.21-100.fc32 @updates 1.9 M
Downgrading:
OpenColorIO x86_64 1.1.1-12.fc34 fedora 300 k
abrt-java-connector x86_64 1.2.0-6.fc34 updates 46 k
faad2-libs x86_64 1:2.9.2-4.fc34 rpmfusion-free 204 k
fdk-aac-free x86_64 2.0.0-6.fc34 fedora 328 k
gst-editing-services x86_64 1.19.1-2.1.18.4.fc34 updates 627 k
gstreamer1 x86_64 1.19.1-2.1.18.4.fc34 updates 1.4 M
gstreamer1-plugin-openh264 x86_64 1.18.2-1.fc34 fedora-cisco-openh264 25 k
gstreamer1-plugins-bad-free x86_64 1.19.1-3.1.18.4.fc34 updates 2.6 M
gstreamer1-plugins-base x86_64 1.19.1-2.1.18.4.fc34 updates 2.1 M
gstreamer1-plugins-good x86_64 1.19.1-2.1.18.4.fc34 updates 2.0 M
gstreamer1-plugins-good-gtk x86_64 1.19.1-2.1.18.4.fc34 updates 30 k
gstreamer1-plugins-good-qt x86_64 1.19.1-2.1.18.4.fc34 updates 63 k
gstreamer1-plugins-ugly-free x86_64 1.19.1-2.1.18.4.fc34 updates 103 k
libdca x86_64 0.0.7-3.fc34 rpmfusion-free 119 k
libde265 x86_64 1.0.8-3.fc34 rpmfusion-free 322 k
libdvdcss x86_64 1.4.3-1.fc34 rpmfusion-free-tainted 73 k
libmysofa x86_64 1.2.1-1.fc34 updates 42 k
mozilla-openh264 x86_64 2.1.1-2.fc34 fedora-cisco-openh264 432 k
mpv x86_64 0.34.1-2.fc34 rpmfusion-free-updates 1.5 M
mpv-libs x86_64 0.34.1-2.fc34 rpmfusion-free-updates 1.0 M
openh264 x86_64 2.1.1-2.fc34 fedora-cisco-openh264 427 k
smtube x86_64 21.10.0-3.1 home_smplayerdev 311 k
x264-libs x86_64 0.161-6.20210412git55d517b.fc34 rpmfusion-free 686 k
x265-libs x86_64 3.5-1.fc34 rpmfusion-free 1.3 M
xvidcore x86_64 1.3.7-5.fc34 rpmfusion-free 255 k
Upgrading Groups:
Anaconda tools
base-x
Container Management
Design Suite
Firefox Web Browser
Guest Desktop Agents
LibreOffice
Common NetworkManager Submodules
Printing Support
Fedora Workstation product core
x86 Baremetal Tools
GNOME Desktop Environment
KDE (K Desktop Environment)
Multimedia
Core
Fonts
Hardware Support
Sound and Video
Transaction Summary
============================================================================================================================
Install 295 Packages
Upgrade 2951 Packages
Remove 4 Packages
Downgrade 25 Packages
Total size: 4.3 G
Total download size: 69 M
DNF will only download packages, install gpg keys, and check the transaction.
Is this ok [y/N]: Downloading Packages:
Error: Transaction test error:
file /usr/lib64/libmysofa.so.1.1.0 from install of libmysofa-1.2.1-1.fc34.x86_64 conflicts with file from package libmysofa-libs-1.2.1-1.git8423749.fc33.x86_64
Should I just delete libmysofa-libs-1.2.1-1.git8423749.fc33.x86_64 from installation?
Regards,
Well, I did it and get and error saying that the file belong to a “protectec” package which was gnome-shell.
Terminal output
Error:
Problem: The operation would result in removing the following protected packages: gnome-shell
(try to add '--skip-broken' to skip uninstallable packages)
A messagge suggested me to use --skip-broken which I did and got to the point which lead me to create this post. Comand advise me that will only download, and perform transaction and test check but no intstalling. This was the cause I wrote this post.
I still got the error message about a flie that belongs is used by the shell. This is the output after using dnf system-upgrade download --skip-broken --releasever=34
Transaction Summary
============================================================================================================================
Install 295 Packages
Upgrade 2951 Packages
Remove 4 Packages
Downgrade 25 Packages
Total size: 4.3 G
Total download size: 69 M
DNF will only download packages, install gpg keys, and check the transaction.
<< FILES LIST OMITTED>>
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
file /usr/lib64/libmysofa.so.1.1.0 from install of libmysofa-1.2.1-1.fc34.x86_64 conflicts with file from package libmysofa-libs-1.2.1-1.git8423749.fc33.x86_64
Anything like this is probably not required and if so then it should be removed for later reinstall if needed.
The command rpm -q --whatrequires libmysofa
on F37 returns no requirement for that package.
I am in the process of installing an F33 VM to see what it shows about the package that is giving you the error.
Do you get the same error if you run
dnf system-upgrade download --releasever 34 --best --allowerasing
?
Hi Again,
I get this when running dnf system-upgrade download --best --allowerasing --releasever=34
Transaction Summary
============================================================================================================================
Install 295 Packages
Upgrade 2951 Packages
Remove 4 Packages
Downgrade 25 Packages
Total size: 4.3 G
DNF will only download packages, install gpg keys, and check the transaction.
Is this ok [y/N]:
DNF will only download packages, install gpg keys, and check the transaction.
No errors? go for it.
I just installed F33 on a VM, and after a full upgrade to the latest I tried to run the system-upgrade. That initially errored with the iptables package, even though it was a plain and clean install. Once I removed that one package the download for F34 worked.
Morning!,
Yesterday I was dnf system-upgrade download --best --allowerasing --releasever=34
: after typing Y in the prompt, it skips all files as all of them have been downloaded already it was peforming the transaction check then a 5 hour power outage happened.
I piped dnf system-upgrade download --best --allowerasing --releasever=34
to an text file through the tee command. Today’s morning I check If the text file exists I actually found it and last 5 line that had been recoreded were these.
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
So, It performed the transaction check and test, but didn’t installed. What do I’m missing? Sorry for my naiveness.
Enjoy your day,
By the way, I’m running the sudo dnf system-upgrade download --best --allowerasing --releasever=34 command
again this morning. I’ll update you once it finishs running.
It finished. I got this
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
file /usr/lib64/libmysofa.so.1.1.0 from install of libmysofa-1.2.1-1.fc34.x86_64 conflicts with file from package libmysofa-libs-1.2.1-1.git8423749.fc33.x86_64
But I can’t delete this file as it show a message saying that this file belongs to a protected package: gnome shell
I quoted this before.
Error:
Problem: The operation would result in removing the following protected packages: gnome-shell
(try to add '--skip-broken' to skip uninstallable packages)
I get this same message even using the --noautoremove option.
You might try adding the suggested --skip-broken
option to that command line.
On F37 the libmysofa package is not installed, and on F34 (clean install of F33 then upgraded to F34) it shows this.
# dnf list libmysofa*
Fedora 34 - x86_64 - Updates 72 kB/s | 22 kB 00:00
Available Packages
libmysofa.i686 1.2.1-1.fc34 updates
libmysofa.x86_64 1.2.1-1.fc34 updates
libmysofa-devel.i686 1.2.1-1.fc34 updates
libmysofa-devel.x86_64 1.2.1-1.fc34 updates
Note that libmysofa is not installed with a clean install of F33 and upgrade to F34.
I suspect that the --skip-broken
may assist. I also suspect it is a hold-over from an earlier version of fedora since libmysofa-libs is not even part of F33 (though it was apparently installed on your system).
I even went back as far as an F31 VM, clean install and upgraded, and see this
# dnf list libmysofa*
Fedora 31 - x86_64 - Updates 21 kB/s | 4.2 kB 00:00
Fedora 31 - x86_64 28 kB/s | 4.8 kB 00:00
Last metadata expiration check: 0:00:01 ago on Sat 07 Jan 2023 02:03:29 PM CST.
Available Packages
libmysofa.i686 1.1-1.fc31 updates
libmysofa.x86_64 1.1-1.fc31 updates
libmysofa-devel.i686 1.1-1.fc31 updates
libmysofa-devel.x86_64 1.1-1.fc31 updates
The libmysofa-libs-1.2.1-1.git8423749.fc33.x86_64 package does not show with any version on either F31, F33, or F34 as coming from a fedora repo. Possibly it came from another repo or possibly it was a koji package, but try the --skip-broken
and see what the result may be.
Another alternative may be to try using rpm to remove that libmysofa-libs package since it does not have the same dependencies requirements as dnf.
sudo rpm -e --justdb --nodeps libmysofa-libs-1.2.1-1.git8423749.fc33.x86_64
may work to remove that package from the database while leaving the files alone and not totally break things.
Performing command
dnf system-upgrade Jan 26 2023 --skip-broken --releasever=34
after
Output
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Complete!
Transaction saved to /var/lib/dnf/system-upgrade/system-upgrade-transaction.json.
Download complete! Use 'dnf system-upgrade reboot' to start the upgrade.
To remove cached metadata and transaction use 'dnf system-upgrade clean'
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
I guess it worked. I’ll rebot tomorrow’s morning.
Thanks for your help.
Good night.
Best!