[ale] just installed LibreOffice in Linux, should have been easier

Michael Trausch mike at trausch.us
Tue Mar 15 14:49:06 EDT 2011


cmd1 && cmd2

The && says run cmd2 only if the exit status of cmd1 indicates success (that
is, is 0). The opposite of that is:

cmd1 || cmd2

Which says to run cmd2 if the exit status of cmd1 is something other than 0.

--
Sent from my phone... a G2 running CM7 nightlies!
On Mar 15, 2011 1:57 PM, "Ron Frazier" <atllinuxenthinfo at c3energy.com>
wrote:
> Could you explain what that does? Are you saying enter both commands on
> the same line like you typed it?
>
> Sincerely,
>
> Ron
>
> On 03/15/2011 01:22 PM, JD wrote:
>> Perhaps I'm crazy, but I always do
>>
>> sudo apt-get update&& sudo apt-get upgrade
>>
>>
>> together before installing any new packages. This keeps all the
>> underlying packages current - that could be the issue you are seeing
>> between the different systems. In real-time programming, this is known
>> as data homogeneity. All the data on a specific thread/priority cannot
>> be changed by outside priorities until the thread/priority finishes.
>> Basically, you get consistent data before you begin processing.
>>
>> I do agree that not doing the "upgrade" should work provided you aren't
>> too out of date with patches. I've just never wanted to test that.
>>
>>
>>
>> On 03/15/2011 12:42 PM, Ron Frazier wrote:
>>
>>> Preston,
>>>
>>> I can't say what happened. The commands below worked on the other PC's
>>> with no problem. PC #3 is running the same version of Ubuntu, but the
>>> process failed and threw the errors I posted. I tried it yesterday, but
>>> I have no explanation. Once I installed that one package manually, the
>>> rest worked. I actually did the last two commands from synaptic, but the
>>> result should be the same either way.
>>>
>>> sudo add-apt-repository ppa:libreoffice/ppa
>>> sudo apt-get update
>>> sudo apt-get install libreoffice
>>> sudo apt-get install libreoffice-gnome
>>>
>>> Sincerely,
>>>
>>> Ron
>>>
>>> On 03/15/2011 11:17 AM, Preston Boyington wrote:
>>>
>>>> Ron Frazier wrote:
>>>>
>>>>
>>>>> I was trying to install Libre Office on my 3rd PC using the PPA as
>>>>> described in prior posts. It threw up a bunch of dependency errors:
>>>>>
>>>>>
>>>> <SNIPPED>
>>>>
>>>>
>>>>
>>>>> I tried the same thing from synaptic and got the same result. From
>>>>> synaptic, I installed libreoffice-common manually, then was able to
>>>>> install libreoffice and libreoffice-gnome with no problem. I don't
know
>>>>> what was different on this PC, but it seems to be working now.
>>>>>
>>>>>
>>>> just curious, but has the PPA been updated or is your Ubuntu system
>>>> using slightly different sources?
>>>>
>>>>
>>>>
>>
>>
>
> --
>
> (PS - If you email me and don't get a quick response, you might want to
> call on the phone. I get about 300 emails per day from alternate energy
> mailing lists and such. I don't always see new messages very quickly.)
>
> Ron Frazier
>
> 770-205-9422 (O) Leave a message.
> linuxdude AT c3energy.com
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20110315/64d06385/attachment-0001.html 


More information about the Ale mailing list