Bug 44630 - Failed docker installations due to apt lock
Failed docker installations due to apt lock
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-0-errata
Assigned To: Felix Botner
Dirk Wiesenthal
Depends on: 44015
Blocks: 45103 45142
  Show dependency treegraph
Reported: 2017-05-18 10:24 CEST by Felix Botner
Modified: 2017-08-07 14:58 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.274
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2017-05-18 10:24:56 CEST
+++ This bug was initially created as a clone of Bug #44015 +++

The test cases show the following error (in this case 76_app_ports_redirect):
Starting to download 3 file(s) directly
+ univention-app register dg679qmtiq --component
File: /etc/apt/apt.conf.d/55user_agent

++ univention-app get dg679qmtiq default_packages --values-only --shell
+ app_packages='telnetd proftpd'
+ univention-install -y telnetd proftpd
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
Setup script failed!
Going to remove dg679qmtiq (8.8.1)

So, it seems the apt cache is locked.
Comment 1 Felix Botner univentionstaff 2017-05-18 10:30:11 CEST
disabled cron job, limited update_available to once per day

univention-docker-container-mode: 79415
Comment 2 Felix Botner univentionstaff 2017-06-07 10:03:05 CEST
* added 2>/dev/null to univention-upgrade check
* unset update/container/check/* in update_packages and update_release
Comment 3 Dirk Wiesenthal univentionstaff 2017-06-16 12:15:30 CEST
OK: Code review. No appbox image available...
Comment 4 Janek Walkenhorst univentionstaff 2017-06-19 15:04:56 CEST