#5615 closed defect (fixed)
unmet dependencies error blocks installation of third part libraries on Ubuntu 18.04
Reported by: | Andrea Bartolini | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | blocker | Milestone: | 1.16.0 |
Component: | Third-Party Libraries | Version: | v1.14.0-dev-nightly |
Keywords: | Cc: | Francesco Casella |
Description
If you try to install the Modelica third part libraries from the repo:
deb http://build.openmodelica.org/apt bionic nightly deb-src http://build.openmodelica.org/apt bionic nightly
you get this error:
andrea@andrea-HP-Pavilion-Notebook:~$ sudo apt install omlib-.* Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'omlib-praxissimulationstechnik' for regex 'omlib-.*' Note, selecting 'omlib-modelicabyexample-0.5.0' for regex 'omlib-.*' Note, selecting 'omlib-physiolibrary-2.3.2' for regex 'omlib-.*' Note, selecting 'omlib-modelica-synchronous-0.91' for regex 'omlib-.*' Note, selecting 'omlib-modelica-synchronous-0.92' for regex 'omlib-.*' Note, selecting 'omlib-chemical-1.2.0-alpha' for regex 'omlib-.*' Note, selecting 'omlib-fuzzycontrol' for regex 'omlib-.*' Note, selecting 'omlib-openbldc' for regex 'omlib-.*' Note, selecting 'omlib-adgenkinetics' for regex 'omlib-.*' Note, selecting 'omlib-planarmechanicstest' for regex 'omlib-.*' Note, selecting 'omlib-photovoltaics-tgm-1.4.1' for regex 'omlib-.*' Note, selecting 'omlib-instantaneoussymmetricalcomponents' for regex 'omlib-.*' Note, selecting 'omlib-buildings-6.0.0' for regex 'omlib-.*' Note, selecting 'omlib-wastewater-2.1.0' for regex 'omlib-.*' Note, selecting 'omlib-test' for regex 'omlib-.*' Note, selecting 'omlib-extendedpetrinets-1.0' for regex 'omlib-.*' Note, selecting 'omlib-electromechanicaldrives-2.2.0' for regex 'omlib-.*' Note, selecting 'omlib-brineprop-0.5.5' for regex 'omlib-.*' Note, selecting 'omlib-buildings-4.0.0' for regex 'omlib-.*' Note, selecting 'omlib-wbehptlib' for regex 'omlib-.*' Note, selecting 'omlib-disheatlib-1.1' for regex 'omlib-.*' Note, selecting 'omlib-pvsystems-0.6.3' for regex 'omlib-.*' Note, selecting 'omlib-obsoletemodelica3' for regex 'omlib-.*' Note, selecting 'omlib-buildings-2.0.0' for regex 'omlib-.*' Note, selecting 'omlib-aixlib-0.3.0' for regex 'omlib-.*' Note, selecting 'omlib-openhydraulics-1.0' for regex 'omlib-.*' Note, selecting 'omlib-helmholtzmedia' for regex 'omlib-.*' Note, selecting 'omlib-siemenspower-omctest' for regex 'omlib-.*' Note, selecting 'omlib-soltermica' for regex 'omlib-.*' Note, selecting 'omlib-buildings-2.1.0' for regex 'omlib-.*' Note, selecting 'omlib-aixlib-0.4.0' for regex 'omlib-.*' Note, selecting 'omlib-servomechanisms-1.0' for regex 'omlib-.*' Note, selecting 'omlib-modelicaservices-1.0' for regex 'omlib-.*' Note, selecting 'omlib-thermopower-3.1' for regex 'omlib-.*' Note, selecting 'omlib-modelicareference' for regex 'omlib-.*' Note, selecting 'omlib-modelica-stategraph2-2.0.1' for regex 'omlib-.*' Note, selecting 'omlib-modelica-stategraph2-2.0.2' for regex 'omlib-.*' Note, selecting 'omlib-modelica-stategraph2-2.0.3' for regex 'omlib-.*' Note, selecting 'omlib-ibpsa-3.0.0' for regex 'omlib-.*' Note, selecting 'omlib-faulttriggering-0.6.6' for regex 'omlib-.*' Note, selecting 'omlib-scalabletestsuite-1.11.4' for regex 'omlib-.*' Note, selecting 'omlib-aixlib-0.7.3' for regex 'omlib-.*' Note, selecting 'omlib-modelicaservices-3.2' for regex 'omlib-.*' Note, selecting 'omlib-annex60-1.0.0' for regex 'omlib-.*' Note, selecting 'omlib-modelicadevs-1' for regex 'omlib-.*' Note, selecting 'omlib-ibpsa-latest' for regex 'omlib-.*' Note, selecting 'omlib-wbehvpkg' for regex 'omlib-.*' Note, selecting 'omlib-arduino-0.1.0' for regex 'omlib-.*' Note, selecting 'omlib-gnu-scientificlibrary' for regex 'omlib-.*' Note, selecting 'omlib-keywordio-0.9.0' for regex 'omlib-.*' Note, selecting 'omlib-windpowerplants-1.2.0' for regex 'omlib-.*' Note, selecting 'omlib-conpnlib' for regex 'omlib-.*' Note, selecting 'omlib-nuclear' for regex 'omlib-.*' Note, selecting 'omlib-modelica-synchronous-0.92.1' for regex 'omlib-.*' Note, selecting 'omlib-physiomodel-1.0.1-beta' for regex 'omlib-.*' Note, selecting 'omlib-complex-3.2.1' for regex 'omlib-.*' Note, selecting 'omlib-complex-3.2.2' for regex 'omlib-.*' Note, selecting 'omlib-complex-3.2.3' for regex 'omlib-.*' Note, selecting 'omlib-spotexamples-0.706.1' for regex 'omlib-.*' Note, selecting 'omlib-approxspline-1.0.0' for regex 'omlib-.*' Note, selecting 'omlib-modelica-synchronous-0.93.0' for regex 'omlib-.*' Note, selecting 'omlib-motorcycledynamics' for regex 'omlib-.*' Note, selecting 'omlib-modelica-3.2.1' for regex 'omlib-.*' Note, selecting 'omlib-modelica-3.2.2' for regex 'omlib-.*' Note, selecting 'omlib-modelica-3.2.3' for regex 'omlib-.*' Note, selecting 'omlib-modelicareference-trunk' for regex 'omlib-.*' Note, selecting 'omlib-admsl' for regex 'omlib-.*' Note, selecting 'omlib-emoth-1.4.0' for regex 'omlib-.*' Note, selecting 'omlib-manualtracking' for regex 'omlib-.*' Note, selecting 'omlib-modelica-noise-1.0-beta.1' for regex 'omlib-.*' Note, selecting 'omlib-fmitest' for regex 'omlib-.*' Note, selecting 'omlib-greenhouses' for regex 'omlib-.*' Note, selecting 'omlib-modelica-requirements-0.6' for regex 'omlib-.*' Note, selecting 'omlib-biochem-1.0.1' for regex 'omlib-.*' Note, selecting 'omlib-complexlib' for regex 'omlib-.*' Note, selecting 'omlib-thermosyspro-3.0' for regex 'omlib-.*' Note, selecting 'omlib-thermosyspro-3.1' for regex 'omlib-.*' Note, selecting 'omlib-failuremodes-1.2.1' for regex 'omlib-.*' Note, selecting 'omlib-modelicatest-3.2.1' for regex 'omlib-.*' Note, selecting 'omlib-modelicatest-3.2.2' for regex 'omlib-.*' Note, selecting 'omlib-modelicatest-3.2.3' for regex 'omlib-.*' Note, selecting 'omlib-openfdm' for regex 'omlib-.*' Note, selecting 'omlib-ipsl-1.1.0' for regex 'omlib-.*' Note, selecting 'omlib-buildings-1.4' for regex 'omlib-.*' Note, selecting 'omlib-buildings-1.5' for regex 'omlib-.*' Note, selecting 'omlib-buildings-1.6' for regex 'omlib-.*' Note, selecting 'omlib-idealizedcontact-0.2.0' for regex 'omlib-.*' Note, selecting 'omlib-algebratestsuite' for regex 'omlib-.*' Note, selecting 'omlib-powersystems-latest' for regex 'omlib-.*' Note, selecting 'omlib-complex-1.0' for regex 'omlib-.*' Note, selecting 'omlib-physiolibrary-2.3.2-beta' for regex 'omlib-.*' Note, selecting 'omlib-flight' for regex 'omlib-.*' Note, selecting 'omlib-modelica-1.6' for regex 'omlib-.*' Note, selecting 'omlib-feeddrivelibrary' for regex 'omlib-.*' Note, selecting 'omlib-complex-trunk' for regex 'omlib-.*' Note, selecting 'omlib-vvdrlib' for regex 'omlib-.*' Note, selecting 'omlib-photovoltaics-1.4.1' for regex 'omlib-.*' Note, selecting 'omlib-smps' for regex 'omlib-.*' Note, selecting 'omlib-modelica-trunk' for regex 'omlib-.*' Note, selecting 'omlib-modelica-2.2' for regex 'omlib-.*' Note, selecting 'omlib-deploystructlib' for regex 'omlib-.*' Note, selecting 'omlib-modelica-3.0' for regex 'omlib-.*' Note, selecting 'omlib-modelica-3.1' for regex 'omlib-.*' Note, selecting 'omlib-modelica-3.2' for regex 'omlib-.*' Note, selecting 'omlib-deslib-1.6.1' for regex 'omlib-.*' Note, selecting 'omlib-fastbuildings-0.0' for regex 'omlib-.*' Note, selecting 'omlib-systemdynamics-2.1' for regex 'omlib-.*' Note, selecting 'omlib-buildings-5.0.1' for regex 'omlib-.*' Note, selecting 'omlib-buildings-5.1.0' for regex 'omlib-.*' Note, selecting 'omlib-buildings-3.0.0' for regex 'omlib-.*' Note, selecting 'omlib-buildingcontrollib-0.1.0' for regex 'omlib-.*' Note, selecting 'omlib-mvemlib-1.0.1' for regex 'omlib-.*' Note, selecting 'omlib-optimisers-0.1' for regex 'omlib-.*' Note, selecting 'omlib-advancednoise-1.0.0' for regex 'omlib-.*' Note, selecting 'omlib-advancednoise-1.0.1' for regex 'omlib-.*' Note, selecting 'omlib-openipsl-2.0.0-dev' for regex 'omlib-.*' Note, selecting 'omlib-electricalenergystorage-3.2.2' for regex 'omlib-.*' Note, selecting 'omlib-linearmpc-1' for regex 'omlib-.*' Note, selecting 'omlib-pnlib-2.1' for regex 'omlib-.*' Note, selecting 'omlib-buildingsystems-2.0.0-beta' for regex 'omlib-.*' Note, selecting 'omlib-modelicatest-trunk' for regex 'omlib-.*' Note, selecting 'omlib-modelicatestoverdetermined-3.2.2' for regex 'omlib-.*' Note, selecting 'omlib-fcsys-0.2.6' for regex 'omlib-.*' Note, selecting 'omlib-bondgraph' for regex 'omlib-.*' Note, selecting 'omlib-modelica-devicedrivers-1.5.0' for regex 'omlib-.*' Note, selecting 'omlib-buildsyspro-3.2.0' for regex 'omlib-.*' Note, selecting 'omlib-fractionalorder' for regex 'omlib-.*' Note, selecting 'omlib-examples' for regex 'omlib-.*' Note, selecting 'omlib-buildings-latest' for regex 'omlib-.*' Note, selecting 'omlib-modpowersystems' for regex 'omlib-.*' Note, selecting 'omlib-powerflow-0.3' for regex 'omlib-.*' Note, selecting 'omlib-powersystems-1.0.0' for regex 'omlib-.*' Note, selecting 'omlib-modelica-devicedrivers-1.7.1' for regex 'omlib-.*' Note, selecting 'omlib-modelicaservices-3.2.1' for regex 'omlib-.*' Note, selecting 'omlib-modelicaservices-3.2.2' for regex 'omlib-.*' Note, selecting 'omlib-modelicaservices-3.2.3' for regex 'omlib-.*' Note, selecting 'omlib-modelicaadditions-1.5' for regex 'omlib-.*' Note, selecting 'omlib-messagepack-0.1.1' for regex 'omlib-.*' Note, selecting 'omlib-planarmechanics-1.4.1' for regex 'omlib-.*' Note, selecting 'omlib-industrialcontrolsystems-1' for regex 'omlib-.*' Note, selecting 'omlib-thermalseparation-0.2' for regex 'omlib-.*' Note, selecting 'omlib-libras' for regex 'omlib-.*' Note, selecting 'omlib-realtimecoordinationlibrary-1.0.4' for regex 'omlib-.*' Note, selecting 'omlib-solartherm-0.2' for regex 'omlib-.*' Note, selecting 'omlib-modelicacompliance-3.2' for regex 'omlib-.*' Note, selecting 'omlib-ncdatareader2-2.4.0' for regex 'omlib-.*' Note, selecting 'omlib-drivecontrol-3.1.0' for regex 'omlib-.*' Note, selecting 'omlib-ncdatareader2-2.5.0' for regex 'omlib-.*' Note, selecting 'omlib-xogenytest-1.1' for regex 'omlib-.*' Note, selecting 'omlib-hansermodelica-1.1.0' for regex 'omlib-.*' Note, selecting 'omlib-modelica-2.2.1' for regex 'omlib-.*' Note, selecting 'omlib-modelica-2.2.2' for regex 'omlib-.*' Note, selecting 'omlib-siemenspower-2.1-beta' for regex 'omlib-.*' Note, selecting 'omlib-modelicaads' for regex 'omlib-.*' Note, selecting 'omlib-qssfluidflow-1.0' for regex 'omlib-.*' Note, selecting 'omlib-streamconnectors' for regex 'omlib-.*' Note, selecting 'omlib-externdata-2.5.0' for regex 'omlib-.*' Note, selecting 'omlib-fcsystest' for regex 'omlib-.*' Note, selecting 'omlib-objectstab-1.1-dev' for regex 'omlib-.*' Note, selecting 'omlib-externalmemorylib' for regex 'omlib-.*' Note, selecting 'omlib-wavelet' for regex 'omlib-.*' Note, selecting 'omlib-modelica-linearsystems2-2.3.5' for regex 'omlib-.*' Note, selecting 'omlib-bondlib-2.3' for regex 'omlib-.*' Note, selecting 'omlib-vehicleinterfaces-1.2.2' for regex 'omlib-.*' Note, selecting 'omlib-vehicleinterfaces-1.2.4' for regex 'omlib-.*' Note, selecting 'omlib-modelicaservices-trunk' for regex 'omlib-.*' Note, selecting 'omlib-spot-0.706.1' for regex 'omlib-.*' Note, selecting 'omlib-siemenspower-2.2' for regex 'omlib-.*' Note, selecting 'omlib-neuralnetwork-1.0' for regex 'omlib-.*' Note, selecting 'omlib-advancednoise-1.0.1' instead of 'omlib-advancednoise-1.0.0' Note, selecting 'omlib-modelica-synchronous-0.93.0' instead of 'omlib-modelica-synchronous-0.92.1' Note, selecting 'omlib-aixlib-0.4.0' instead of 'omlib-aixlib-0.3.0' Note, selecting 'omlib-complex-3.2.1' instead of 'omlib-complex-1.0' Note, selecting 'omlib-modelica-2.2.2' instead of 'omlib-modelica-2.2' Note, selecting 'omlib-modelica-2.2.2' instead of 'omlib-modelica-2.2.1' Note, selecting 'omlib-modelica-3.2.1' instead of 'omlib-modelica-3.0' Note, selecting 'omlib-modelica-3.2.1' instead of 'omlib-modelica-3.2' Note, selecting 'omlib-modelica-stategraph2-2.0.3' instead of 'omlib-modelica-stategraph2-2.0.1' Note, selecting 'omlib-modelica-stategraph2-2.0.3' instead of 'omlib-modelica-stategraph2-2.0.2' Note, selecting 'omlib-modelica-synchronous-0.93.0' instead of 'omlib-modelica-synchronous-0.91' Note, selecting 'omlib-modelica-synchronous-0.93.0' instead of 'omlib-modelica-synchronous-0.92' Note, selecting 'omlib-modelicaservices-3.2.1' instead of 'omlib-modelicaservices-3.2' Note, selecting 'omlib-ncdatareader2-2.5.0' instead of 'omlib-ncdatareader2-2.4.0' Note, selecting 'omlib-physiolibrary-2.3.2-beta' instead of 'omlib-physiolibrary-2.3.2' omlib-complex-3.2.2 is already the newest version (3.2.2~237~gd992c34~om1-1). omlib-complex-3.2.2 set to manually installed. omlib-complex-3.2.3 is already the newest version (3.2.3+build.3~beta.1-1). omlib-complex-3.2.3 set to manually installed. omlib-modelica-3.2.2 is already the newest version (3.2.2~237~gd992c34~om3-1). omlib-modelica-3.2.2 set to manually installed. omlib-modelica-3.2.3 is already the newest version (3.2.3+build.3~beta.1~om2-1). omlib-modelicareference is already the newest version (20190715~084958~git~maint~3.2.3-1). omlib-modelicareference set to manually installed. omlib-modelicaservices-3.2.2 is already the newest version (3.2.2~237~gd992c34~om2-1). omlib-modelicaservices-3.2.2 set to manually installed. omlib-modelicaservices-3.2.3 is already the newest version (3.2.3+build.3~beta.1~om2-1). omlib-modelicaservices-3.2.3 set to manually installed. 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: omlib-aixlib-0.7.3 : Depends: omlib-modelica-devicedrivers-1.5.0 but it is not installable omlib-arduino-0.1.0 : Depends: omlib-modelica-devicedrivers-1.5.0 but it is not installable E: Unable to correct problems, you have held broken packages.
Sysop: Ubuntu 18.04
Attachments (1)
Change History (13)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Milestone: | Future → 1.14.0 |
---|---|
Owner: | set to |
Status: | new → assigned |
I guess we shouldn't release broken Debian packages for 1.14.0
comment:3 by , 5 years ago
This is why we need a package manager for Modelica libraries. The problem is we don't want to release every single version of every package on Windows. So we update Modelica_DeviceDrivers to a new version, but there exist packages that depend on the older version.
comment:4 by , 5 years ago
While waiting for the package manager to be build (I think it won't be tomorrow...) for the linux users may be useful to make available a txt file containing the list of apt commands to install the third part libraries.
That file could be used as script to install only available/interested library in a short time...
by , 5 years ago
Attachment: | InstallThirdPartLibraries.sh added |
---|
comment:6 by , 5 years ago
This works better
for PKG in `apt-cache search "omlib-.*" | cut -d" " -f1`; do sudo apt-get install -y "\$PKG"; done
comment:7 by , 5 years ago
I suppose it is enough to skip the "-y" flag in order to select only the interested libraries.... is it right?
comment:8 by , 5 years ago
Yes, but then it's easier to just open a graphical package manager like synaptic and search for omlib-
comment:9 by , 5 years ago
As far as I am concerned, anything goes, as long as there are clear guidelines in the linux download instruction page.
comment:10 by , 5 years ago
Milestone: | 1.14.0 → 1.15.0 |
---|
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2.
This issue, previously marked as blocker for 1.14.0, is rescheduled to 1.15.0
comment:11 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The instructions are updated and for the next release, the libraries will probably be removed anyway.
comment:12 by , 4 years ago
Milestone: | 1.15.0 → 1.16.0 |
---|
Release 1.15.0 was scrapped, because replaceable support eventually turned out to be more easily implemented in 1.16.0. Hence, all 1.15.0 tickets are rescheduled to 1.16.0
The final result is that no one third part library is installed.