# During initial boot Could not get lock /var/lib/apt/lists/lock

**URL:** <https://dietpi.com/forum/t/during-initial-boot-could-not-get-lock-var-lib-apt-lists-lock/17385>\
**Category:** Troubleshooting\
**Created:** [21 July 2023 15:55 UTC](https://dietpi.com/forum/t/during-initial-boot-could-not-get-lock-var-lib-apt-lists-lock/17385 "2023-07-21T15:55:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Timoses](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/71c47a/32.png) [@Timoses](https://dietpi.com/forum/u/Timoses)\
**Post date:** [21 July 2023 17:24 UTC](https://dietpi.com/forum/t/during-initial-boot-could-not-get-lock-var-lib-apt-lists-lock/17385/4 "2023-07-21T17:24:30Z")

</div>

Thanks for the tip. I will try that.

However, now I get the following error. So this one does not seem to be consistent always.

See [Initial Boot "Time Sync timed out" and apt update repo signature not valid yet =\> Failed install](https://dietpi.com/forum/t/initial-boot-time-sync-timed-out-and-apt-update-repo-signature-not-valid-yet-failed-install/17389)

---

_[View the full topic](https://dietpi.com/forum/t/during-initial-boot-could-not-get-lock-var-lib-apt-lists-lock/17385)._
