# Various problems when trying to install packages on Ubuntu

**URL:** <https://community.openhab.org/t/various-problems-when-trying-to-install-packages-on-ubuntu/11152>\
**Category:** Off-Topic\
**Tags:** installation, ubuntu, apt\
**Created:** [June 1, 2016, 9:16am UTC](https://community.openhab.org/t/various-problems-when-trying-to-install-packages-on-ubuntu/11152 "2016-06-01T09:16:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![3DJupp](https://community.openhab.org/user_avatar/community.openhab.org/3djupp/32/105950_2.png) [@3DJupp](https://community.openhab.org/u/3DJupp)\
**Post date:** [June 1, 2016, 9:16am UTC](https://community.openhab.org/t/various-problems-when-trying-to-install-packages-on-ubuntu/11152/1 "2016-06-01T09:16:49Z")

</div>

**Edit: 2 or more Broken packages caused this “loops” and “xyz depends on openhab”**  
**I reinstalled all those printing related packages.**

Hey there,

(i know it is not openhab related, but it is a problem on my smarthome system, which uses openhab and some other services)  
i have some problems when trying to install packages via apt-get (for example ntp, because my clock seems to be wrong)

When trying to install ntp the following error messages appear:

![](https://community-openhab-org.s3-eu-central-1.amazonaws.com/original/2X/e/e147a6e0615fdd8a2802ef99ee008b4a76149be9.png)

My system is based on Ubuntu 16.04, 4GB of RAM/ 8 thread i7 (OpenHAB works like a charm)  
Other services: Cups, Apache, PHP, Python

But i want to install ntp and ntpdate, to get the right time.

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [June 3, 2016, 12:33am UTC](https://community.openhab.org/t/various-problems-when-trying-to-install-packages-on-ubuntu/11152/2 "2016-06-03T00:33:57Z")

</div>

Did you install 16.04 from scratch or upgrade? Sometimes an upgrade can cause weird things to happen. I successfully upgraded my openHAB Ubuntu to 16.05 but YMMV.

I would try to backup my configs, apt-get purge lpd openhab, then apt-get install lpd openhab to reinstall and see if that clears things up. Good luck,
