Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

install openmodelica in Ubuntu 10.04

install openmodelica in Ubuntu 10.04

Hi,
I tried to install openmodelica in Ubuntu 10.04, unsuccessfully. 
1. I added the following line to the /etc/apt/sources.list:

Code:

deb http://build.openmodelica.org/apt stable contrib

2. I imported (and verified) the GPG key used to sign the releases:

Code:

wget -q http://build.openmodelica.org/apt/openmodelica.asc -O- | sudo apt-key add -

sudo apt-key fingerprint

3. so, I updated and installed Openmodelica:

Code:

sudo apt-get update

sudo apt-get install openmodelica

but, I have an error about omshell:

Code:

sudo apt-get install openmodelica

Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
Alcuni pacchetti non possono essere installati. Questo può voler dire
che è stata richiesta una situazione impossibile oppure, se si sta
usando una distribuzione in sviluppo, che alcuni pacchetti richiesti
non sono ancora stati creati o sono stati rimossi da Incoming.
Le seguenti informazioni possono aiutare a risolvere la situazione:

I seguenti pacchetti hanno dipendenze non soddisfatte:
  openmodelica: Dipende: omshell ma non sta per essere installato
                Dipende: omshell-terminal ma non sta per essere installato
E: Pacchetto danneggiato

How I can to do ?

Edited by: man_car - Dec-19-11 13:16:39

Re: install openmodelica in Ubuntu 10.04

Basically, Debian stable updated the readline version so the omshell-terminal package causes conflicts.

You can still

Code:

apt-get install omc omnotebook omedit omlibrary-msl31

Re: install openmodelica in Ubuntu 10.04

ok. thanks.
Notebook and connection editor work.
But Omshell ?
I can installing this ...or not ?

Re: install openmodelica in Ubuntu 10.04

You can force an install, no problem (it's only a little unsafe). OMShell will then work and OMShell-terminal probably will not.

Code:

       --force-yes

           Force yes; This is a dangerous option that will cause apt to
           continue without prompting if it is doing something potentially
           harmful. It should not be used except in very special situations.
           Using force-yes can potentially destroy your system! Configuration
           Item: APT::Get::force-yes.

Or wait a day or so and nightly builds will allow OMShell to be installed without OMShell-terminal as a dependency.

Re: install openmodelica in Ubuntu 10.04

sjoelund.se wrote:

You can force an install, no problem (it's only a little unsafe). OMShell will then work and OMShell-terminal probably will not.


Or wait a day or so and nightly builds will allow OMShell to be installed without OMShell-terminal as a dependency.

ok. but I must remove in source.list

Code:

deb http://build.openmodelica.org/apt stable contrib

and insert:

Code:

deb http://build.openmodelica.org/apt nightly contrib

It's correct ?

Re: install openmodelica in Ubuntu 10.04

Yes, and then wait until next build finishes (as the current version still depends on omshell-terminal).

There are 0 guests and 0 other users also viewing this topic
You are here: