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
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.
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).
On Tue, 29 May 2018 07:56:45 -0400 Fred Smith wrote:
Yes, I did do "rpm -ivh *.rpm" and it installed without issue.
I suspect that if you installed just the dependency first (from your local directory) and then the rest of the program it would have worked.
Again, because yum looks for dependencies online.