Issues with new vm after latest 8.3 updates (priror to release)
-
After applying the latest updates just release for 8.3 host. I am having this issue. - https://xcp-ng.org/forum/post/103134
Built new Ubuntu 24.04 vm either fresh install from ISO or from cloudint i seem to be having issues. Existing vms seem to be fine. First thought was becuase vm was multiple nics add it might have caused networking issues. Powered off that vm and build new (first as fresh from iso. Second from cloudint) with 1 nic. Same issues...
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease Ign:4 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ InRelease Hit:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease Hit:6 https://ppa.launchpadcontent.net/landscape/self-hosted-beta/ubuntu noble InRelease Hit:7 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Release Ign:8 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Release.gpg Reading package lists... Done E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1775 (unattended-upgr) N: Be aware that removing the lock file is not a solution and may break your system. E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1775 (unattended-upgr) N: Be aware that removing the lock file is not a solution and may break your system. E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? [INFO] Installing Landscape Client... Repository: 'Types: deb URIs: https://ppa.launchpadcontent.net/landscape/self-hosted-beta/ubuntu/ Suites: noble Components: main ' Description: Dependencies for Landscape Server Self-Hosted Beta. More info: https://launchpad.net/~landscape/+archive/ubuntu/self-hosted-beta Adding repository. Found existing deb entry in /etc/apt/sources.list.d/landscape-ubuntu-self-hosted-beta-noble.sources Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease Ign:3 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ InRelease Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease Hit:5 https://ppa.launchpadcontent.net/landscape/self-hosted-beta/ubuntu noble InRelease Hit:6 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Release Hit:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease Ign:8 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Release.gpg Reading package lists... Done Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease Ign:3 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ InRelease Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease Hit:5 https://ppa.launchpadcontent.net/landscape/self-hosted-beta/ubuntu noble InRelease Hit:6 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Release Hit:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease Ign:8 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Release.gpg Reading package lists... Done E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1775 (unattended-upgr) N: Be aware that removing the lock file is not a solution and may break your system. E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? [WARN] Failed to install landscape-client Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease Ign:5 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ InRelease Hit:6 https://ppa.launchpadcontent.net/landscape/self-hosted-beta/ubuntu noble InRelease Hit:7 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Release Ign:8 https://gitlab.com/api/v4/projects/xen-project%2Fxen-guest-agent/packages/generic/deb-amd64 release/ Release.gpg Reading package lists... Done Building dependency tree... Done Reading state information... Done 111 packages can be upgraded. Run 'apt list --upgradable' to see them. Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1775 (unattended-upgr) Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1775 (unattended-upgr) Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1775 (unattended-upgr) Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1775 (unattended-upgr) Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1775 (unattended-upgr) Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1775 (unattended-upgr) ^CE: Could not get lock /var/cache/apt/archives/lock. It is held by process 1775 (unattended-upgr) (unattended-upgr)... 0s N: Be aware that removing the lock file is not a solution and may break your system. E: Unable to lock directory /var/cache/apt/archives/ [INFO] System has been fully updated and upgraded.I run same script on existing vms no issues.
Hit:1 https://deb.nodesource.com/node_20.x nodistro InRelease Get:2 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB] Hit:3 http://us.archive.ubuntu.com/ubuntu noble InRelease Get:4 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB] Hit:5 https://ppa.launchpadcontent.net/landscape/self-hosted-beta/ubuntu noble InRelease Get:6 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB] Get:7 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1,805 kB] Get:8 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [178 kB] Get:9 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B] Get:10 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1,564 kB] Get:11 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [386 kB] Get:12 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B] Get:13 http://us.archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [7,300 B] Get:14 http://us.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B] Get:15 http://us.archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [10.5 kB] Get:16 http://us.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B] Get:17 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [21.5 kB] Get:18 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B] Get:19 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [74.3 kB] Get:20 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B] Fetched 4,426 kB in 1s (3,855 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. ──────────────────────────────────────────────────────────────── Installing/Running: System Updates ──────────────────────────────────────────────────────────────── [INFO] Running system updates... Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease Hit:2 http://us.archive.ubuntu.com/ubuntu noble InRelease Hit:3 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease Hit:4 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease Hit:6 https://ppa.launchpadcontent.net/landscape/self-hosted-beta/ubuntu noble InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following upgrades have been deferred due to phasing: sosreport 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Reading package lists... Done Building dependency tree... Done Reading state information... Done [INFO] System updates completed. -
@acebmxer
process 1775 (unattended-upgr<ade>)is your hint. Your VM was presumably running an unattended upgrade while you were trying to install the tools. -
After further testing. It does appear latest changes to my script caused the script to break. I did not get a chance to test on a fresh vm prior to updating host to recent patch. Need to stop doing things half a sleep. Apologize.
corrected script all working now.
-
A acebmxer marked this topic as a question
-
A acebmxer has marked this topic as solved
-
No worries, it happens! Glad you found the problem

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login