Author Topic: LibreOffice Manager (lomanager)  (Read 126534 times)

seedsgrow

  • Guest
Re: LibreOffice Manager (lomanager)
« Reply #255 on: February 08, 2011, 12:39:01 PM »
I used BleachBit to clear up a little space. I think the only /var files it deleted were temporary files. I still have a cache folder with an apt subfolder in /var. I can still add and delete packages with apt through Synaptic. A file, LO-rpms, is created in /var/temp during the attempt at installation of LibreOffice.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2846
    • other projects...
Re: LibreOffice Manager (lomanager)
« Reply #256 on: February 08, 2011, 01:30:55 PM »
I used BleachBit to clear up a little space. I think the only /var files it deleted were temporary files. I still have a cache folder with an apt subfolder in /var. I can still add and delete packages with apt through Synaptic. A file, LO-rpms, is created in /var/temp during the attempt at installation of LibreOffice.


lomanager does not touch anything in /var. LO-rpms is not a file but a folder located in /tmp and it will just contain the LO-rpms if the user has decided to keep them upon finalizing the LO-installation. This folder is just a storage directory and has nothing to do with the LO-installation as such. From your error message it is evident that the LO-rpms could not be installed, either because their download was or got interrupted, or your rpm-database is corrupt, or whatever else, all the rest are follow-up errors. If you want you can read through the script (/usr/bin/lomanager) step-by-step and figure out something more.
Alternatively, you can also try to run lomanager on a different machine, were it will just work, yes that's right  ;), then follow Important Notes 1) and install the LO-rpms on this machine.
hope this helps,
-p.

Offline Aradalf

  • Sr. Member
  • ****
  • Posts: 474
Re: LibreOffice Manager (lomanager)
« Reply #257 on: February 08, 2011, 01:33:30 PM »
I used BleachBit to clear up a little space. I think the only /var files it deleted were temporary files. I still have a cache folder with an apt subfolder in /var. I can still add and delete packages with apt through Synaptic. A file, LO-rpms, is created in /var/temp during the attempt at installation of LibreOffice.

I believe /var/tmp is a symbolic link to /tmp, so maybe that's why you see Lomanager files in /var/tmp.

seedsgrow

  • Guest
Re: LibreOffice Manager (lomanager)
« Reply #258 on: February 08, 2011, 02:45:03 PM »
Yes, /var/tmp/LOtmp is a directory rather than a file, and, yes, it is a symlink to the folder in /tmp that lomanager creates there to hold the LibreOffice rpms until it is installed.Rather than mess any further with the installation script, I used the tarball downloaded there to extract the LibreOffice rpms and manually installed them by entering the rpm command in Konsole. I then added the menu entries manually through the menu editor. I was able to use the desktop integration rpm for Mandriva that was included in the tarball along with the base packages to add the LibreOffice entries to the menu.

The script did work on my laptop PCLOS system.
« Last Edit: February 08, 2011, 02:49:56 PM by seedsgrow »

Offline zorlac

  • Full Member
  • ***
  • Posts: 213
Re: LibreOffice Manager (lomanager)
« Reply #259 on: February 08, 2011, 08:55:28 PM »
Maybe I missed the quick fix for this buried here somewhere but after lomanager did the deed all my OO icons in the office box on desktop 2 of the full monty are broken now.  :'(
Guess it's a manual fix for each individual one?  :P  ???

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2846
    • other projects...
Re: LibreOffice Manager (lomanager)
« Reply #260 on: February 09, 2011, 12:38:05 AM »
Maybe I missed the quick fix for this buried here somewhere but after lomanager did the deed all my OO icons in the office box on desktop 2 of the full monty are broken now.  :'(
Guess it's a manual fix for each individual one?  :P  ???


Hi zorlac,
 the OO-launchers in the top left container on desktop 2 are not broken but simply dead now since there is no OpenOffice anymore in the system. To get the LibreOffice launchers in place please check here
regards,
-p.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3980
Re: LibreOffice Manager (lomanager)
« Reply #261 on: February 09, 2011, 05:44:55 AM »
Nice job, pinoc!

I've just run it in two computers and the only small improvement I could suggest is that lomanager check for the files in LO-rpms before downloading them, as I had rsynced my desktop to my laptop to avoid downloading them twice, and I had to cancel the download and install manually (easy enough to do - cd into /tmp/LO-rpms/, su to root and use "rpm -ivh `ls`")! It would have been nice if it had been handled by the script, though.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2846
    • other projects...
Re: LibreOffice Manager (lomanager)
« Reply #262 on: February 09, 2011, 07:27:34 AM »
Nice job, pinoc!

I've just run it in two computers and the only small improvement I could suggest is that lomanager check for the files in LO-rpms before downloading them, as I had rsynced my desktop to my laptop to avoid downloading them twice, and I had to cancel the download and install manually (easy enough to do - cd into /tmp/LO-rpms/, su to root and use "rpm -ivh `ls`")! It would have been nice if it had been handled by the script, though.



Hi kjpetrie,
dang, too late!  :D Just uploaded 0.2-6 with the change that the intermediate directory into which the rpms are downloaded and from where they are installed is no longer under /tmp/ but in /root/. This to avoid potential space conflicts if /tmp has not been mounted inside the root-system for which the LO-space requirements are checked for.
Your suggestion is good but I still prefer the option that the user will simply follow Important notes 1 which is easy to do. Otherwise, and depending on the user-selected LO-locale, it might get rather complex in the lomanager script to verify the existence, completed download or not, and correct versions of the required rpms to be installed, and more complex -> more error-prone.
best,
-pinoc

Offline coffeetime

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3426
  • Send me an Angel
Re: LibreOffice Manager (lomanager)
« Reply #263 on: February 09, 2011, 11:50:15 AM »
J-Lo successfully installed. Everything works like a charm!

>pinoc,

and thank You!!




« Last Edit: February 10, 2011, 08:02:02 AM by coffeetime »
PCLinuxOS e17 Club member/e17 video/Wifi problems?
those who complain rarely read. those who read rarely complain
 

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: LibreOffice Manager (lomanager)
« Reply #264 on: February 11, 2011, 05:16:24 AM »
I recently used Lomanager to download and install LibreOffice.
This time I retained the rpms and had a look at what it downloaded.

This raises a couple of questions .......

Living in Europe and speaking English, I have no need of the US rpms that I am aware of, but they are apparently downloaded along with the European rpms. Is this necessary?

I never use LO calc, math or base and rarely presentation. I would not miss their presence if they were not installed. Did I miss a selection screen which determines what main options are installed? If not is it possible to allow a user to make a selection to determine what is to be installed?

So for instance in the situation I described above, I would wish to install Writer & Presentation and whatever associated rpms would be needed but not the others. I am very aware of my download limit on this connection and unnecessary downloads are to be avoided.

For the present it seems it might be best if I completely uninstall LO and then just install the rpms I need.

It would be nice, if it could be arranged, that I would only download those RPMs that I need and not the others.

regards.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3980
Re: LibreOffice Manager (lomanager)
« Reply #265 on: February 11, 2011, 07:39:42 AM »
Yes, I noticed that too, but I wasn't clear whether the en_US versions are the default which the others just localise, or whether all versions are fully self-contained.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: LibreOffice Manager (lomanager)
« Reply #266 on: February 11, 2011, 09:04:27 AM »
Yes, I noticed that too, but I wasn't clear whether the en_US versions are the default which the others just localise, or whether all versions are fully self-contained.


I am not very clear on any of it either ....  only now started looking at it.
For a test I downloaded the main LO package (RPM) and the EN-GB language pack.
Extracted them into a local repository, and installed using Synaptic from there.
I now have EN-GB and no US modules installed and do not have Math, Calc or Base installed either.
Will see how it goes over a little time.
The installed parts - Write, Impress, Draw and Printer Admin all seem to function as expected, but I have only briefly looked at them so something might rear its ugly head over time.

regards.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2846
    • other projects...
Re: LibreOffice Manager (lomanager)
« Reply #267 on: February 11, 2011, 03:00:55 PM »
to my understanding, and if you go to their download page, you first have to download the base package, which is en_US, and then you can add whatever localization. I prefer keeping it this way as it simple to handle. asking the user which LO-component he/she wants and for what locale might be too complex for some of them (yes, don't laugh, we had plenty of examples of such users recently), and depending on the chosen combination, something might not work as expected, or the user says "oh, and why don't I have this LO-component?". Right now they get the whole pack and can remove whatever they don't like, that should be fine.
-p.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: LibreOffice Manager (lomanager)
« Reply #268 on: February 11, 2011, 03:42:38 PM »
to my understanding, and if you go to their download page, you first have to download the base package, which is en_US, and then you can add whatever localization. I prefer keeping it this way as it simple to handle. asking the user which LO-component he/she wants and for what locale might be too complex for some of them (yes, don't laugh, we had plenty of examples of such users recently), and depending on the chosen combination, something might not work as expected, or the user says "oh, and why don't I have this LO-component?". Right now they get the whole pack and can remove whatever they don't like, that should be fine.
-p.

Understood  ;D

I will do it manually I think in future as I want control over what I install.

Thanks for your reply.

regards.

Offline johnmart

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1104
  • Make Love Not War
Re: LibreOffice Manager (lomanager)
« Reply #269 on: February 12, 2011, 11:23:03 PM »
pinoc, thanks for maintaining & developing lomanager.

I get confused what is happening when I run lomanger.
When lomanager is updated I expect that it will install an LO upgrade, but that is not always the case, rt? bugfixes, addlocale changes etc.
But each new LO upgrade requires a new lomanger that corresponds to the new version number?

So my suggestion is that a bit of detail be included with the install dialog box. ie;

LOmanager detects LO version.x & will upgrade to version.xx
or
LOmanager detects LO version--you have the latest version.

I have no idea how difficult it would be to script that. If complex, maybe simply mention in the dialog box:

LOmanager installs version.xx

The user can check the version number in LO or synaptic.
Again, thanks for great app.  ;D


Acer Aspire, Intel core2 2.20GHz, ‎Graphics nVidia ‎G98M [GeForce G 105M], 2gb ram, Wireless Intel Link 5100

Why, any 5 year old child could understand this.
Somebody bring me a 5 year old.
Groucho