On 3 Feb 2023 at 17:20, Lee Thomas Stephen wrote: From: Lee Thomas Stephen <lee.i...@gmail.com> Date sent: Fri, 3 Feb 2023 17:20:15 +0530 Subject: Re: [libreoffice-users] RPM upgrade 7.4 to 7.5 To: msetze...@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 <msetze...@gmail.com> > wrote: > > > On 3 Feb 2023 at 12:20, Lee Thomas Stephen wrote: > > > > From: Lee Thomas Stephen > > <lee.i...@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+unsubscr...@global.libreoffice.org > > > Problems? > > http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > > > Posting guidelines + more: > > http://wiki.documentfoundation.org/Netiquette > > > List archive: http://listarchives.libreoffice.org/global/users/ > > > Privacy Policy: http://www.documentfoundation.org/privacy > > > > > > +------------------------------------------------------------+ > > Michael D. Setzer II - Computer Science Instructor > > (Retired) > > mailto:mi...@guam.net > > mailto:msetze...@gmail.com > > Guam - Where America's Day Begins > > G4L Disk Imaging Project maintainer > > http://sourceforge.net/projects/g4l/ > > +------------------------------------------------------------+ > > > > > > > > > > -- > To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org > Problems? > http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ > Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette > List archive: http://listarchives.libreoffice.org/global/users/ > Privacy Policy: http://www.documentfoundation.org/privacy +------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mi...@guam.net mailto:msetze...@gmail.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+ -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ Privacy Policy: http://www.documentfoundation.org/privacy