Re: dnf downgrade dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/13/25 10:20 PM, Dave Close wrote:
I've decided I'm unhappy with one of the changes made by the most
recent version of LibreOffice, 24.8, and I want to try going back to
the previous version, 24.2, which is part of the FC40 repository.
But I'm astounded by the result of the command below. (Without
allowerasing the command won't do anything.)

   dnf downgrade --allowerasing --enable-repo=fedora40,updates40 \
     libreoffice-24.2.2.1-3.fc40.x86_64
   ...
   Transaction Summary:
    Installing:        21 packages
    Upgrading:          8 packages
    Replacing:       1169 packages
    Removing:          13 packages
    Downgrading:     1161 packages

This is effectively returning to FC40, not just downgrading a single
package. Of course, I didn't follow through.

But somehow DNF thinks the following packages are dependent on
LibreOffice: mplayer, opencv, python3-crypt-r, tesseract-libs, x264,
among others! And it thinks the removal of these packages requires
downgrading others, including mod-perl!

libreoffice has many dependencies and if you downgrade those to what that version needs, then you have to also downgrade all the packages that depend on those dependencies.

I suppose I can simply download the older LibreOffice packages and then
use rpm to replace them. But there could be some authentic library
dependencies. Is there a better solution?

You don't need to setup your own repo files for this.

dnf --releasever=40 install --allowerasing libreoffice-24.2.2.1-3.fc40.x86_64

But that won't help you any. You can't do this. Here's a big clue when run without the --allowerasing: Problem: package libreoffice-pyuno-1:24.2.2.1-3.fc40.x86_64 from fedora requires python(abi) = 3.12, but none of the providers can be installed - package libreoffice-base-1:24.2.2.1-3.fc40.x86_64 from fedora requires libreoffice-pyuno(x86-64) = 1:24.2.2.1-3.fc40, but none of the providers can be installed - cannot install both python3-3.12.2-2.fc40.x86_64 from fedora and python3-3.13.2-1.fc41.x86_64 from @System - cannot install both python3-3.12.9-1.fc40.x86_64 from updates and python3-3.13.2-1.fc41.x86_64 from @System - package libreoffice-1:24.2.2.1-3.fc40.x86_64 from fedora requires libreoffice-base(x86-64) = 1:24.2.2.1-3.fc40, but none of the providers can be installed - installed package python3-google-re2-1:20240702-19.fc41.x86_64 requires python(abi) = 3.13, but none of the providers can be installed
  - conflicting requests
  - problem with installed package

The first problem is that it requires Python 3.12.

--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux