The script works until it hits the Starting LXC Container Checkmark. Then it throws an Error "in line 4115: exit code 255 (DPKG: Fatal internal error): while executing command pct start "$CTID"". And it gives a prompt to "Remove broken container (Y/n)"
Step 1 - Run script in Host Shell.
Step 2 - Pick Advanced or Default Settings
Step 3 - Let Script Run until failure
## Error output
```================================================================================
[2026-05-08 12:22:19] CONTAINER SETTINGS (ADVANCED) - NPMplus
================================================================================
[2026-05-08 12:22:19] Application: NPMplus
[2026-05-08 12:22:19] PVE Version: 9.1.9 (Kernel: 6.17.13-1-pve)
[2026-05-08 12:22:19] Operating System: alpine (3.23)
[2026-05-08 12:22:19] Container Type: Unprivileged
[2026-05-08 12:22:19] Container ID: 501
[2026-05-08 12:22:19] Hostname: npmplus
[2026-05-08 12:22:19] Disk Size: 10 GB
[2026-05-08 12:22:19] CPU Cores: 1
[2026-05-08 12:22:19] RAM Size: 512 MiB
[2026-05-08 12:22:19] Bridge: vmbr0
[2026-05-08 12:22:19] IPv4: dhcp
[2026-05-08 12:22:19] IPv6: none
[2026-05-08 12:22:19] FUSE Support: no
[2026-05-08 12:22:19] Nesting: Enabled
[2026-05-08 12:22:19] Mknod: Disabled
[2026-05-08 12:22:19] GPU Passthrough: no
[2026-05-08 12:22:19] Verbose Mode: yes
[2026-05-08 12:22:19] Session ID: 5e1326a9
[2026-05-08 12:22:23] [OK] Updated app defaults: /usr/local/community-scripts/defaults/npmplus.vars
[2026-05-08 12:22:29] [OK] Storage TG_SSD_4TB (Free: 1.6TB Used: 2.0TB) [Template]
[2026-05-08 12:22:32] [OK] Storage TG_SSD_4TB (Free: 1.6TB Used: 2.0TB) [Container]
[2026-05-08 12:22:32] [INFO] Validating storage 'TG_SSD_4TB'
[2026-05-08 12:22:32] [OK] Storage 'TG_SSD_4TB' (dir) validated
[2026-05-08 12:22:32] [INFO] Validating template storage 'TG_SSD_4TB'
[2026-05-08 12:22:33] [OK] Template storage 'TG_SSD_4TB' validated
[2026-05-08 12:22:33] [INFO] Searching for template 'alpine-3.23'
[2026-05-08 12:22:34] [OK] Template search completed
[2026-05-08 12:22:35] [OK] Template alpine-3.23-default_20260116_amd64.tar.xz [local]
✔️ Template alpine-3.23-default_20260116_amd64.tar.xz is present and valid.
[2026-05-08 12:22:35] [OK] Template alpine-3.23-default_20260116_amd64.tar.xz is present and valid.
[2026-05-08 12:22:36] [INFO] Creating LXC container
[2026-05-08 12:22:39] [OK] LXC Container 501 was successfully created.
--- pct create output ---
Formatting '/mnt/pve/TG_SSD_4TB/images/501/vm-501-disk-0.raw', fmt=raw size=10737418240 preallocation=off
Creating filesystem with 2621440 4k blocks and 655360 inodes
Filesystem UUID: d0eb9c54-ea0d-46bf-bef0-f9031cec7a53
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
extracting archive '/mnt/pve/TG_SSD_4TB/template/cache/alpine-3.23-default_20260116_amd64.tar.xz'
Total bytes read: 11642880 (12MiB, 63MiB/s)
Detected container architecture: amd64
container does not have /usr/share/zoneinfo/America/Denver, timezone can not be modified
--- end pct create output ---
[2026-05-08 12:22:39] [INFO] Starting LXC Container
[2026-05-08 12:22:40] [ERROR] in line 4115: exit code 255 (DPKG: Fatal internal error): while executing command pct start "$CTID"
[2026-05-08 12:22:40] Full log: /tmp/create-lxc-5e1326a9.log
[2026-05-08 12:23:25] [INFO] Removing container 501
---
*Reporter has no GitHub username. Issue may be closed after 7 days without response.*
Script: NPMplus
Guidelines
Issue occurs during: Initial Creation / Installation
Environment
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/npmplus.sh)"Description
The script works until it hits the Starting LXC Container Checkmark. Then it throws an Error "in line 4115: exit code 255 (DPKG: Fatal internal error): while executing command pct start "$CTID"". And it gives a prompt to "Remove broken container (Y/n)"
Steps to reproduce