Date: prev next · Thread: first prev next last
2023 Archives by date, by thread · List index


I am not sure if this will be of any help as I use SUSE with YAST and zypper, but it looks like dnf/yum may have similar functionality. Using downloaded (not from a repository) RPMs that will undergo regular updates I create a local repository from a directory containing the RPMs. My system treats 7.3 and 7.4 as 2 different packages, I would have 2 different local repositories. To go from 7.3 to 7.4 I would mark 7.3 to uninstall and 7.4 to install and mostly the dependency checking allows resolution of any issues.
To go from 7.3.1 to 7.3.2 say would be seen as an upgrade.

This means it is easy to swap back from say 7.4 to 7.3 if you strike a bug that is a show stopper for you while you wait for the bug resolution, as I have had on a few occasions.
Steve

On 04/02/2023 01:28, Michael D. Setzer II wrote:
On 3 Feb 2023 at 17:20, Lee Thomas Stephen wrote:

From:                   Lee Thomas Stephen
<lee.iitb@gmail.com>
Date sent:              Fri, 3 Feb 2023 17:20:15 +0530
Subject:                Re: [libreoffice-users] RPM upgrade 7.4 to
7.5
To:                     msetzerii@gmail.com
Copies to:              LibreOffice Users
<users@global.libreoffice.org>

I did

rpm -Uvh *.rpm

Now I have both 7.4 and 7.5.
The command installed a separate 7.5 instead of upgrading from 7.4.
Any solution for an upgrade?
As I face this issue on every major release.
dnf update will eventually update the libreoffice that is
in the Fedora/Redhat repos when they are updated.

As I understand it, you would need to download and
repeat process to update libreoffice versions.

I use a little script after downloading the lastest update
and help gz files.

newlib=$(ls -1 LibreOffice_$1*.gz |tail -n 1 | cut -f1,2 -d_)
mkdir $newlib
cd $newlib/
for a in ../$newlib*.gz ; do tar xvf $a ; done
for a in $(find . | grep "\.rpm") ; do mv $a .; done
rpm -Uvh *.rpm
tar -Jcvf ../$newlib.xz *.rpm
rm l*.rpm -f
rm LibreOffice_$1* -R -f
cd ..
rmdir $newlib

If you have installed the help, the upgrade gives an error
if the new help files are not installed at same time. If you
just install without help, you can just do the rpm update.
I like to create an archive of rpms to then copy to other
machines..

So make example is what I use, but you may want to do
something different.



Thanks

---
Lee

On Fri, Feb 3, 2023 at 3:53 PM Michael D. Setzer II <msetzerii@gmail.com>
wrote:

On 3 Feb 2023 at 12:20, Lee Thomas Stephen wrote:

From:                   Lee Thomas Stephen
<lee.iitb@gmail.com>
Date sent:              Fri, 3 Feb 2023 12:20:02 +0530
Subject:                [libreoffice-users] RPM upgrade 7.4 to 7.5
To:                     LibreOffice Users
<users@global.libreoffice.org>

Hi,

I have LibreOffice 7.4.5 installed via RPM installation on RHEL 8.7
I downloaded the RPM installation of LibreOffice 7.5.0.
but I am unable to do
dnf upgrade *.rpm
Think rpm -Uvh *.rpm
Is what you want to use.
The Libreoffice from the site installs differently than the
one from the Fedora repos for me.

which libreoffice libreoffice7.4
/usr/bin/libreoffice
/usr/bin/libreoffice7.4

The office submenu then list both the repo version and
the libreoffice versions of programs.

Haven't tried the 7.5 yet.

The error is
-----------------%<-----------------
Package libobasis7.5-base not installed, cannot update it.
No match for argument: libobasis7.5-base-7.5.0.3-3.x86_64.rpm
Package libobasis7.5-calc not installed, cannot update it.
No match for argument: libobasis7.5-calc-7.5.0.3-3.x86_64.rpm
Package libobasis7.5-core not installed, cannot update it.
No match for argument: libobasis7.5-core-7.5.0.3-3.x86_64.rpm
Package libobasis7.5-draw not installed, cannot update it.
......
etc.
-----------------%<-----------------

So what is the correct path to upgrade from 7.4 to 7.5?

Thanks

---
Lee

--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems?
https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more:
https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

+------------------------------------------------------------+
  Michael D. Setzer II - Computer Science Instructor
(Retired)
  mailto:mikes@guam.net
  mailto:msetzerii@gmail.com
  Guam - Where America's Day Begins
  G4L Disk Imaging Project maintainer
  http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+




--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

+------------------------------------------------------------+
  Michael D. Setzer II - Computer Science Instructor
(Retired)
  mailto:mikes@guam.net
  mailto:msetzerii@gmail.com
  Guam - Where America's Day Begins
  G4L Disk Imaging Project maintainer
  http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+






--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.