- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Failure to find source for installation
Failure to find source for installation
Failure to find source for installation
I am attempting to install OpenModelica from source for Debian Wheezy, following the instructions at https://openmodelica.org/index.php/down … oad-linux. I added
deb http://build.openmodelica.org/apt wheezy nightly
deb-src http://build.openmodelica.org/apt wheezy nightly
to my sources.list and updated, but when I attempt
sudo apt-get build-dep openmodelica
I get the message
Unable to find a source package for openmodelica
When I check http://build.openmodelica.org/apt/dists … ce/Sources there is indeed no package called openmodelica.
Am I doing something wrong?
(By the way, the instructions say 'sudo apt build-dep' but presumably that should be 'sudo apt-get build-dep'.)
Re: Failure to find source for installation
Hi,
seems I have similar/same issue like funnell. I tried to install latest stable version of open modelica acc. instruction (https://www.openmodelica.org/download/download-linux)
After step "$ sudo apt update", I got following response:
Ign:1 http://build.openmodelica.org/apt `lsb_release InRelease
OK:2 http://ppa.launchpad.net/damien-moore/c … ble/ubuntu xenial InRelease
Fehl:3 http://build.openmodelica.org/apt `lsb_release Release
404 Not Found [IP: XXX]
OK:4 http://de.archive.ubuntu.com/ubuntu xenial InRelease
OK:5 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
OK:6 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
OK:7 http://de.archive.ubuntu.com/ubuntu xenial-security InRelease
Paketlisten werden gelesen... Fertig
E: The repository 'http://build.openmodelica.org/apt `lsb_release Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Would be great toi get some support.
Re: Failure to find source for installation
Solved by this for ubuntu-xenial:
echo "deb http://build.openmodelica.org/apt xenial stable" | sudo tee /etc/apt/sources.list.d/openmodelica.list
wget -q http://build.openmodelica.org/apt/openmodelica.asc -O- | sudo apt-key add -
apt-key fingerprint
sudo apt update
sudo apt install openmodelica
sudo apt install omlib-.*
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Failure to find source for installation