Opened 5 years ago

Last modified 3 years ago

#5842 reopened defect

When installing OpenModelica under Ubuntu, MSL 3.2.2 is installed

Reported by: Francesco Casella Owned by: Martin Sjölund
Priority: blocker Milestone: 1.19.0
Component: Installation program Version:
Keywords: Cc: Adrian Pop

Description

When installing OpenModelica from scratch on Ubuntu, MSL v. 3.2.2 is installed.

Advanced users have developed various strategies to fix this issue and somehow get MSL 3.2.3 going on their system. However, we can't expect beginners to do so. If I ship someone a library with

annotation(uses(Modelica(version="3.2.3")));

I'd expect it to work out of the box as expected. Why shouldn't it?

Can we please fix this in all our currently released versions?

Attachments (1)

install-example.txt (2.0 KB ) - added by anonymous 5 years ago.

Download all attachments as: .zip

Change History (22)

by anonymous, 5 years ago

Attachment: install-example.txt added

comment:1 by Martin Sjölund, 5 years ago

Milestone: 1.14.21.16.0
Resolution: fixed
Status: newclosed

comment:2 by Francesco Casella, 5 years ago

Resolution: fixed
Status: closedreopened

Thank you @sjoelund.se!

Would you mind pushing this also to the 1.14.1 and 1.15.0 maintenance branches? I guess we shouldn't wait until July 2020 to release OMEdit on Linux with MSL 3.2.3 :)

comment:3 by Francesco Casella, 5 years ago

Milestone: 1.16.01.14.2

comment:4 by Martin Sjölund, 5 years ago

You should never change dependencies on released packages. 1.15 branch could be fixed though.

in reply to:  4 comment:6 by Francesco Casella, 5 years ago

Replying to sjoelund.se:

You should never change dependencies on released packages.

That goes without saying.

The point of porting this fix to maintenance/v.14 is to have this update in a possible future 1.14.2 (which is not released yet) if 1.15.0 is delayed by more than I few weeks, which I cannot definitely rule out.

@sjoelund.se, do you agree?

comment:7 by Francesco Casella, 4 years ago

Milestone: 1.14.21.16.0
Resolution: fixed
Status: reopenedclosed

Since 1.14.2 and 1.15.0 will not be released, this will automatically be fixed in 1.16.0

comment:8 by Francesco Casella, 4 years ago

Cc: alberto.leva@… federico.terraneo@… AndreaBartolini removed
Resolution: fixed
Status: closedreopened

If I understood it correctly today, we somehow have the same problem yet because of the APT server being stuck to omlib modelica 3.2.2. So, when you make a fresh install on a Linux machine for the first time, you get 3.2.2, not 3.2.3.

This should be fixed in 1.16.2

comment:9 by Francesco Casella, 4 years ago

Milestone: 1.16.01.16.2

comment:10 by Francesco Casella, 4 years ago

1.16.2 was released today. Rescheduled to 1.17.0

comment:11 by Francesco Casella, 4 years ago

Milestone: 1.16.21.17.0

comment:12 by Adrian Pop, 4 years ago

In 1.16.2 this behavior is changed, no libraries are installed by default.
People can then just install what library they want.

in reply to:  12 comment:13 by Francesco Casella, 4 years ago

Replying to adrpo:

In 1.16.2 this behavior is changed, no libraries are installed by default.
People can then just install what library they want.

OK, but what about the MSL?

comment:14 by Adrian Pop, 4 years ago

You need to install that separately via the package manager or:

apt-get install omlib-modelica-3.2.3 omlib-modelicareference

comment:15 by Francesco Casella, 4 years ago

OMG, this means that any user installing OMC on Linux for the first time won't see MLS in OMEdit until he does that?

If that is the case, we have to make it very, very clear!

comment:16 by Francesco Casella, 4 years ago

Is this written somewhere already?

comment:17 by Adrian Pop, 4 years ago

Is written in Download-Linux (Installing Modelica libraries) but maybe we should make it more clear:
https://openmodelica.org/download/download-linux

I think we will need a 1.16.3 (as I think I broke OMEdit diagrams, see #6307 & #6310) and I could add a recommended dependency on omc with MSL 3.2.3.

comment:18 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Rescheduled to 1.18.0

comment:19 by Adrian Pop, 4 years ago

I think that we can close this ticket as no libraries are installed by default now.
Or we can consider as a duplicate of handling the MSL or the one about the package manager.

comment:20 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

comment:21 by Francesco Casella, 3 years ago

Milestone: 1.19.0

1.18.0 blocker tickets moved to 1.19.0

Note: See TracTickets for help on using tickets.