Cannot upgrade from Fedora 30 to Fedora 31 due to 2 packages. How to handle?
Hi All!
I'm having difficulty upgrading from Fedora 30 to 31, and am really hoping someone could guide me as to the best way to handle these issues. After doing the system update and trying to sudo dnf system-upgrade download --releasever=31, I get the following: Code:
Error: But what about problems #2 and #3? If I try to remove those packages to see what happens, the system wants to remove so much that seems vital. #2: When I check dnf remove, it tells me it wants to remove 72 packages: Code:
Removing: #3: When dnf remove #3, it tells me it wants to remove 84 packages: Code:
Removing: To get the most basic out of the way, if I understand correctly, the unused dependency shouldn't be a problem - so ostensibly if I did the upgrade with --skip-broken, no issue. But wouldn't that break the other dependent packages? What can I do as a workaround? The only method I could think of is removing packages #2 (x264-libs) & #3 (coin-or-Clp), and cause removal of their dependent packages, upgrade to Fedora 31, and then reinstall them - is there a better method? Thanks! |
You probably have to add repos that contain the missing software. For example, your version of x264 does exist in 64 bit form for F31: https://rpmfind.net/linux/RPM/rpmfus...31.x86_64.html. I will leave it up to you to find a repo or create one that contains this rpm.
|
Over many years I have come to the conclusion that it is not worth wasting too much time trying to subjugate package managers - including Fedoras various incarnations. I quickly become jaundiced and simply re-install clean and re-install the packages I need. Pays to have a separate /home partition/lv BTW ...
The dnf update is light years ahead of its predecessors, but it still might pay to re-install. Getting a package list isn't as straight-forward as it should be (default vs user installed) despite the various claims to the contrary. Quick bit of scripting usually fixes that for me. |
Quote:
When I try that rpm you listed, for instance, I get the message Code:
Error: Code:
264-libs-0.157-12.20190717git34c06d1.fc31.x86_ 335 kB/s | 650 kB 00:01 So if I upgrade the 686 dependencies in packages #2 and #2, that is: ffmpeg-libs (i686) opencv-contrib (i686) opencv-core (i686) would it then be ok to install x264-libs-0.157-12.20190717git34c06d1.fc31.x86_64.rpm and include --allowerasing? Going back, to be sure I'm not making a mistake - if I did decide to uninstall all these packages and upgrade, the dependency removal is of no concern, right? I mean, this shouldn't create any problems? Thanks! |
I looked a little more closely, and I see that the 686 packages I have in 64. When I was doing the dnf remove to check, I was doing that to the package name. I instead just removed the packages in 686, and there was only just that uninstalled - and again, they remained in their 64 bit variants. So, problem solved, with a net positive of removing the 686s, too - so I'm glad I did this.
Now I just need to convert Cherrytree notes to ZIM and I'm good to upgrade! Problem solved. Thanks for the responses, they got me thinking and helped me make sense of it all. |
All times are GMT -5. The time now is 03:23 PM. |