Answers: <p>According to <a href="https://askubuntu.com/a/40017">How to let <code>dpkg -i</code> install dependencies for me?</a> it sounds like <code>dpkg</code> doesn't have support for automatically installing a package's dependencies.</p>
  
  <p>Personally I'd switch to a package manager which has such support, like <a href="https://help.ubuntu.com/community/AptGet/Howto" rel="nofollow noreferrer"><code>apt-get</code></a>. You'll like it ;)</p>
  
  <p>Alternatively you could:</p>
  
  <ul>
  <li>use a "helper" application around <code>dpkg</code> as suggested in the above-mentioned answer</li>
  <li>manually collect the entire list of missing dependencies and install them as well. But it can be very tedious. </li>
  </ul>
  
  <blockquote>
    <p>I have the dependencies installed, but on the latest version</p>
  </blockquote>
  
  <p>The version is part of the dependency, so technically the above means you don't actually have the dependencies installed. At least not for that particular version of OMG.</p>
  
  <blockquote>
    <p>and assuming that OMD and the packages that comes with it requires the
    older version?</p>
  </blockquote>
  
  <p>Bingo. You have 2 options:</p>
  
  <ul>
  <li><p>re-create an older version of your system which is compatible with your particular version of OMD. It could be based on Docker or some VM technology (or some plain old hw you may have lying around). I won't consider downgrading your system a solution :)</p></li>
  <li><p>look for a newer version of OMD, hopefully one that's happy with what you have installed and on which its dependencies can be installed (some packages suport multiple versions installed on the same system). Also note from <a href="http://omdistro.org/" rel="nofollow noreferrer">omdistro.org</a>, you may be looking for another package:</p></li>
  </ul>
  
  <blockquote>
    <p>With the growing popularity of OMD, we came to a point were it makes
    sense to develop two specialized versions of OMD.</p>
    
    <ul>
    <li><a href="http://mathias-kettner.com/check_mk.html" rel="nofollow noreferrer">Check_MK Raw</a>: Check_MK Raw Edition focuses on Check_MK. Use this if you mainly use Check_MK. This is a smaller package including
    all components to run Check_MK.</li>
    <li><a href="https://labs.consol.de/omd/index.html" rel="nofollow noreferrer">OMD-Labs</a>: OMD-Labs contains all components of the original omd and some more addons like Grafana and Influxdb as well as Naemon and
    Icinga 2.</li>
    </ul>
  </blockquote>
  
Answers: CC BY-SA 3.0
Answers: 2017-08-30T15:41:32.307Z
Answers: I can't swear but I think that when the problem is a version conflict dpkg tells the package is installed but in a version not compatible, here it says it is not installed. ..
Answers: Tensibai
Answers: CC BY-SA 3.0
Answers: 2017-09-02T10:16:09.537Z
Answers: Hi guys, I think my issue is just required version. my machine is updated till whatever is the latest version, including the dependancies. OMD is also on the latest version, which according to their repo, is 1.3x. I think  as Dan has said, potentially the only thing to do is revert back to the required versions of OMD dependancies. Not what I wanted to hear :-) lol, but sometimes the truth hurts hehehehehehe
Answers: user8324143
Answers: CC BY-SA 3.0
Answers: 2017-08-30T14:50:12.653Z
Answers: 2017-08-30T18:29:17.130Z
Answers: 2017-08-30T18:29:17.130Z
Answers: Dan Cornilescu
Body: <p>When installing OMD 1.3 on Ubuntu, I get the following output:</p>
  
  <pre><code>dpkg: dependency problems prevent configuration of omd-1.31.20160708:
  omd-1.31.20160708 depends on libapache2-mod-proxy-html; however: Package libapache2-mod-proxy-html is not installed. 
  omd-1.31.20160708 depends on apache2-mpm-prefork; however: Package apache2-mpm-prefork is not installed.
  omd-1.31.20160708 depends on libboost-program-options1.54.0; however: Package libboost-program-options1.54.0 is not installed.
  omd-1.31.20160708 depends on libboost-system1.54.0; however: Package libboost-system1.54.0 is not installed.
  omd-1.31.20160708 depends on libperl5.18; however: Package libperl5.18 is not installed.
  omd-1.31.20160708 depends on php5-cli; however: Package php5-cli is not installed.
  omd-1.31.20160708 depends on php5-cgi; however: Package php5-cgi is not installed.
  omd-1.31.20160708 depends on php5-gd; however: Package php5-gd is not installed.
  omd-1.31.20160708 depends on php5-mcrypt; however: Package php5-mcrypt is not installed.
  omd-1.31.20160708 depends on php5-sqlite; howeve 
  dpkg: error processing package omd-1.31.20160708 (--install): dependency problems - leaving unconfigured
  </code></pre>
  
  <p>I have updated and upgraded my system quite a few times and still issue persists and has confirmed that the dependencies exist.</p>
  
  <p>Does anybody know if the above packages and their versions are required? I have the dependencies installed, but on the latest version and I am assuming that OMD and the packages that comes with it requires the older version.</p>
  
  <p>Any advise or solutions to this issue?</p>
  
  <p>System:Ubuntu 16.04.3 LTS OMD Version: 1.31.20160708</p>
  
Comments: CC BY-SA 3.0
Comments: 2017-08-30T08:54:23.310Z
Comments: That's very unclear what your problem could be, what does `dpkg -l libapache2-mod-proxy-html` give for exemple ?
Comments: Tensibai
Tags: <monitoring><nagios>
Title: OMD vs Ubuntu install issues
UserDisplayName: user8324143
ThreadText: # OMD vs Ubuntu install issues
  
  (Asked by: username_0 on 2017-08-30)
  
  When installing OMD 1.3 on Ubuntu, I get the following output:
  
  ```
  dpkg: dependency problems prevent configuration of omd-1.31.20160708:
  omd-1.31.20160708 depends on libapache2-mod-proxy-html; however: Package libapache2-mod-proxy-html is not installed. 
  omd-1.31.20160708 depends on apache2-mpm-prefork; however: Package apache2-mpm-prefork is not installed.
  omd-1.31.20160708 depends on libboost-program-options1.54.0; however: Package libboost-program-options1.54.0 is not installed.
  omd-1.31.20160708 depends on libboost-system1.54.0; however: Package libboost-system1.54.0 is not installed.
  omd-1.31.20160708 depends on libperl5.18; however: Package libperl5.18 is not installed.
  omd-1.31.20160708 depends on php5-cli; however: Package php5-cli is not installed.
  omd-1.31.20160708 depends on php5-cgi; however: Package php5-cgi is not installed.
  omd-1.31.20160708 depends on php5-gd; however: Package php5-gd is not installed.
  omd-1.31.20160708 depends on php5-mcrypt; however: Package php5-mcrypt is not installed.
  omd-1.31.20160708 depends on php5-sqlite; howeve 
  dpkg: error processing package omd-1.31.20160708 (--install): dependency problems - leaving unconfigured
  
  ```
  
  I have updated and upgraded my system quite a few times and still issue persists and has confirmed that the dependencies exist.
  
  Does anybody know if the above packages and their versions are required? I have the dependencies installed, but on the latest version and I am assuming that OMD and the packages that comes with it requires the older version.
  
  Any advise or solutions to this issue?
  
  System:Ubuntu 16.04.3 LTS OMD Version: 1.31.20160708
  
  **Tags:** monitoring, nagios
  
  > **Comments:**
  > **username_1**: That's very unclear what your problem could be, what does `dpkg -l libapache2-mod-proxy-html` give for exemple ?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-08-30. Score: 2
  
  According to [How to let `dpkg -i` install dependencies for me?](https://askubuntu.com/a/40017) it sounds like `dpkg` doesn't have support for automatically installing a package's dependencies.
  
  Personally I'd switch to a package manager which has such support, like [`apt-get`](https://help.ubuntu.com/community/AptGet/Howto). You'll like it ;)
  
  Alternatively you could:
  
  * use a "helper" application around `dpkg` as suggested in the above-mentioned answer
  * manually collect the entire list of missing dependencies and install them as well. But it can be very tedious.
  
  > I have the dependencies installed, but on the latest version
  
  The version is part of the dependency, so technically the above means you don't actually have the dependencies installed. At least not for that particular version of OMG.
  
  > and assuming that OMD and the packages that comes with it requires the
  > older version?
  
  Bingo. You have 2 options:
  
  * re-create an older version of your system which is compatible with your particular version of OMD. It could be based on Docker or some VM technology (or some plain old hw you may have lying around). I won't consider downgrading your system a solution :)
  * look for a newer version of OMD, hopefully one that's happy with what you have installed and on which its dependencies can be installed (some packages suport multiple versions installed on the same system). Also note from [omdistro.org](http://omdistro.org/), you may be looking for another package:
  
  > With the growing popularity of OMD, we came to a point were it makes
  > sense to develop two specialized versions of OMD.
  >
  > * [Check\_MK Raw](http://mathias-kettner.com/check_mk.html): Check\_MK Raw Edition focuses on Check\_MK. Use this if you mainly use Check\_MK. This is a smaller package including
  >   all components to run Check\_MK.
  > * [OMD-Labs](https://labs.consol.de/omd/index.html): OMD-Labs contains all components of the original omd and some more addons like Grafana and Influxdb as well as Naemon and
  >   Icinga 2.
  
  > **Comments:**
  > **username_1**: I can't swear but I think that when the problem is a version conflict dpkg tells the package is installed but in a version not compatible, here it says it is not installed. ..  
  > **username_0**: Hi guys, I think my issue is just required version. my machine is updated till whatever is the latest version, including the dependancies. OMD is also on the latest version, which according to their repo, is 1.3x. I think  as Dan has said, potentially the only thing to do is revert back to the required versions of OMD dependancies. Not what I wanted to hear :-) lol, but sometimes the truth hurts hehehehehehe  
  
  ---
  
  