Fedora 32 upgrade issue with python2-beautifulsoup4



  • Tried day 1 upgrade on my work laptop. Looks like I need to wait a bit.

    The process if anyone does not already know

    sudo su -
    dnf upgrade --refresh -y
    dnf install dnf-plugin-system-upgrade -y
    dnf system-upgrade download --releasever=32 -y
    dnf system-upgrade reboot
    

    Right now, on day 1, I get this.

    [[email protected] ~]# dnf system-upgrade download --releasever=32 -y
    Fedora Modular 32 - x86_64                                                                        4.0 MB/s | 4.9 MB     00:01    
    Fedora Modular 32 - x86_64 - Updates                                                              1.2 MB/s | 1.3 MB     00:01    
    Fedora 32 - x86_64 - Updates                                                                      2.0 MB/s | 5.8 MB     00:02    
    Fedora 32 - x86_64                                                                                 11 MB/s |  70 MB     00:06    
    packages-microsoft-com-prod                                                                       3.6 MB/s | 3.3 MB     00:00    
    Opera packages                                                                                    5.9 kB/s |  12 kB     00:02    
    RPM Fusion for Fedora 32 - Free - Updates                                                         1.6 kB/s | 1.8 kB     00:01    
    RPM Fusion for Fedora 32 - Free                                                                   934 kB/s | 679 kB     00:00    
    RPM Fusion for Fedora 32 - Nonfree - Updates                                                      911  B/s | 1.2 kB     00:01    
    RPM Fusion for Fedora 32 - Nonfree                                                                112 kB/s | 225 kB     00:02    
    slack                                                                                              18 kB/s |  38 kB     00:02    
    ZeroTier, Inc. RPM Release Repository                                                              39 kB/s | 7.7 kB     00:00    
    Error: 
     Problem: package python2-beautifulsoup4-4.9.0-1.fc31.noarch requires python2-lxml, but none of the providers can be installed
      - python2-lxml-4.4.0-1.fc31.x86_64 does not belong to a distupgrade repository
      - problem with installed package python2-beautifulsoup4-4.9.0-1.fc31.noarch
    (try to add '--skip-broken' to skip uninstallable packages)
    

    It is apparently required by these,

    [email protected] ~]# dnf repoquery --whatrequires python2-beautifulsoup4
    Last metadata expiration check: 0:08:05 ago on Tue 28 Apr 2020 09:56:38 AM CDT.
    python2-fedora-0:0.10.0-10.fc31.noarch
    python2-fedora-0:0.10.0-9.fc31.noarch
    python2-webtest-0:2.0.33-2.fc31.noarch
    

    Though a remove seems to not know that?

    [[email protected] ~]# dnf remove python2-beautifulsoup4
    Dependencies resolved.
    ==================================================================================================================================
     Package                                            Architecture        Version                      Repository              Size
    ==================================================================================================================================
    Removing:
     python2-beautifulsoup4                             noarch              4.9.0-1.fc31                 @updates               1.0 M
    Removing unused dependencies:
     python2-backports                                  x86_64              1.0-17.fc31                  @anaconda              638  
     python2-backports-functools_lru_cache              noarch              1.5-6.fc31                   @anaconda               17 k
     python2-soupsieve                                  noarch              1.9.2-1.fc31                 @anaconda              242 k
    
    Transaction Summary
    ==================================================================================================================================
    Remove  4 Packages
    
    Freed space: 1.3 M
    Is this ok [y/N]: n       
    Operation aborted.
    


  • That's why I usually just use pip now. I'm seeing less and less usefulness for the repo packages for those types of things.



  • @stacksofplates said in Fedora 32 upgrade issue with python2-beautifulsoup4:

    That's why I usually just use pip now. I'm seeing less and less usefulness for the repo packages for those types of things.

    I have no idea what application is using it yet. So no idea if I could even switch that to pip



  • @JaredBusch said in Fedora 32 upgrade issue with python2-beautifulsoup4:

    @stacksofplates said in Fedora 32 upgrade issue with python2-beautifulsoup4:

    That's why I usually just use pip now. I'm seeing less and less usefulness for the repo packages for those types of things.

    I have no idea what application is using it yet. So no idea if I could even switch that to pip

    Oh I assumed you were using it for a script or something to do some web scraping.



  • @stacksofplates Ah, no. I don't have much extra installed on this laptop. so it should not be hard to track down when I have time later today.



  • So, no idea what I had installed that required python2-lxml

    I removed it and the upgrade is proceeding as normal.