LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot upgrade from Fedora 30 to Fedora 31 due to 2 packages. How to handle? (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-upgrade-from-fedora-30-to-fedora-31-due-to-2-packages-how-to-handle-4175668114/)

ziphem 01-20-2020 11:33 PM

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:
 Problem 1: package cherrytree-0.38.5-5.fc30.noarch requires pygtksourceview, but none of the providers can be installed
  - pygtksourceview-2.10.1-18.fc29.x86_64 does not belong to a distupgrade repository
  - problem with installed package cherrytree-0.38.5-5.fc30.noarch
 Problem 2: x264-libs-0.157-12.20190717git34c06d1.fc30.i686 has inferior architecture
  - x264-libs-0.157-12.20190717git34c06d1.fc30.x86_64 does not belong to a distupgrade repository
  - problem with installed package x264-libs-0.157-12.20190717git34c06d1.fc30.i686
 Problem 3: package coin-or-Clp-1.17.3-3.fc31.i686 requires libCbc.so.3, but none of the providers can be installed
  - problem with installed package coin-or-Clp-1.16.10-8.fc30.i686
  - package coin-or-Cbc-2.10.3-2.fc31.i686 requires libasl.so.3, but none of the providers can be installed
  - coin-or-Clp-1.16.10-8.fc30.i686 does not belong to a distupgrade repository
  - nothing provides libjvm.so needed by mp-3.1.0-23.20161124git1f39801.fc31.i686
  - nothing provides libjvm.so(SUNWprivate_1.1) needed by mp-3.1.0-23.20161124git1f39801.fc31.i686

Problem 1, Cherrytree, I get it and can let that go.

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:
 x264-libs                                                    x86_64                          0.157-12.20190717git34c06d1.fc30                          @rpmfusion-free-updates                          2.9 M
 x264-libs                                                    i686                            0.157-12.20190717git34c06d1.fc30                          @rpmfusion-free-updates                          5.6 M
Removing dependent packages:
 audacious-plugins-freeworld                                  x86_64                          3.10.1-2.fc30                                              @rpmfusion-free                                    0 
 audacity-freeworld                                            x86_64                          2.3.1-1.fc30                                              @rpmfusion-free                                    29 M
 ffmpeg-libs                                                  i686                            4.1.5-1.fc30                                              @rpmfusion-free-updates                            22 M
 gstreamer1-libav                                              x86_64                          1.16.0-1.fc30                                              @rpmfusion-free-updates                          809 k
 gstreamer1-plugins-ugly                                      x86_64                          1.16.0-2.fc30                                              @rpmfusion-free-updates                          547 k
 kdenlive                                                      x86_64                          19.08.2-1.fc30                                            @rpmfusion-free-updates                            65 M
 kodi                                                          x86_64                          18.5-1.fc30                                                @rpmfusion-free-updates                            0 
 mplayer                                                      x86_64                          1.4-1.fc30                                                @rpmfusion-free-updates                          4.3 M
 mplayer-gui                                                  x86_64                          1.4-1.fc30                                                @rpmfusion-free-updates                          5.1 M
 openshot                                                      noarch                          2.4.4-4.20191002git5f08a30.fc30                            @rpmfusion-free-updates                            76 M
 simplescreenrecorder                                          x86_64                          0.3.11-7.fc30                                              @rpmfusion-free                                  3.7 M
 vlc                                                          x86_64                          1:3.0.8-1.fc30                                            @rpmfusion-free-updates                          6.4 M
 vokoscreen                                                    x86_64                          2.5.8-4.beta.fc30                                          @rpmfusion-free                                  1.9 M
Removing unused dependencies:
...

and it lists a whole lot of unused dependencies.


#3: When dnf remove #3, it tells me it wants to remove 84 packages:

Code:

Removing:
 coin-or-Clp                                          x86_64                              1.16.10-8.fc30                                              @fedora                                              2.8 M
 coin-or-Clp                                          i686                                1.16.10-8.fc30                                              @fedora                                              2.9 M
Removing dependent packages:
 blender                                              x86_64                              1:2.81a-3.fc30                                              @updates                                            158 M
 digikam                                              x86_64                              6.4.0-2.fc30                                                @updates                                            149 M
 digikam-libs                                          x86_64                              6.4.0-2.fc30                                                @updates                                              50 M
 kdenlive                                              x86_64                              19.08.2-1.fc30                                              @rpmfusion-free-updates                              65 M
 opencv                                                x86_64                              3.4.4-10.fc30                                                @updates                                              11 M
 opencv-contrib                                        i686                                3.4.4-10.fc30                                                @updates                                              19 M
 opencv-core                                          i686                                3.4.4-10.fc30                                                @updates                                              20 M
Removing unused dependencies:

...and again, it lists a whole lot of unused depencies.

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!

berndbausch 01-21-2020 12:05 AM

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.

syg00 01-21-2020 02:58 AM

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.

ziphem 01-21-2020 05:12 PM

Quote:

Originally Posted by berndbausch (Post 6081009)
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.

Ok, thanks, I think I am actually understanding the problem now.

When I try that rpm you listed, for instance, I get the message

Code:

Error:
 Problem: conflicting requests
  - nothing provides x264-libs(x86-64) = 0.157-12.20190717git34c06d1.fc31 needed by x264-0.157-12.20190717git34c06d1.fc31.x86_64

So I tried x264-libs-0.157-12.20190717git34c06d1.fc31.x86_64.rpm and got this message:

Code:

264-libs-0.157-12.20190717git34c06d1.fc31.x86_ 335 kB/s | 650 kB    00:01   
Error:
 Problem: problem with installed package x264-libs-0.157-12.20190717git34c06d1.fc30.i686
  - x264-libs-0.157-12.20190717git34c06d1.fc30.i686 has inferior architecture
  - x264-libs-0.157-3.20190303git72db437.fc30.i686 has inferior architecture
  - cannot install both x264-libs-0.157-12.20190717git34c06d1.fc31.x86_64 and x264-libs-0.157-12.20190717git34c06d1.fc30.x86_64
  - cannot install both x264-libs-0.157-12.20190717git34c06d1.fc31.x86_64 and x264-libs-0.157-3.20190303git72db437.fc30.x86_64
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

Do I understand correctly that I would basically be replacing the 686/32 with 64?

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!

ziphem 01-29-2020 04:05 AM

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.