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

Any problem with “apt install openmodelica”??

Any problem with “apt install openmodelica”??

root@5b48e5b3b494:/etc/apt/sources.list.d# apt install openmodelica
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
openmodelica : Depends: omc (< 20000) but it is not going to be installed
                Depends: omplot (< 20000) but it is not going to be installed
                Depends: omshell (< 20000) but it is not going to be installed
                Depends: omshell-terminal (< 20000) but it is not going to be installed
                Depends: omnotebook (< 20000) but it is not going to be installed
                Depends: drmodelica (< 20000) but it is not going to be installed
                Depends: drcontrol (< 20000) but it is not going to be installed
                Depends: omedit (< 20000) but it is not going to be installed
                Depends: omsimulator but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Re: Any problem with “apt install openmodelica”??

You need to apt install omc or something in this list to see why apt fails. It doesn't always produce very good error-messages

Re: Any problem with “apt install openmodelica”??

sjoelund.se wrote:


You need to apt install omc or something in this list to see why apt fails. It doesn't always produce very good error-messages

Hi sjoelund,

Thanks for your kindly reply, I tried apt install omc and the error-message:

root@5b48e5b3b494:/etc/apt/sources.list.d# apt install omc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
omc : Depends: clang but it is not going to be installed
       Depends: build-essential but it is not going to be installed
       Depends: libexpat1-dev but it is not going to be installed
       Recommends: libomccpp but it is not going to be installed
       Recommends: omplot but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Do you know what happend here? Thanks

Re: Any problem with “apt install openmodelica”??

If you cannot apt install clang, something is very broken indeed. Maybe you need to apt autoremove openmodelica followed by apt dist-upgrade or maybe you need to apt install --fix-broken first.

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