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!
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?
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.
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.)
Samuel Sieb wrote:
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.
Well then, I suppose I could download the source package and try to build it on FC41...
On 13 Mar 2025 at 22:58, Dave Close wrote:
To: users@lists.fedoraproject.org Subject: Re: dnf downgrade dependencies From: Dave Close dave@compata.com Date sent: Thu, 13 Mar 2025 22:58:42 -0700 Send reply to: users@lists.fedoraproject.org
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.)
Samuel Sieb wrote:
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.
Well then, I suppose I could download the source package and try to build it on FC41...
Sent a longer reply to Dave Close.
But you can have both the Fedora version of Libre Office and a Libre Office version at the same time. They can be installed at same time.
On my Fedora 41 machine I have the two versions running. So, I'm doing the reverse of what he wants. I have the default 24.8.5.2 version of Fedora 41 and have the newer 25.2.1.2 version. Installing the LibreOffice version puts the files in /opt directory, while the Fedora version is in its location. Menu shows both. Just showing writer packages as example. libreoffice25.2-writer-25.2.1.2-2.x86_64 libreoffice-writer-24.8.5.2-1.fc41.x86_64
# which libreoffice /usr/bin/libreoffice # which libreoffice25.2 /usr/bin/libreoffice25.2 # ls -l /usr/bin/libreoffice25.2 /usr/bin/libreoffice25.2 -> /opt/libreoffice25.2/program/soffice
So, except for doubling the space to have two versions for testing.
Doesn't show any issues that I've seen? But limited testing.
-- Dave Close, Compata, Irvine CA +1 714 434 7359 dave@compata.com dhclose@alumni.caltech.edu "Paying attention to politicians can make you dumb." - Declan McCullagh
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com mailto:msetzerii@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+