LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2020, 11:33 PM   #1
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 31
Posts: 225

Rep: Reputation: 29
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!
 
Old 01-21-2020, 12:05 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
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.
 
Old 01-21-2020, 02:58 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
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.
 
Old 01-21-2020, 05:12 PM   #4
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 31
Posts: 225

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by berndbausch View Post
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!
 
Old 01-29-2020, 04:05 AM   #5
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 31
Posts: 225

Original Poster
Rep: Reputation: 29
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Googlecl stops work due change OAutGooglecl stops work due change OAuth 1.0 to OAuh 1.0 to OAuth 2.0 neymac Slackware 5 11-21-2015 03:26 PM
Upgrade failed due to 'held packages' amrtuti Debian 3 07-26-2008 10:21 AM
Kernel Deleted due to Upgrade, Cannot Reinstall Kernel due to Dependency Issues Kenji Miyamoto Debian 2 02-17-2007 09:44 AM
Error USB-HUC on booting due in mdk10 due to mx700 Boudewijn Mandriva 4 10-09-2004 08:36 AM
k3b adding mp3 "Unable to handle the following files due to an unsupported format:" true_atlantis Linux - Software 3 01-31-2004 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration