Fred Smith
2018-May-29 01:08 UTC
[CentOS] Yum dependency failure installing latest LibreOffice
I've been bashing my head on the wall for 2 or 3 hours for something that should be (and has been, in the past) simple. Trying to install the latest LibreOffice downloaded from Libreoffice.org. I had 6.0.1.1 and downloaded 6.4.0.2, and kept getting dependency errors: --> Running transaction check ---> Package libobasis6.0-base.x86_64 0:6.0.4.2-2 will be installed ---> Package libobasis6.0-calc.x86_64 0:6.0.4.2-2 will be installed ---> Package libobasis6.0-core.x86_64 0:6.0.4.2-2 will be installed --> Processing Dependency: libreoffice6.0-ure <= 6.0.4.2-2 for package: libobasis6.0-core-6.0.4.2-2.x86_64 Loading mirror speeds from cached hostfile * base: mirror.net.cen.ct.gov * elrepo: mirrors.coreix.net * epel: fedora-epel.mirrors.tds.net * epel-debuginfo: fedora-epel.mirrors.tds.net * extras: linux.cc.lehigh.edu * nux-dextop: mirror.li.nux.ro * updates: mirror.atlanticmetro.net --> Processing Dependency: libreoffice6.0-ure >= 6.0.4.2 for package: libobasis6.0-core-6.0.4.2-2.x86_64 while trying to work around that I "yum remove"d all existing libreoffice rpms, but that didn't fix it. the file libreoffice6.0-ure-6.0.4.2-2.x86_64.rpm exists in the same directory as all the other files I'm trying to install, and as far as its filename goes, it is the version that yum is demanding. I tried installing the version I had previously been using, and I get the equivalent error when trying that too. Back when I installed it, I got no such errors. Note that I am now on the 7.5 version, 7.5 (1804), and when I previously installed 6.0 I was still on the previous release, so I wonder if yum has become broken during the 7.5 run-up. A lot of time had transpired here and I was getting a little warm under the collar, so I tried: rpm -ivh *.rpm which worked just fine. voila! I did this with the older version, but I wanted the newer one, so I did "yum remove libreoffice\* libobasis\*" and it complained about the RPM database being modified, but it did the deed. then I tried installing 6.4.0.2 again, with yum, which still gives the same error. Once again, rpm is my friend. Anybody got any ideas what's wrong with my system? (or is yum broken??) thanks in advance! Fred -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ---------------------------- Do you not know? Have you not heard? The LORD is the everlasting God, the Creator of the ends of the earth. He will not grow tired or weary, and his understanding no one can fathom. ----------------------------- Isaiah 40:28 (niv) -----------------------------
Frank Cox
2018-May-29 02:21 UTC
[CentOS] Yum dependency failure installing latest LibreOffice
On Mon, 28 May 2018 21:08:26 -0400 Fred Smith wrote:> Trying to install the latest LibreOffice downloaded from Libreoffice.org. > I had 6.0.1.1 and downloaded 6.4.0.2, and kept getting dependency errors:I expect that yum is looking for dependencies online, i.e. from one of your configured repos rather than a local file. Try "rpm -i *.rpm" in the directory with all of the libreoffice files in it and see what happens. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
Fred Smith
2018-May-29 11:56 UTC
[CentOS] Yum dependency failure installing latest LibreOffice
On Mon, May 28, 2018 at 08:21:14PM -0600, Frank Cox wrote:> On Mon, 28 May 2018 21:08:26 -0400 > Fred Smith wrote: > > > Trying to install the latest LibreOffice downloaded from Libreoffice.org. > > I had 6.0.1.1 and downloaded 6.4.0.2, and kept getting dependency errors: > > I expect that yum is looking for dependencies online, i.e. from one of your configured repos rather than a local file. > > Try "rpm -i *.rpm" in the directory with all of the libreoffice files in it and see what happens.Thanks for the reply, Frank. Yes, I did do "rpm -ivh *.rpm" and it installed without issue. I've never had that kind of problem before, and I frequently do the same thing (i.e., install with yum) with whatever the latest LibreOffice is. In fact I did it back when 6.0.1.1 came out (not too long ago, but I misremember exactly when that was) without problems, but this time I couldn't install that version either even though it had worked not too long ago. Which makes me wonder if yum has some new "feature" (i.e., breakage). -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- "And he will be called Wonderful Counselor, Mighty God, Everlasting Father, Prince of Peace. Of the increase of his government there will be no end. He will reign on David's throne and over his kingdom, establishing and upholding it with justice and righteousness from that time on and forever." ------------------------------- Isaiah 9:7 (niv) ------------------------------