On 15/03/15 07:56, Bjoern Voigt wrote:
On 13/03/15 21:03, Bjoern Voigt wrote:
I have an interesting dependency problem on my openSUSE 13.2 box. I am not interested in LibreOffice (standard distribution), so I removed it and installed LibreOffice fromwww.libreoffice.org (RPM). Firstly, how did you "remove" the oS version of LibreOffice? Libreoffice consists on a lot of packages. I started with "zypper rm
Basil Chupin wrote: libreoffice". I also removed all the empty directories under /usr/lib64/libreoffice/ with commands like "rmdir /usr/lib64/libreoffice/*/*/*/*" until I could remove /usr/lib64/libreoffice.
I have never used 'zypper rm' to remove any packages - I prefer to go directly to the Install/Remove Software in YaST and remove the packages after I have "eye-balled" them. This way I can see what is being removed. Your "I also removed all the empty directories under /usr/lib64/libreoffice/ with commands like "rmdir /usr/lib64/libreoffice/*/*/*/*" until I could remove /usr/lib64/libreoffice. " horrified me :-) but I guess it must have worked for you :-) .
Did you go into YaST>Install/Remove Software and remove ALL of the files associated with LibreOfice before installing LO from libreoffice.org? For testing I also removed all Libreoffice packages from libreoffice.org with "zypper rm $(rpm -qa | egrep '^(libobasis4.3|libreoffice4.3)')".
One typo in such a command could wreck havoc on your system, wouldn't you agree? Which is why "If I can see it I can then zap it" is my approach :-) .
Secondly, there should be 3 RPMs for LO from libreoffice.org: 1 is the LO executables; 2 should be the language pack; and 3 should be the Help pack. I downloaded and installed all three: LibreOffice_4.3.6_Linux_x86-64_rpm.tar.gz LibreOffice_4.3.6_Linux_x86-64_rpm_helppack_de.tar.gz LibreOffice_4.3.6_Linux_x86-64_rpm_langpack_de.tar.gz
OK, fine, but the latest version is 4.4.1 so why did you download and install 4.3.6? Just wondering......
Thirdly, how did you install the RPM you did get from libreoffice.org? You should install the RPMs in a terminal, logged in as root, and running 'rpm -Uvh *.rpm' in each of the unarchived RPMs from libreoffice.org. I unpacked the *.tar.gz files: # tar xzf ../LibreOffice_4.3.6_Linux_x86-64_rpm.tar.gz # tar xzf ../LibreOffice_4.3.6_Linux_x86-64_rpm_helppack_de.tar.gz # tar xzf ../LibreOffice_4.3.6_Linux_x86-64_rpm_langpack_de.tar.gz
For this I gather that you do not use 'mc' (Midnight Commander) which is the Swiss knife of file managers? Using mc you simply highlight the *.tar.gz file in the directory, press F2 then cursor down and select 'z', press 'ENTER' and the file is unarchived for you into its own sub-directory. Quick and easy - and no need for all that typing.
and then I installed the packages with
# rpm -Uvh $(find -name '*.rpm')
cd-ing into the directory where the RPMs are, 'rpm -UVh *.rpm' is all that is necessary. But I guess your command is performed from whichever 'directory' you are in as root and, again, if it works for you then its fine :-) .
The problem is, that "zypper" sees a dependency between LibreOffice, Firefox and Thunderbird.
Why the 'zypper' thing? But anyway, there is a dependency between LO and TB and FF: when you get an attachment in TB and you want to view it you are asked with which app. you want to view it - and LO is one of the apps. Similar thing applies to FF. Ok, but this shouldn't be more than a suggestion, not a hard RPM dependency.
I checked Libreoffice 4.3 from libreoffice.org, if there is something which provides the mysterious "appdata(libreoffice-base.appdata.xml)" files. There isn't anything:
# find /opt/libreoffice4.3/|grep appdata (nothing) # for i in $(find -name '*.rpm'); do echo $i; rpm -qp \ --provides $i;done (no "appdata")
Greetings, Björn
I am not saying that this is the reason but your way of firstly removing the installed by openSUSE version of LibreOffice (using 'zypper rm.........) followed by removing the empty directories the way you did could have caused the dependency hassle you are now experiencing. Don't know. All I can say is that I have been installing LO from libreoffice.org for 'years' now using the process I describe above - that is, I have never used 'zypper <whatever>' to do this - and have never had a problem. In fact, I just just finished installing v4.4.1 "my way" and it's working perfectly. BTW, run YaST>Install/Remove Software and do a search on "appdata" and what do you see? Is it worth worrying about "appdata"? BC -- Using openSUSE 13.2, KDE 4.14.4 & kernel 3.19.1-2 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX660 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org