Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Breaking] Update Zigbee2mqtt to v.2.0.0 (Read PR Description) #1221

Merged
merged 11 commits into from
Jan 5, 2025

Conversation

MickLesk
Copy link
Member

@MickLesk MickLesk commented Jan 4, 2025

Please read carefully for migration!

Do Step 1-8 and after this execute Script 1-2

For Error-Handling read PR Comments or Linked Issue comments.

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/zigbee2mqtt.sh)"

✍️ Description

#660

1.) Install pnpm

npm install -g pnpm

2.) Do an Update of your config

systemctl stop zigbee2mqtt
mkdir -p /opt/z2m_backup
cp -r /opt/zigbee2mqtt/data/* /opt/z2m_backup

3.) Change Configuration of configuration yaml

nano /opt/zigbee2mqtt/data/configuration.yaml

add here in the right sections:

advanced:
  homeassistant_legacy_entity_attributes: false
  homeassistant_legacy_triggers: false
  legacy_api: false
  legacy_availability_payload: false
device_options:
  legacy: false

4.) Check if your Adapter is correct configured (i had the same issue)

nano /opt/zigbee2mqtt/data/configuration.yaml

check this part:

serial:
  port: /dev/ttyACM0
  adapter: zstack/ember/xxx # <-- Add this line (see following link)

ive used zstack, you can check it here: Koenkk/zigbee2mqtt#24364

5.) go into main path and enter "./update.sh"

cd /opt/zigbee2mqtt
./update.sh

6.) if all is correctly deployed, you can do an testrun

cd /opt/zigbee2mqtt && pnpm start

=> if it works, fine, update done

7.) Edit Service for Zigbee2MQTT

nano /etc/systemd/system/zigbee2mqtt.service

change "/usr/bin/npm start" to "/usr/bin/pnpm start" In ExecStart and start the service

systemctl daemon-reload
systemctl start zigbee2mqtt

8.) Create an App_version.txt for next updates

touch /opt/zigbee2mqtt_version.txt
nano /opt/zigbee2mqtt_version.txt
=> add 1.9.0 in file and save
  1. Run bash (update or bashcall from website) 1-2 Times (Line 2)

Hint:

If you have other problems, have a look at the comments to see if your problem is among them.

An alternative solution would be to create a new LXC and export the data-folder from the old one and import it into the new LXC, but this is only theoretical.



🛠️ Type of Change

Please check the relevant options:

  • Bug fix (non-breaking change that resolves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change unexpectedly)
  • [] New script (a fully functional and thoroughly tested script or set of scripts)

✅ Prerequisites

The following steps must be completed for the pull request to be considered:

  • Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.)
  • Testing performed (I have thoroughly tested my changes and verified expected functionality.)
  • Documentation updated (I have updated any relevant documentation)

@MickLesk MickLesk requested a review from a team as a code owner January 4, 2025 08:31
@MickLesk MickLesk marked this pull request as draft January 4, 2025 08:31
@github-actions github-actions bot added the update script A change that updates a script label Jan 4, 2025
@MickLesk MickLesk added high risk A change that can affect many scripts breaking change A change that is not backward compatible guide Guides on how to perform a specific task or configuration and removed high risk A change that can affect many scripts labels Jan 4, 2025
@MickLesk MickLesk marked this pull request as ready for review January 4, 2025 09:57
@tomfrenzel
Copy link

This i what i found while testing the instructions:

  1. Before Step 5 (running the update script) i had to move my configuration yaml due to the git conflict problem
  2. Runnig the update script the first time fails since it seems like it wants to run the npm ci command. Altrough when running the script again, the update goes trough without any problems. After that i had to move my original config into that data dir again.

Here is the log of the update process:

Last login: Fri Jan  3 22:31:48 CET 2025 on tty1
root@zigbee2mqtt:~# npm install -g pnpm

added 1 package in 1s

1 package is looking for funding
  run `npm fund` for details
root@zigbee2mqtt:~# systemctl stop zigbee2mqtt
mkdir -p /opt/z2m_backup
cp -r /opt/zigbee2mqtt/data/* /opt/z2m_backup
root@zigbee2mqtt:~# nano /opt/zigbee2mqtt/data/configuration.yaml 
root@zigbee2mqtt:~# mv /opt/zigbee2mqtt/data/configuration.yaml /opt/zigbee2mqtt/data/co
configuration.example.yaml  configuration.yaml          coordinator_backup.json
root@zigbee2mqtt:~# mv /opt/zigbee2mqtt/data/configuration.yaml /opt/zigbee2mqtt/data/configuration.yaml.bak
root@zigbee2mqtt:~# cd /opt/zigbee2mqtt/
root@zigbee2mqtt:/opt/zigbee2mqtt# ./update.sh 
Checking Zigbee2MQTT status...
Creating backup of configuration...
Checking out changes to package-lock.json...
Updated 1 path from the index
Updating...
remote: Enumerating objects: 31648, done.
remote: Counting objects: 100% (31648/31648), done.
remote: Compressing objects: 100% (7847/7847), done.
remote: Total 31521 (delta 23989), reused 30990 (delta 23515), pack-reused 0 (from 0)
Receiving objects: 100% (31521/31521), 108.37 MiB | 12.34 MiB/s, done.
Resolving deltas: 100% (23989/23989), completed with 106 local objects.
From https://github.com/Koenkk/zigbee2mqtt
   bc6eccf6..060ae99c  master     -> origin/master
 * [new tag]           2.0.0      -> 2.0.0
 * [new tag]           0.1.0      -> 0.1.0
 * [new tag]           0.1.1      -> 0.1.1
 * [new tag]           0.1.2      -> 0.1.2
 * [new tag]           0.1.3      -> 0.1.3
 * [new tag]           0.1.4      -> 0.1.4
 * [new tag]           0.1.5      -> 0.1.5
 * [new tag]           0.1.6      -> 0.1.6
 * [new tag]           0.1.7      -> 0.1.7
 * [new tag]           0.1.8      -> 0.1.8
 * [new tag]           0.2.0      -> 0.2.0
 * [new tag]           1.0.0      -> 1.0.0
 * [new tag]           1.0.1      -> 1.0.1
 * [new tag]           1.1.0      -> 1.1.0
 * [new tag]           1.1.1      -> 1.1.1
 * [new tag]           1.10.0     -> 1.10.0
 * [new tag]           1.11.0     -> 1.11.0
 * [new tag]           1.12.0     -> 1.12.0
 * [new tag]           1.12.1     -> 1.12.1
 * [new tag]           1.12.2     -> 1.12.2
 * [new tag]           1.13.0     -> 1.13.0
 * [new tag]           1.13.1     -> 1.13.1
 * [new tag]           1.14.0     -> 1.14.0
 * [new tag]           1.14.1     -> 1.14.1
 * [new tag]           1.14.2     -> 1.14.2
 * [new tag]           1.14.3     -> 1.14.3
 * [new tag]           1.14.4     -> 1.14.4
 * [new tag]           1.15.0     -> 1.15.0
 * [new tag]           1.16.0     -> 1.16.0
 * [new tag]           1.16.1     -> 1.16.1
 * [new tag]           1.16.2     -> 1.16.2
 * [new tag]           1.17.0     -> 1.17.0
 * [new tag]           1.17.1     -> 1.17.1
 * [new tag]           1.18.0     -> 1.18.0
 * [new tag]           1.18.1     -> 1.18.1
 * [new tag]           1.18.2     -> 1.18.2
 * [new tag]           1.18.3     -> 1.18.3
 * [new tag]           1.19.0     -> 1.19.0
 * [new tag]           1.19.1     -> 1.19.1
 * [new tag]           1.2.0      -> 1.2.0
 * [new tag]           1.2.1      -> 1.2.1
 * [new tag]           1.20.0     -> 1.20.0
 * [new tag]           1.21.0     -> 1.21.0
 * [new tag]           1.21.1     -> 1.21.1
 * [new tag]           1.21.2     -> 1.21.2
 * [new tag]           1.22.0     -> 1.22.0
 * [new tag]           1.22.1     -> 1.22.1
 * [new tag]           1.22.2     -> 1.22.2
 * [new tag]           1.23.0     -> 1.23.0
 * [new tag]           1.24.0     -> 1.24.0
 * [new tag]           1.25.0     -> 1.25.0
 * [new tag]           1.25.1     -> 1.25.1
 * [new tag]           1.25.2     -> 1.25.2
 * [new tag]           1.26.0     -> 1.26.0
 * [new tag]           1.27.0     -> 1.27.0
 * [new tag]           1.27.1     -> 1.27.1
 * [new tag]           1.27.2     -> 1.27.2
 * [new tag]           1.28.0     -> 1.28.0
 * [new tag]           1.28.1     -> 1.28.1
 * [new tag]           1.28.2     -> 1.28.2
 * [new tag]           1.28.3     -> 1.28.3
 * [new tag]           1.28.4     -> 1.28.4
 * [new tag]           1.29.0     -> 1.29.0
 * [new tag]           1.29.1     -> 1.29.1
 * [new tag]           1.29.2     -> 1.29.2
 * [new tag]           1.3.0      -> 1.3.0
 * [new tag]           1.3.1      -> 1.3.1
 * [new tag]           1.30.0     -> 1.30.0
 * [new tag]           1.30.1     -> 1.30.1
 * [new tag]           1.30.2     -> 1.30.2
 * [new tag]           1.30.3     -> 1.30.3
 * [new tag]           1.30.4     -> 1.30.4
 * [new tag]           1.31.0     -> 1.31.0
 * [new tag]           1.31.1     -> 1.31.1
 * [new tag]           1.31.2     -> 1.31.2
 * [new tag]           1.32.0     -> 1.32.0
 * [new tag]           1.32.1     -> 1.32.1
 * [new tag]           1.32.2     -> 1.32.2
 * [new tag]           1.33.0     -> 1.33.0
 * [new tag]           1.33.1     -> 1.33.1
 * [new tag]           1.33.2     -> 1.33.2
 * [new tag]           1.34.0     -> 1.34.0
 * [new tag]           1.35.0     -> 1.35.0
 * [new tag]           1.35.1     -> 1.35.1
 * [new tag]           1.35.2     -> 1.35.2
 * [new tag]           1.35.3     -> 1.35.3
 * [new tag]           1.36.0     -> 1.36.0
 * [new tag]           1.36.1     -> 1.36.1
 * [new tag]           1.37.0     -> 1.37.0
 * [new tag]           1.37.1     -> 1.37.1
 * [new tag]           1.38.0     -> 1.38.0
 * [new tag]           1.39.0     -> 1.39.0
 * [new tag]           1.39.1     -> 1.39.1
 * [new tag]           1.4.0      -> 1.4.0
 * [new tag]           1.40.0     -> 1.40.0
 * [new tag]           1.40.1     -> 1.40.1
 * [new tag]           1.40.2     -> 1.40.2
 * [new tag]           1.41.0     -> 1.41.0
 * [new tag]           1.42.0     -> 1.42.0
 * [new tag]           1.5.0      -> 1.5.0
 * [new tag]           1.5.1      -> 1.5.1
 * [new tag]           1.6.0      -> 1.6.0
 * [new tag]           1.7.0      -> 1.7.0
 * [new tag]           1.7.1      -> 1.7.1
 * [new tag]           1.8.0      -> 1.8.0
 * [new tag]           1.9.0      -> 1.9.0
Updating bc6eccf6..060ae99c
Fast-forward
 .github/workflows/ci.yml                                               |  114 +-
 .github/workflows/release_please.yml                                   |    6 +-
 .github/workflows/stale.yml                                            |    4 +-
 .prettierignore                                                        |    2 +-
 .prettierrc                                                            |    1 +
 .release-please-manifest.json                                          |    2 +-
 CHANGELOG.md                                                           |   92 +
 CODE_OF_CONDUCT.md                                                     |   30 +-
 CONTRIBUTING.md                                                        |    8 +-
 README.md                                                              |   20 +-
 babel.config.js                                                        |    5 -
 data/configuration.example.yaml                                        |   29 +-
 data/configuration.yaml                                                |   20 -
 docker/Dockerfile                                                      |   49 +-
 index.js                                                               |   11 +-
 lib/controller.ts                                                      |  100 +-
 lib/eventBus.ts                                                        |    9 +-
 lib/extension/availability.ts                                          |   22 +-
 lib/extension/bind.ts                                                  |  322 +-
 lib/extension/bridge.ts                                                |  430 +-
 lib/extension/configure.ts                                             |   48 +-
 lib/extension/extension.ts                                             |    1 -
 lib/extension/externalConverters.ts                                    |   76 +-
 lib/extension/externalExtension.ts                                     |  120 -
 lib/extension/externalExtensions.ts                                    |   59 +
 lib/extension/externalJS.ts                                            |  191 +
 lib/extension/frontend.ts                                              |   42 +-
 lib/extension/groups.ts                                                |  374 +-
 lib/extension/homeassistant.ts                                         |  485 +-
 lib/extension/legacy/bridgeLegacy.ts                                   |  424 --
 lib/extension/legacy/deviceGroupMembership.ts                          |   67 -
 lib/extension/legacy/report.ts                                         |  204 -
 lib/extension/legacy/softReset.ts                                      |   61 -
 lib/extension/networkMap.ts                                            |   90 +-
 lib/extension/otaUpdate.ts                                             |  213 +-
 lib/extension/publish.ts                                               |   81 +-
 lib/extension/receive.ts                                               |   10 +-
 lib/model/device.ts                                                    |   17 +-
 lib/model/group.ts                                                     |    1 -
 lib/mqtt.ts                                                            |  134 +-
 lib/state.ts                                                           |    4 +-
 lib/types/api.ts                                                       |  687 +++
 lib/types/mkdir-recursive.ts                                           |    3 -
 lib/types/types.d.ts                                                   |   78 +-
 lib/types/zigbee2mqtt-frontend.d.ts                                    |    2 +-
 lib/util/data.ts                                                       |    2 +-
 lib/util/logger.ts                                                     |   39 +-
 lib/util/settings.schema.json                                          |  433 +-
 lib/util/settings.ts                                                   |  341 +-
 lib/util/settingsMigration.ts                                          |  586 +++
 lib/util/utils.ts                                                      |  186 +-
 lib/util/yaml.ts                                                       |    6 +-
 lib/zigbee.ts                                                          |   49 +-
 package-lock.json                                                      | 8610 --------------------------------
 package.json                                                           |   59 +-
 pnpm-lock.yaml                                                         | 3530 +++++++++++++
 scripts/install.sh                                                     |   75 -
 .../{ => external_converters}/mock-external-converter-multiple.js      |   12 -
 test/assets/{ => external_converters}/mock-external-converter.js       |    0
 test/assets/external_extensions/example2Extension.js                   |   16 +
 test/assets/{ => external_extensions}/exampleExtension.js              |    6 +-
 test/bind.test.js                                                      |  943 ----
 test/controller.test.js                                                | 1005 ----
 test/controller.test.ts                                                | 1053 ++++
 test/{data.test.js => data.test.ts}                                    |   10 +-
 test/{availability.test.js => extensions/availability.test.ts}         |  274 +-
 test/extensions/bind.test.ts                                           |  774 +++
 test/{bridge.test.js => extensions/bridge.test.ts}                     | 1738 +++----
 test/{configure.test.js => extensions/configure.test.ts}               |  197 +-
 test/extensions/externalConverters.test.ts                             |  357 ++
 test/extensions/externalExtensions.test.ts                             |  207 +
 test/extensions/frontend.test.ts                                       |  437 ++
 test/extensions/groups.test.ts                                         |  773 +++
 test/{homeassistant.test.js => extensions/homeassistant.test.ts}       | 1811 +++----
 test/{networkMap.test.js => extensions/networkMap.test.ts}             |  662 +--
 test/extensions/onEvent.test.ts                                        |   98 +
 test/extensions/otaUpdate.test.ts                                      |  465 ++
 test/{publish.test.js => extensions/publish.test.ts}                   | 1371 +++--
 test/{receive.test.js => extensions/receive.test.ts}                   |  514 +-
 test/externalConverters.test.js                                        |  167 -
 test/externalExtension.test.js                                         |  149 -
 test/frontend.test.js                                                  |  427 --
 test/group.test.js                                                     | 1111 -----
 test/legacy/bridgeLegacy.test.js                                       |  538 --
 test/legacy/report.test.js                                             |  315 --
 test/lib/flushPromises.js                                              |    2 -
 test/{logger.test.js => logger.test.ts}                                |  153 +-
 test/mocks/data.ts                                                     |  305 ++
 test/mocks/debounce.ts                                                 |    5 +
 test/mocks/jszip.ts                                                    |   11 +
 test/mocks/logger.ts                                                   |   55 +
 test/mocks/mqtt.ts                                                     |   35 +
 test/mocks/sleep.ts                                                    |   11 +
 test/mocks/types.d.ts                                                  |   15 +
 test/mocks/utils.ts                                                    |   14 +
 test/{stub/zigbeeHerdsman.js => mocks/zigbeeHerdsman.ts}               |  692 ++-
 test/onEvent.test.js                                                   |   96 -
 test/otaUpdate.test.js                                                 |  579 ---
 test/{settings.test.js => settings.test.ts}                            |  300 +-
 test/settingsMigration.test.ts                                         |  920 ++++
 test/stub/data.js                                                      |  302 --
 test/stub/logger.js                                                    |   48 -
 test/stub/mqtt.js                                                      |   37 -
 test/stub/sleep.js                                                     |   10 -
 test/tsconfig.json                                                     |   10 +
 test/{utils.test.js => utils.test.ts}                                  |   42 +-
 test/vitest.config.mts                                                 |   26 +
 tsconfig.json                                                          |    7 +-
 update.sh                                                              |   21 +-
 109 files changed, 15931 insertions(+), 21859 deletions(-)
 delete mode 100644 babel.config.js
 delete mode 100644 data/configuration.yaml
 delete mode 100644 lib/extension/externalExtension.ts
 create mode 100644 lib/extension/externalExtensions.ts
 create mode 100644 lib/extension/externalJS.ts
 delete mode 100644 lib/extension/legacy/bridgeLegacy.ts
 delete mode 100644 lib/extension/legacy/deviceGroupMembership.ts
 delete mode 100644 lib/extension/legacy/report.ts
 delete mode 100644 lib/extension/legacy/softReset.ts
 create mode 100644 lib/types/api.ts
 delete mode 100644 lib/types/mkdir-recursive.ts
 create mode 100644 lib/util/settingsMigration.ts
 delete mode 100644 package-lock.json
 create mode 100644 pnpm-lock.yaml
 delete mode 100644 scripts/install.sh
 rename test/assets/{ => external_converters}/mock-external-converter-multiple.js (66%)
 rename test/assets/{ => external_converters}/mock-external-converter.js (100%)
 create mode 100644 test/assets/external_extensions/example2Extension.js
 rename test/assets/{ => external_extensions}/exampleExtension.js (61%)
 delete mode 100644 test/bind.test.js
 delete mode 100644 test/controller.test.js
 create mode 100644 test/controller.test.ts
 rename test/{data.test.js => data.test.ts} (83%)
 rename test/{availability.test.js => extensions/availability.test.ts} (56%)
 create mode 100644 test/extensions/bind.test.ts
 rename test/{bridge.test.js => extensions/bridge.test.ts} (75%)
 rename test/{configure.test.js => extensions/configure.test.ts} (52%)
 create mode 100644 test/extensions/externalConverters.test.ts
 create mode 100644 test/extensions/externalExtensions.test.ts
 create mode 100644 test/extensions/frontend.test.ts
 create mode 100644 test/extensions/groups.test.ts
 rename test/{homeassistant.test.js => extensions/homeassistant.test.ts} (61%)
 rename test/{networkMap.test.js => extensions/networkMap.test.ts} (68%)
 create mode 100644 test/extensions/onEvent.test.ts
 create mode 100644 test/extensions/otaUpdate.test.ts
 rename test/{publish.test.js => extensions/publish.test.ts} (51%)
 rename test/{receive.test.js => extensions/receive.test.ts} (51%)
 mode change 100755 => 100644
 delete mode 100644 test/externalConverters.test.js
 delete mode 100644 test/externalExtension.test.js
 delete mode 100644 test/frontend.test.js
 delete mode 100644 test/group.test.js
 delete mode 100644 test/legacy/bridgeLegacy.test.js
 delete mode 100644 test/legacy/report.test.js
 delete mode 100644 test/lib/flushPromises.js
 rename test/{logger.test.js => logger.test.ts} (74%)
 create mode 100644 test/mocks/data.ts
 create mode 100644 test/mocks/debounce.ts
 create mode 100644 test/mocks/jszip.ts
 create mode 100644 test/mocks/logger.ts
 create mode 100644 test/mocks/mqtt.ts
 create mode 100644 test/mocks/sleep.ts
 create mode 100644 test/mocks/types.d.ts
 create mode 100644 test/mocks/utils.ts
 rename test/{stub/zigbeeHerdsman.js => mocks/zigbeeHerdsman.ts} (55%)
 delete mode 100644 test/onEvent.test.js
 delete mode 100644 test/otaUpdate.test.js
 rename test/{settings.test.js => settings.test.ts} (79%)
 create mode 100644 test/settingsMigration.test.ts
 delete mode 100644 test/stub/data.js
 delete mode 100644 test/stub/logger.js
 delete mode 100644 test/stub/mqtt.js
 delete mode 100644 test/stub/sleep.js
 create mode 100644 test/tsconfig.json
 rename test/{utils.test.js => utils.test.ts} (67%)
 create mode 100644 test/vitest.config.mts
Installing dependencies...
npm error code EUSAGE
npm error
npm error The `npm ci` command can only install with an existing package-lock.json or
npm error npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or
npm error later to generate a package-lock.json file, then try again.
npm error
npm error Clean install a project
npm error
npm error Usage:
npm error npm ci
npm error
npm error Options:
npm error [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
npm error [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
npm error [--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
npm error [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit]
npm error [--no-bin-links] [--no-fund] [--dry-run]
npm error [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
npm error [-ws|--workspaces] [--include-workspace-root] [--install-links]
npm error
npm error aliases: clean-install, ic, install-clean, isntall-clean
npm error
npm error Run "npm help ci" for more info
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-01-04T10_00_19_008Z-debug-0.log
root@zigbee2mqtt:/opt/zigbee2mqtt# ./update.sh 
Checking Zigbee2MQTT status...
Updating...
Already up to date.
Installing dependencies...
Lockfile is up to date, resolution step is skipped
Packages: +368
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 368, reused 0, downloaded 368, added 368, done
node_modules/.pnpm/[email protected]/node_modules/unix-dgram: Running install script...
node_modules/.pnpm/[email protected]/node_modules/unix-dgram: Running install script, done in 2s
node_modules/.pnpm/[email protected]/node_modules/sd-notify: Running install script, failed in 685ms (skipped as optional)ules/.pnpm/@[email protected]/node_modules/@serialport/bindings-cpp: Running install script
, done in 157msnpm/[email protected]/node_modules/esbuild: Running postinstall script, done in 97ms

dependencies:
+ ajv 8.17.1
+ bind-decorator 1.0.11
+ debounce 2.2.0
+ express-static-gzip 2.2.0
+ fast-deep-equal 3.1.3
+ finalhandler 1.3.1
+ git-last-commit 1.0.1
+ humanize-duration 3.32.1
+ js-yaml 4.1.0
+ json-stable-stringify-without-jsonify 1.0.1
+ jszip 3.10.1
+ moment 2.30.1
+ mqtt 5.10.3
+ object-assign-deep 0.4.0
+ rimraf 6.0.1
+ semver 7.6.3
+ source-map-support 0.5.21
+ throttleit 2.1.0
+ winston 3.17.0
+ winston-syslog 2.7.1
+ winston-transport 4.9.0
+ ws 8.18.0
+ zigbee-herdsman 3.2.1
+ zigbee-herdsman-converters 21.12.0
+ zigbee2mqtt-frontend 0.9.4

optionalDependencies:
+ sd-notify 2.8.0

devDependencies:
+ @eslint/core 0.9.1
+ @eslint/js 9.17.0
+ @ianvs/prettier-plugin-sort-imports 4.4.0
+ @types/eslint__js 8.42.3
+ @types/finalhandler 1.2.3
+ @types/humanize-duration 3.27.4
+ @types/js-yaml 4.0.9
+ @types/node 22.10.2
+ @types/object-assign-deep 0.4.3
+ @types/readable-stream 4.0.18
+ @types/sd-notify 2.8.2
+ @types/serve-static 1.15.7
+ @types/ws 8.5.13
+ @vitest/coverage-v8 2.1.8
+ eslint 9.17.0
+ eslint-config-prettier 9.1.0
+ prettier 3.4.2
+ tmp 0.2.3
+ typescript 5.7.2
+ typescript-eslint 8.18.2
+ vitest 2.1.8

Done in 6.8s
Building...

> [email protected] build /opt/zigbee2mqtt
> tsc && node index.js writehash

Done!
root@zigbee2mqtt:/opt/zigbee2mqtt# mv /opt/zigbee2mqtt/data/configuration.yaml.bak /opt/zigbee2mqtt/data/configuration.yaml

ct/zigbee2mqtt.sh Show resolved Hide resolved
install/zigbee2mqtt-install.sh Outdated Show resolved Hide resolved
install/zigbee2mqtt-install.sh Show resolved Hide resolved
cd /opt/zigbee2mqtt
$STD npm ci
$STD pnpm install
msg_ok "Installed Zigbee2MQTT"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't there be a buildstep somewhere with pnpm build? Maybe I am missing it somewhere.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For what?

Copy link
Contributor

@dsiebel dsiebel Jan 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's what the update.sh script in the zigbee2mqtt repository does.
Maybe it makes sense to use the update script rather than building our own?
It already contains data backup, systemd service handling.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But the Script do an Git Pull, i hate Git pulls, because its breaking often some scripts

Copy link
Contributor

@dsiebel dsiebel Jan 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair point, I didn't realize you changed install to stable version from release assets. I like this approach much better.

The pnpm build will still be required, I guess, since the script just downloads the source code, not a pre-built release package.

Copy link
Contributor

@se-bastiaan se-bastiaan Jan 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pnpm build will still be required, I guess, since the script just downloads the source code, not a pre-built release package.

Exactly. Zigbee2MQTT is written in typescript. The start command only runs the index.js file and without the build command there is no dist folder with the actual code that can be opened by Node. The TS needs to be transpiled and that is what pnpm build does.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually I think you should run pnpm run build as described in the documentation which will execute tsc && node index.js writehash and the same should happen in the update part.
https://github.com/Koenkk/zigbee2mqtt/blob/060ae99cff715cc9ef6a0cfa7cae0cdcb17f0c8a/package.json#L23

Copy link
Contributor

@se-bastiaan se-bastiaan Jan 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's exactly the idea. pnpm run build and pnpm build are equivalent.

@daloki83 daloki83 mentioned this pull request Jan 4, 2025
2 tasks
if [[ "$(node -v | cut -d 'v' -f 2)" == "18."* ]]; then
if ! command -v npm >/dev/null 2>&1; then
if ! command -v pnpm >/dev/null 2>&1; then
echo "Installing NPM..."
apt-get install -y npm >/dev/null 2>&1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the Debian npm package contains pnpm, does it?
If not, this is what the pnpm website suggest for installing on POSIX systems:

Suggested change
apt-get install -y npm >/dev/null 2>&1
wget -qO- https://get.pnpm.io/install.sh | sh -

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, the install script uses npm install -g pnpm, so maybe we should keep it consistent here. With nodejs being installed, npm will be present.

@carlreid
Copy link

carlreid commented Jan 4, 2025

  • Before Step 5 (running the update script) i had to move my configuration yaml due to the git conflict problem

  • Runnig the update script the first time fails since it seems like it wants to run the npm ci command. Altrough when running the script again, the update goes trough without any problems. After that i had to move my original config into that data dir again.

Thanks for this, I ran into the same issues.

I would suggest step 3 and 4 are moved after 5. So it becomes (simplified OP version);

  1. npm install -g pnpm
  2. systemctl stop zigbee2mqtt
    mkdir -p /opt/z2m_backup
    cp -r /opt/zigbee2mqtt/data/* /opt/z2m_backup
    
  3. rm /opt/zigbee2mqtt/data/configuration.yaml (maybe also configuration.example.yaml)
  4. cd /opt/zigbee2mqtt
    ./update.sh
    
  5. cp /opt/z2m_backup/configuration.yaml /opt/zigbee2mqtt/data/configuration.yaml (copy original config back)
  6. nano /opt/zigbee2mqtt/data/configuration.yaml (make the advanced, device_options, and serial.adapter changes for v2)
  7. cd /opt/zigbee2mqtt && pnpm start
  8. Modify nano /etc/systemd/system/zigbee2mqtt.service

@jascdk
Copy link

jascdk commented Jan 4, 2025

I got this error in the end off the script? why? And afterwards it asks for a login to zigbee2mqtt? Cant login with root....

``

⚙️ Using Default Settings on node proxmox
🖥️ Operating System: debian
🌟 Version: 12
📦 Container Type: Privileged
💾 Disk Size: 4GB
🧠 CPU Cores: 2
🛠️ RAM Size: 1024MB
🆔 Container ID: 104
🚀 Creating a Zigbee2MQTT LXC using the above default settings

✔️ Using local for Template Storage.
✔️ Using local-lvm for Container Storage.
✔️ Updated LXC Template List
✔️ LXC Container 104 was successfully created.
✔️ Started LXC Container
✔️ Set up Container OS
✔️ Network Connected: 192.168.150.111
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ DNS Resolved github.com to 140.82.121.4
✔️ Updated Container OS
✔️ Installed Dependencies
✔️ Set up Node.js Repository
✔️ Installed Node.js
✔️ Set up Zigbee2MQTT Repository
⠸ Installing Zigbee2MQTT
[ERROR] in line 44: exit code 0: while executing command "$@" > /dev/null 2>&1
root@proxmox:~#

@MickLesk
Copy link
Member Author

MickLesk commented Jan 4, 2025

What script is this?

@jascdk
Copy link

jascdk commented Jan 4, 2025

What script is this?

Both the script above on this thread and with the "normal" one from the website :)

@MickLesk
Copy link
Member Author

MickLesk commented Jan 4, 2025

Post the above in verbose. Script Runs fine. The Script from Website not, because the Changes not merged yet

You cant Login, because the Script failed and havnt created a User

@jascdk
Copy link

jascdk commented Jan 4, 2025

Post the above in verbose. Script Runs fine. The Script from Website not, because the Changes not merged yet

You cant Login, because the Script failed and havnt created a User

Hmmm - strange - when installing now it works - it may have helped now - but it was the same script I used as before (the one above).

For info here is the Verbose:

 _____   _       __             ___   __  _______  ____________
/__  /  (_)___ _/ /_  ___  ___ |__ \ /  |/  / __ \/_  __/_  __/
  / /  / / __ `/ __ \/ _ \/ _ \__/ // /|_/ / / / / / /   / /   
 / /__/ / /_/ / /_/ /  __/  __/ __// /  / / /_/ / / /   / /    
/____/_/\__, /_.___/\___/\___/____/_/  /_/\___\_\/_/   /_/     
       /____/                                                  
  ⚙️  Using Default Settings (  🔍   Verbose)
  🖥️  Operating System: debian
  🌟  Version: 12
  📦  Container Type: Privileged
  💾  Disk Size: 4GB
  🧠  CPU Cores: 2
  🛠️  RAM Size: 1024MB
  🆔  Container ID: 102
  🔍  Verbose Mode: Enabled
  🚀  Creating a Zigbee2MQTT LXC using the above default settings
  
  ✔️  Using local for Template Storage.
  ✔️  Using local-lvm for Container Storage.
  ✔️  Updated LXC Template List
  ✔️  LXC Container 102 was successfully created.
  ✔️  Started LXC Container
  ✔️  Set up Container OS
  ✔️  Network Connected: 192.168.150.181 
  ✔️  IPv4 Internet Connected
  ✖️  IPv6 Internet Not Connected
  ✔️  DNS Resolved github.com to 140.82.121.4
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://security.debian.org bookworm-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 http://security.debian.org bookworm-security/main amd64 Packages [240 kB]
Get:5 http://security.debian.org bookworm-security/main Translation-en [141 kB]
Get:6 http://security.debian.org bookworm-security/contrib Translation-en [372 B]
Get:7 http://deb.debian.org/debian bookworm/main amd64 Packages [8,789 kB]
Get:8 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [14.0 kB]
Get:9 http://deb.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:10 http://deb.debian.org/debian bookworm/contrib Translation-en [48.8 kB]
Get:11 http://deb.debian.org/debian bookworm-updates/main Translation-en [8,248 B]
Get:12 http://deb.debian.org/debian bookworm-updates/contrib Translation-en [408 B]
Get:13 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-12-07-2012.31-F-2024-11-27-1405.46.pdiff [7,410 B]
Get:13 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-12-07-2012.31-F-2024-11-27-1405.46.pdiff [7,410 B]
Fetched 15.6 MB in 2s (7,015 kB/s)               
Reading package lists... Done
N: Repository 'http://deb.debian.org/debian bookworm InRelease' changed its 'Version' value from '12.7' to '12.8'
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
 ⠦The following packages will be upgraded:
  base-files bsdextrautils bsdutils distro-info-data fdisk iputils-ping libblkid1 libc-bin libc-l10n libc6
  libcurl3-gnutls libexpat1 libfdisk1 libmount1 libnghttp2-14 libnss-systemd libpam-systemd libpython3.11-minimal
  libpython3.11-stdlib libsmartcols1 libsqlite3-0 libssl3 libsystemd-shared libsystemd0 libudev1 libuuid1 locales
  mount openssl python3.11 python3.11-minimal systemd systemd-sysv systemd-timesyncd tzdata udev util-linux
  util-linux-extra
38 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.2 MB of archives.
After this operation, 9,216 B of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 base-files amd64 12.4+deb12u8 [70.9 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 bsdutils amd64 1:2.38.1-5+deb12u2 [94.5 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 libc6 amd64 2.36-9+deb12u9 [2,757 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 libsmartcols1 amd64 2.38.1-5+deb12u2 [107 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 util-linux-extra amd64 2.38.1-5+deb12u2 [111 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 util-linux amd64 2.38.1-5+deb12u2 [1,176 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 libc-bin amd64 2.36-9+deb12u9 [608 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 mount amd64 2.38.1-5+deb12u2 [134 kB]
Get:9 http://deb.debian.org/debian bookworm/main amd64 libnss-systemd amd64 252.31-1~deb12u1 [163 kB]
Get:10 http://deb.debian.org/debian bookworm/main amd64 libblkid1 amd64 2.38.1-5+deb12u2 [147 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 libmount1 amd64 2.38.1-5+deb12u2 [165 kB]
Get:12 http://deb.debian.org/debian bookworm/main amd64 libssl3 amd64 3.0.15-1~deb12u1 [2,025 kB]
Get:13 http://deb.debian.org/debian bookworm/main amd64 systemd-timesyncd amd64 252.31-1~deb12u1 [63.6 kB]
Get:14 http://deb.debian.org/debian bookworm/main amd64 libpam-systemd amd64 252.31-1~deb12u1 [225 kB]
Get:15 http://deb.debian.org/debian bookworm/main amd64 systemd amd64 252.31-1~deb12u1 [3,036 kB]
Get:16 http://deb.debian.org/debian bookworm/main amd64 libsystemd-shared amd64 252.31-1~deb12u1 [1,693 kB]
Get:17 http://deb.debian.org/debian bookworm/main amd64 systemd-sysv amd64 252.31-1~deb12u1 [42.5 kB]
Get:18 http://deb.debian.org/debian bookworm/main amd64 libuuid1 amd64 2.38.1-5+deb12u2 [28.7 kB]
Get:19 http://deb.debian.org/debian bookworm/main amd64 libfdisk1 amd64 2.38.1-5+deb12u2 [193 kB]
Get:20 http://deb.debian.org/debian bookworm/main amd64 libsystemd0 amd64 252.31-1~deb12u1 [332 kB]
Get:21 http://deb.debian.org/debian bookworm/main amd64 python3.11 amd64 3.11.2-6+deb12u4 [573 kB]
Get:22 http://deb.debian.org/debian bookworm/main amd64 libpython3.11-stdlib amd64 3.11.2-6+deb12u4 [1,797 kB]
Get:23 http://deb.debian.org/debian bookworm/main amd64 python3.11-minimal amd64 3.11.2-6+deb12u4 [2,066 kB]
Get:24 http://deb.debian.org/debian bookworm/main amd64 libpython3.11-minimal amd64 3.11.2-6+deb12u4 [815 kB]
Get:25 http://deb.debian.org/debian bookworm/main amd64 libsqlite3-0 amd64 3.40.1-2+deb12u1 [839 kB]
Get:26 http://deb.debian.org/debian bookworm/main amd64 libexpat1 amd64 2.5.0-1+deb12u1 [98.9 kB]
Get:27 http://deb.debian.org/debian bookworm/main amd64 udev amd64 252.31-1~deb12u1 [1,688 kB]
Get:28 http://deb.debian.org/debian bookworm/main amd64 libudev1 amd64 252.31-1~deb12u1 [109 kB]
Get:29 http://deb.debian.org/debian bookworm-updates/main amd64 tzdata all 2024b-0+deb12u1 [298 kB]
Get:30 http://deb.debian.org/debian bookworm/main amd64 fdisk amd64 2.38.1-5+deb12u2 [141 kB]
Get:31 http://deb.debian.org/debian bookworm/main amd64 iputils-ping amd64 3:20221126-1+deb12u1 [47.2 kB]
Get:32 http://deb.debian.org/debian bookworm/main amd64 libc-l10n all 2.36-9+deb12u9 [677 kB]
Get:33 http://deb.debian.org/debian bookworm/main amd64 locales all 2.36-9+deb12u9 [3,904 kB]
Get:34 http://deb.debian.org/debian bookworm/main amd64 bsdextrautils amd64 2.38.1-5+deb12u2 [86.8 kB]
Get:35 http://deb.debian.org/debian bookworm/main amd64 distro-info-data all 0.58+deb12u3 [6,272 B]
Get:36 http://deb.debian.org/debian bookworm/main amd64 libnghttp2-14 amd64 1.52.0-1+deb12u2 [73.0 kB]
Get:37 http://deb.debian.org/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u8 [385 kB]
Get:38 http://deb.debian.org/debian bookworm/main amd64 openssl amd64 3.0.15-1~deb12u1 [1,427 kB]
Fetched 28.2 MB in 2s (11.5 MB/s)   
 ⠹apt-listchanges: Reading changelogs...
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../base-files_12.4+deb12u8_amd64.deb ...
Unpacking base-files (12.4+deb12u8) over (12.4+deb12u7) ...
 ⠏Setting up base-files (12.4+deb12u8) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../bsdutils_1%3a2.38.1-5+deb12u2_amd64.deb ...
Unpacking bsdutils (1:2.38.1-5+deb12u2) over (1:2.38.1-5+deb12u1) ...
Setting up bsdutils (1:2.38.1-5+deb12u2) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../libc6_2.36-9+deb12u9_amd64.deb ...
 ⠸Unpacking libc6:amd64 (2.36-9+deb12u9) over (2.36-9+deb12u8) ...
 ⠴Setting up libc6:amd64 (2.36-9+deb12u9) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../libsmartcols1_2.38.1-5+deb12u2_amd64.deb ...
Unpacking libsmartcols1:amd64 (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
 ⠋Setting up libsmartcols1:amd64 (2.38.1-5+deb12u2) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../util-linux-extra_2.38.1-5+deb12u2_amd64.deb ...
Unpacking util-linux-extra (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
 ⠹Setting up util-linux-extra (2.38.1-5+deb12u2) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../util-linux_2.38.1-5+deb12u2_amd64.deb ...
Unpacking util-linux (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
 ⠧Setting up util-linux (2.38.1-5+deb12u2) ...
 ⠹fstrim.service is a disabled or a static unit not running, not starting it.
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.36-9+deb12u9_amd64.deb ...
Unpacking libc-bin (2.36-9+deb12u9) over (2.36-9+deb12u8) ...
 ⠼Setting up libc-bin (2.36-9+deb12u9) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../mount_2.38.1-5+deb12u2_amd64.deb ...
 ⠦Unpacking mount (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Preparing to unpack .../libnss-systemd_252.31-1~deb12u1_amd64.deb ...
 ⠧Unpacking libnss-systemd:amd64 (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
Preparing to unpack .../libblkid1_2.38.1-5+deb12u2_amd64.deb ...
 ⠇Unpacking libblkid1:amd64 (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Setting up libblkid1:amd64 (2.38.1-5+deb12u2) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../libmount1_2.38.1-5+deb12u2_amd64.deb ...
Unpacking libmount1:amd64 (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
 ⠋Setting up libmount1:amd64 (2.38.1-5+deb12u2) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../libssl3_3.0.15-1~deb12u1_amd64.deb ...
 ⠙Unpacking libssl3:amd64 (3.0.15-1~deb12u1) over (3.0.14-1~deb12u2) ...
 ⠹Preparing to unpack .../systemd-timesyncd_252.31-1~deb12u1_amd64.deb ...
Unpacking systemd-timesyncd (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
 ⠸Preparing to unpack .../libpam-systemd_252.31-1~deb12u1_amd64.deb ...
Unpacking libpam-systemd:amd64 (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
 ⠼Setting up libssl3:amd64 (3.0.15-1~deb12u1) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../systemd_252.31-1~deb12u1_amd64.deb ...
Unpacking systemd (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
 ⠏Preparing to unpack .../libsystemd-shared_252.31-1~deb12u1_amd64.deb ...
Unpacking libsystemd-shared:amd64 (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
 ⠙Preparing to unpack .../libsystemd0_252.31-1~deb12u1_amd64.deb ...
Unpacking libsystemd0:amd64 (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
 ⠹Setting up libsystemd0:amd64 (252.31-1~deb12u1) ...
Setting up libsystemd-shared:amd64 (252.31-1~deb12u1) ...
Setting up mount (2.38.1-5+deb12u2) ...
Setting up systemd (252.31-1~deb12u1) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_252.31-1~deb12u1_amd64.deb ...
Unpacking systemd-sysv (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
 ⠧Preparing to unpack .../libuuid1_2.38.1-5+deb12u2_amd64.deb ...
Unpacking libuuid1:amd64 (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
 ⠇Setting up libuuid1:amd64 (2.38.1-5+deb12u2) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../0-libfdisk1_2.38.1-5+deb12u2_amd64.deb ...
 ⠏Unpacking libfdisk1:amd64 (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Preparing to unpack .../1-python3.11_3.11.2-6+deb12u4_amd64.deb ...
 ⠋Unpacking python3.11 (3.11.2-6+deb12u4) over (3.11.2-6+deb12u3) ...
 ⠙Preparing to unpack .../2-libpython3.11-stdlib_3.11.2-6+deb12u4_amd64.deb ...
Unpacking libpython3.11-stdlib:amd64 (3.11.2-6+deb12u4) over (3.11.2-6+deb12u3) ...
 ⠸Preparing to unpack .../3-python3.11-minimal_3.11.2-6+deb12u4_amd64.deb ...
Unpacking python3.11-minimal (3.11.2-6+deb12u4) over (3.11.2-6+deb12u3) ...
 ⠦Preparing to unpack .../4-libpython3.11-minimal_3.11.2-6+deb12u4_amd64.deb ...
Unpacking libpython3.11-minimal:amd64 (3.11.2-6+deb12u4) over (3.11.2-6+deb12u3) ...
 ⠇Preparing to unpack .../5-libsqlite3-0_3.40.1-2+deb12u1_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.40.1-2+deb12u1) over (3.40.1-2) ...
 ⠏Preparing to unpack .../6-libexpat1_2.5.0-1+deb12u1_amd64.deb ...
Unpacking libexpat1:amd64 (2.5.0-1+deb12u1) over (2.5.0-1) ...
 ⠋Preparing to unpack .../7-udev_252.31-1~deb12u1_amd64.deb ...
Unpacking udev (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
 ⠹Preparing to unpack .../8-libudev1_252.31-1~deb12u1_amd64.deb ...
Unpacking libudev1:amd64 (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
 ⠸Setting up libudev1:amd64 (252.31-1~deb12u1) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../0-tzdata_2024b-0+deb12u1_all.deb ...
 ⠴Unpacking tzdata (2024b-0+deb12u1) over (2024a-0+deb12u1) ...
 ⠇Preparing to unpack .../1-fdisk_2.38.1-5+deb12u2_amd64.deb ...
Unpacking fdisk (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
 ⠏Preparing to unpack .../2-iputils-ping_3%3a20221126-1+deb12u1_amd64.deb ...
Unpacking iputils-ping (3:20221126-1+deb12u1) over (3:20221126-1) ...
Preparing to unpack .../3-libc-l10n_2.36-9+deb12u9_all.deb ...
 ⠋Unpacking libc-l10n (2.36-9+deb12u9) over (2.36-9+deb12u8) ...
 ⠙Preparing to unpack .../4-locales_2.36-9+deb12u9_all.deb ...
Unpacking locales (2.36-9+deb12u9) over (2.36-9+deb12u8) ...
 ⠴Preparing to unpack .../5-bsdextrautils_2.38.1-5+deb12u2_amd64.deb ...
Unpacking bsdextrautils (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
 ⠦Preparing to unpack .../6-distro-info-data_0.58+deb12u3_all.deb ...
Unpacking distro-info-data (0.58+deb12u3) over (0.58+deb12u2) ...
 ⠧Preparing to unpack .../7-libnghttp2-14_1.52.0-1+deb12u2_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.52.0-1+deb12u2) over (1.52.0-1+deb12u1) ...
 ⠇Preparing to unpack .../8-libcurl3-gnutls_7.88.1-10+deb12u8_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u8) over (7.88.1-10+deb12u7) ...
 ⠏Preparing to unpack .../9-openssl_3.0.15-1~deb12u1_amd64.deb ...
Unpacking openssl (3.0.15-1~deb12u1) over (3.0.14-1~deb12u2) ...
 ⠙Setting up libexpat1:amd64 (2.5.0-1+deb12u1) ...
Setting up systemd-sysv (252.31-1~deb12u1) ...
Setting up libc-l10n (2.36-9+deb12u9) ...
Setting up bsdextrautils (2.38.1-5+deb12u2) ...
Setting up distro-info-data (0.58+deb12u3) ...
Setting up libsqlite3-0:amd64 (3.40.1-2+deb12u1) ...
 ⠹Setting up libnghttp2-14:amd64 (1.52.0-1+deb12u2) ...
Setting up libnss-systemd:amd64 (252.31-1~deb12u1) ...
Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u8) ...
Setting up locales (2.36-9+deb12u9) ...
 ⠦Generating locales (this might take a while)...
 ⠧ done.UTF-8...
Generation complete.
Setting up tzdata (2024b-0+deb12u1) ...
 ⠏
Current default time zone: 'Europe/Copenhagen'
Local time is now:      Sat Jan  4 23:41:31 CET 2025.
Universal Time is now:  Sat Jan  4 22:41:31 UTC 2025.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up systemd-timesyncd (252.31-1~deb12u1) ...
 ⠸Setting up udev (252.31-1~deb12u1) ...
 ⠹Setting up libfdisk1:amd64 (2.38.1-5+deb12u2) ...
Setting up libpam-systemd:amd64 (252.31-1~deb12u1) ...
 ⠼Setting up libpython3.11-minimal:amd64 (3.11.2-6+deb12u4) ...
Setting up openssl (3.0.15-1~deb12u1) ...
Setting up iputils-ping (3:20221126-1+deb12u1) ...
 ⠴Setting up python3.11-minimal (3.11.2-6+deb12u4) ...
 ⠋Setting up libpython3.11-stdlib:amd64 (3.11.2-6+deb12u4) ...
 ⠙Setting up fdisk (2.38.1-5+deb12u2) ...
Setting up python3.11 (3.11.2-6+deb12u4) ...
 ⠧Processing triggers for systemd (252.31-1~deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
 ⠼Processing triggers for dbus (1.14.10-1~deb12u1) ...
 ⠴Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for libc-bin (2.36-9+deb12u9) ...
  ✔️  Updated Container OS
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20230311).
 ⠸The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-12 dirmngr fontconfig-config fonts-dejavu-core g++-12
  gcc-12 git-man gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libabsl20220623
  libaom3 libasan8 libassuan0 libatomic1 libavif15 libbinutils libc-dev-bin libc-devtools libc6-dev libcc1-0
  libcrypt-dev libctf-nobfd0 libctf0 libcurl4 libdav1d6 libde265-0 libdeflate0 liberror-perl libfontconfig1
  libfreetype6 libgav1-1 libgcc-12-dev libgd3 libglib2.0-0 libglib2.0-data libgomp1 libgpm2 libgprofng0 libheif1
  libisl23 libitm1 libjbig0 libjpeg62-turbo libksba8 liblerc4 liblsan0 libmpc3 libmpfr6 libnpth0 libnsl-dev
  libnuma1 libpng16-16 libquadmath0 librav1e0 libstdc++-12-dev libsvtav1enc1 libtiff6 libtirpc-dev libtsan2
  libubsan1 libwebp7 libx11-6 libx11-data libx265-199 libxau6 libxcb1 libxdmcp6 libxpm4 libyuv0 linux-libc-dev
  manpages-dev mc-data patch pinentry-curses rpcsvc-proto shared-mime-info unzip xdg-user-dirs
Suggested packages:
  binutils-doc cpp-doc gcc-12-locales cpp-12-doc dbus-user-session pinentry-gnome3 tor g++-multilib g++-12-multilib
  gcc-12-doc gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-12-multilib git-daemon-run
  | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn parcimonie xloadimage
  scdaemon glibc-doc libgd-tools low-memory-monitor gpm libstdc++-12-doc make-doc arj catdvi | texlive-binaries
  dbview djvulibre-bin epub-utils genisoimage gv imagemagick libaspell-dev links | w3m | lynx odt2txt poppler-utils
  python python-boto python-tz unar wimtools xpdf | pdf-viewer zip ed diffutils-doc pinentry-doc
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-12 curl dirmngr fontconfig-config fonts-dejavu-core
  g++ g++-12 gcc gcc-12 git git-man gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
  gpgconf gpgsm libabsl20220623 libaom3 libasan8 libassuan0 libatomic1 libavif15 libbinutils libc-dev-bin
  libc-devtools libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libcurl4 libdav1d6 libde265-0 libdeflate0
  liberror-perl libfontconfig1 libfreetype6 libgav1-1 libgcc-12-dev libgd3 libglib2.0-0 libglib2.0-data libgomp1
  libgpm2 libgprofng0 libheif1 libisl23 libitm1 libjbig0 libjpeg62-turbo libksba8 liblerc4 liblsan0 libmpc3
  libmpfr6 libnpth0 libnsl-dev libnuma1 libpng16-16 libquadmath0 librav1e0 libstdc++-12-dev libsvtav1enc1 libtiff6
  libtirpc-dev libtsan2 libubsan1 libwebp7 libx11-6 libx11-data libx265-199 libxau6 libxcb1 libxdmcp6 libxpm4
  libyuv0 linux-libc-dev make manpages-dev mc mc-data patch pinentry-curses rpcsvc-proto shared-mime-info sudo
  unzip xdg-user-dirs
0 upgraded, 96 newly installed, 0 to remove and 0 not upgraded.
Need to get 104 MB of archives.
After this operation, 414 MB of additional disk space will be used.
Get:1 http://security.debian.org bookworm-security/main amd64 linux-libc-dev amd64 6.1.119-1 [2,074 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1 [1,889 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 binutils-common amd64 2.40-2 [2,487 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 libbinutils amd64 2.40-2 [572 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 libctf-nobfd0 amd64 2.40-2 [153 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 libctf0 amd64 2.40-2 [89.8 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 libgprofng0 amd64 2.40-2 [812 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 binutils-x86-64-linux-gnu amd64 2.40-2 [2,246 kB]
Get:9 http://deb.debian.org/debian bookworm/main amd64 binutils amd64 2.40-2 [65.0 kB]
Get:10 http://deb.debian.org/debian bookworm/main amd64 libisl23 amd64 0.25-1.1 [683 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 libmpfr6 amd64 4.2.0-1 [701 kB]
Get:12 http://deb.debian.org/debian bookworm/main amd64 libmpc3 amd64 1.3.1-1 [51.5 kB]
Get:13 http://deb.debian.org/debian bookworm/main amd64 cpp-12 amd64 12.2.0-14 [9,764 kB]
Get:14 http://deb.debian.org/debian bookworm/main amd64 cpp amd64 4:12.2.0-3 [6,836 B]
Get:15 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u8 [390 kB]
Get:16 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u8 [315 kB]
Get:17 http://deb.debian.org/debian bookworm/main amd64 libassuan0 amd64 2.5.5-5 [48.5 kB]
Get:18 http://deb.debian.org/debian bookworm/main amd64 gpgconf amd64 2.2.40-1.1 [564 kB]
Get:19 http://deb.debian.org/debian bookworm/main amd64 libksba8 amd64 1.6.3-2 [128 kB]
Get:20 http://deb.debian.org/debian bookworm/main amd64 libnpth0 amd64 1.6-3 [19.0 kB]
Get:21 http://deb.debian.org/debian bookworm/main amd64 dirmngr amd64 2.2.40-1.1 [792 kB]
Get:22 http://deb.debian.org/debian bookworm/main amd64 fonts-dejavu-core all 2.37-6 [1,068 kB]
Get:23 http://deb.debian.org/debian bookworm/main amd64 fontconfig-config amd64 2.14.1-4 [315 kB]
Get:24 http://deb.debian.org/debian bookworm/main amd64 libcc1-0 amd64 12.2.0-14 [41.7 kB]
Get:25 http://deb.debian.org/debian bookworm/main amd64 libgomp1 amd64 12.2.0-14 [116 kB]
Get:26 http://deb.debian.org/debian bookworm/main amd64 libitm1 amd64 12.2.0-14 [26.1 kB]
Get:27 http://deb.debian.org/debian bookworm/main amd64 libatomic1 amd64 12.2.0-14 [9,328 B]
Get:28 http://deb.debian.org/debian bookworm/main amd64 libasan8 amd64 12.2.0-14 [2,195 kB]
Get:29 http://deb.debian.org/debian bookworm/main amd64 liblsan0 amd64 12.2.0-14 [969 kB]
Get:30 http://deb.debian.org/debian bookworm/main amd64 libtsan2 amd64 12.2.0-14 [2,196 kB]
Get:31 http://deb.debian.org/debian bookworm/main amd64 libubsan1 amd64 12.2.0-14 [883 kB]
Get:32 http://deb.debian.org/debian bookworm/main amd64 libquadmath0 amd64 12.2.0-14 [144 kB]
Get:33 http://deb.debian.org/debian bookworm/main amd64 libgcc-12-dev amd64 12.2.0-14 [2,437 kB]
Get:34 http://deb.debian.org/debian bookworm/main amd64 gcc-12 amd64 12.2.0-14 [19.3 MB]
Get:35 http://deb.debian.org/debian bookworm/main amd64 gcc amd64 4:12.2.0-3 [5,216 B]
Get:36 http://deb.debian.org/debian bookworm/main amd64 libc-dev-bin amd64 2.36-9+deb12u9 [46.7 kB]
Get:37 http://deb.debian.org/debian bookworm/main amd64 libcrypt-dev amd64 1:4.4.33-2 [118 kB]
Get:38 http://deb.debian.org/debian bookworm/main amd64 libtirpc-dev amd64 1.3.3+ds-1 [191 kB]
Get:39 http://deb.debian.org/debian bookworm/main amd64 libnsl-dev amd64 1.3.0-2 [66.4 kB]
Get:40 http://deb.debian.org/debian bookworm/main amd64 rpcsvc-proto amd64 1.4.3-1 [63.3 kB]
Get:41 http://deb.debian.org/debian bookworm/main amd64 libc6-dev amd64 2.36-9+deb12u9 [1,904 kB]
Get:42 http://deb.debian.org/debian bookworm/main amd64 libstdc++-12-dev amd64 12.2.0-14 [2,046 kB]
Get:43 http://deb.debian.org/debian bookworm/main amd64 g++-12 amd64 12.2.0-14 [10.7 MB]
Get:44 http://deb.debian.org/debian bookworm/main amd64 g++ amd64 4:12.2.0-3 [1,356 B]
Get:45 http://deb.debian.org/debian bookworm/main amd64 liberror-perl all 0.17029-2 [29.0 kB]
Get:46 http://deb.debian.org/debian bookworm/main amd64 git-man all 1:2.39.5-0+deb12u1 [2,054 kB]
Get:47 http://deb.debian.org/debian bookworm/main amd64 git amd64 1:2.39.5-0+deb12u1 [7,256 kB]                     
Get:48 http://deb.debian.org/debian bookworm/main amd64 gnupg-l10n all 2.2.40-1.1 [1,093 kB]                        
Get:49 http://deb.debian.org/debian bookworm/main amd64 gnupg-utils amd64 2.2.40-1.1 [927 kB]                       
Get:50 http://deb.debian.org/debian bookworm/main amd64 gpg amd64 2.2.40-1.1 [949 kB]                               
Get:51 http://deb.debian.org/debian bookworm/main amd64 pinentry-curses amd64 1.2.1-1 [77.4 kB]                     
Get:52 http://deb.debian.org/debian bookworm/main amd64 gpg-agent amd64 2.2.40-1.1 [695 kB]                         
Get:53 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-client amd64 2.2.40-1.1 [541 kB]                    
Get:54 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-server amd64 2.2.40-1.1 [531 kB]                    
Get:55 http://deb.debian.org/debian bookworm/main amd64 gpgsm amd64 2.2.40-1.1 [671 kB]                             
Get:56 http://deb.debian.org/debian bookworm/main amd64 gnupg all 2.2.40-1.1 [846 kB]                               
Get:57 http://deb.debian.org/debian bookworm/main amd64 libabsl20220623 amd64 20220623.1-1 [391 kB]                 
Get:58 http://deb.debian.org/debian bookworm/main amd64 libaom3 amd64 3.6.0-1+deb12u1 [1,851 kB]                    
Get:59 http://deb.debian.org/debian bookworm/main amd64 libdav1d6 amd64 1.0.0-2+deb12u1 [513 kB]                    
Get:60 http://deb.debian.org/debian bookworm/main amd64 libgav1-1 amd64 0.18.0-1+b1 [332 kB]                        
Get:61 http://deb.debian.org/debian bookworm/main amd64 librav1e0 amd64 0.5.1-6 [763 kB]                            
Get:62 http://deb.debian.org/debian bookworm/main amd64 libsvtav1enc1 amd64 1.4.1+dfsg-1 [2,121 kB]                 
Get:63 http://deb.debian.org/debian bookworm/main amd64 libjpeg62-turbo amd64 1:2.1.5-2 [166 kB]                    
Get:64 http://deb.debian.org/debian bookworm/main amd64 libyuv0 amd64 0.0~git20230123.b2528b0-1 [168 kB]            
Get:65 http://deb.debian.org/debian bookworm/main amd64 libavif15 amd64 0.11.1-1 [93.8 kB]                          
Get:66 http://deb.debian.org/debian bookworm/main amd64 libpng16-16 amd64 1.6.39-2 [276 kB]                         
Get:67 http://deb.debian.org/debian bookworm/main amd64 libfreetype6 amd64 2.12.1+dfsg-5+deb12u3 [398 kB]           
Get:68 http://deb.debian.org/debian bookworm/main amd64 libfontconfig1 amd64 2.14.1-4 [386 kB]                      
Get:69 http://deb.debian.org/debian bookworm/main amd64 libde265-0 amd64 1.0.11-1+deb12u2 [185 kB]                  
Get:70 http://deb.debian.org/debian bookworm/main amd64 libnuma1 amd64 2.0.16-1 [21.0 kB]                           
Get:71 http://deb.debian.org/debian bookworm/main amd64 libx265-199 amd64 3.5-2+b1 [1,150 kB]                       
Get:72 http://deb.debian.org/debian bookworm/main amd64 libheif1 amd64 1.15.1-1+deb12u1 [215 kB]                    
Get:73 http://deb.debian.org/debian bookworm/main amd64 libdeflate0 amd64 1.14-1 [61.4 kB]                          
Get:74 http://deb.debian.org/debian bookworm/main amd64 libjbig0 amd64 2.1-6.1 [31.7 kB]                            
Get:75 http://deb.debian.org/debian bookworm/main amd64 liblerc4 amd64 4.0.0+ds-2 [170 kB]                          
Get:76 http://deb.debian.org/debian bookworm/main amd64 libwebp7 amd64 1.2.4-0.2+deb12u1 [286 kB]                   
Get:77 http://deb.debian.org/debian bookworm/main amd64 libtiff6 amd64 4.5.0-6+deb12u1 [316 kB]                     
Get:78 http://deb.debian.org/debian bookworm/main amd64 libxau6 amd64 1:1.0.9-1 [19.7 kB]                           
Get:79 http://deb.debian.org/debian bookworm/main amd64 libxdmcp6 amd64 1:1.1.2-3 [26.3 kB]                         
Get:80 http://deb.debian.org/debian bookworm/main amd64 libxcb1 amd64 1.15-1 [144 kB]                               
Get:81 http://deb.debian.org/debian bookworm/main amd64 libx11-data all 2:1.8.4-2+deb12u2 [292 kB]                  
Get:82 http://deb.debian.org/debian bookworm/main amd64 libx11-6 amd64 2:1.8.4-2+deb12u2 [760 kB]                   
Get:83 http://deb.debian.org/debian bookworm/main amd64 libxpm4 amd64 1:3.5.12-1.1+deb12u1 [48.6 kB]                
Get:84 http://deb.debian.org/debian bookworm/main amd64 libgd3 amd64 2.3.3-9 [124 kB]                               
Get:85 http://deb.debian.org/debian bookworm/main amd64 libc-devtools amd64 2.36-9+deb12u9 [54.4 kB]                
Get:86 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u4 [1,400 kB]              
Get:87 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-data all 2.74.6-2+deb12u4 [1,209 kB]             
Get:88 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB]                        
Get:89 http://deb.debian.org/debian bookworm/main amd64 make amd64 4.3-4.1 [396 kB]                                 
Get:90 http://deb.debian.org/debian bookworm/main amd64 manpages-dev all 6.03-2 [2,030 kB]                          
Get:91 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2 [1,346 kB]                           
Get:92 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2 [522 kB]                                
Get:93 http://deb.debian.org/debian bookworm/main amd64 patch amd64 2.7.6-7 [128 kB]                                
Get:94 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1 [729 kB]                       
Get:95 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28 [166 kB]                                 
Get:96 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1 [54.4 kB]                        
Fetched 104 MB in 9s (11.7 MB/s)                                                                                    
Extracting templates from packages: 100%
Preconfiguring packages ...
 ⠦Selecting previously unselected package sudo.
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../00-sudo_1.9.13p3-1+deb12u1_amd64.deb ...
Unpacking sudo (1.9.13p3-1+deb12u1) ...
 ⠇Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../01-binutils-common_2.40-2_amd64.deb ...
Unpacking binutils-common:amd64 (2.40-2) ...
 ⠙Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../02-libbinutils_2.40-2_amd64.deb ...
Unpacking libbinutils:amd64 (2.40-2) ...
 ⠹Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack .../03-libctf-nobfd0_2.40-2_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.40-2) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack .../04-libctf0_2.40-2_amd64.deb ...
Unpacking libctf0:amd64 (2.40-2) ...
 ⠸Selecting previously unselected package libgprofng0:amd64.
Preparing to unpack .../05-libgprofng0_2.40-2_amd64.deb ...
Unpacking libgprofng0:amd64 (2.40-2) ...
 ⠼Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../06-binutils-x86-64-linux-gnu_2.40-2_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.40-2) ...
 ⠦Selecting previously unselected package binutils.
Preparing to unpack .../07-binutils_2.40-2_amd64.deb ...
Unpacking binutils (2.40-2) ...
 ⠧Selecting previously unselected package libisl23:amd64.
Preparing to unpack .../08-libisl23_0.25-1.1_amd64.deb ...
Unpacking libisl23:amd64 (0.25-1.1) ...
 ⠇Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../09-libmpfr6_4.2.0-1_amd64.deb ...
Unpacking libmpfr6:amd64 (4.2.0-1) ...
 ⠏Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../10-libmpc3_1.3.1-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.3.1-1) ...
Selecting previously unselected package cpp-12.
Preparing to unpack .../11-cpp-12_12.2.0-14_amd64.deb ...
Unpacking cpp-12 (12.2.0-14) ...
 ⠦Selecting previously unselected package cpp.
Preparing to unpack .../12-cpp_4%3a12.2.0-3_amd64.deb ...
Unpacking cpp (4:12.2.0-3) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../13-libcurl4_7.88.1-10+deb12u8_amd64.deb ...
Unpacking libcurl4:amd64 (7.88.1-10+deb12u8) ...
 ⠧Selecting previously unselected package curl.
Preparing to unpack .../14-curl_7.88.1-10+deb12u8_amd64.deb ...
Unpacking curl (7.88.1-10+deb12u8) ...
 ⠇Selecting previously unselected package libassuan0:amd64.
Preparing to unpack .../15-libassuan0_2.5.5-5_amd64.deb ...
Unpacking libassuan0:amd64 (2.5.5-5) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../16-gpgconf_2.2.40-1.1_amd64.deb ...
Unpacking gpgconf (2.2.40-1.1) ...
 ⠏Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../17-libksba8_1.6.3-2_amd64.deb ...
Unpacking libksba8:amd64 (1.6.3-2) ...
 ⠋Selecting previously unselected package libnpth0:amd64.
Preparing to unpack .../18-libnpth0_1.6-3_amd64.deb ...
Unpacking libnpth0:amd64 (1.6-3) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../19-dirmngr_2.2.40-1.1_amd64.deb ...
 ⠙Unpacking dirmngr (2.2.40-1.1) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../20-fonts-dejavu-core_2.37-6_all.deb ...
Unpacking fonts-dejavu-core (2.37-6) ...
 ⠸Selecting previously unselected package fontconfig-config.
Preparing to unpack .../21-fontconfig-config_2.14.1-4_amd64.deb ...
 ⠼Unpacking fontconfig-config (2.14.1-4) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../22-libcc1-0_12.2.0-14_amd64.deb ...
Unpacking libcc1-0:amd64 (12.2.0-14) ...
 ⠴Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../23-libgomp1_12.2.0-14_amd64.deb ...
Unpacking libgomp1:amd64 (12.2.0-14) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../24-libitm1_12.2.0-14_amd64.deb ...
Unpacking libitm1:amd64 (12.2.0-14) ...
 ⠦Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../25-libatomic1_12.2.0-14_amd64.deb ...
Unpacking libatomic1:amd64 (12.2.0-14) ...
Selecting previously unselected package libasan8:amd64.
Preparing to unpack .../26-libasan8_12.2.0-14_amd64.deb ...
 ⠧Unpacking libasan8:amd64 (12.2.0-14) ...
 ⠏Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../27-liblsan0_12.2.0-14_amd64.deb ...
Unpacking liblsan0:amd64 (12.2.0-14) ...
 ⠋Selecting previously unselected package libtsan2:amd64.
Preparing to unpack .../28-libtsan2_12.2.0-14_amd64.deb ...
Unpacking libtsan2:amd64 (12.2.0-14) ...
 ⠹Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../29-libubsan1_12.2.0-14_amd64.deb ...
Unpacking libubsan1:amd64 (12.2.0-14) ...
 ⠸Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../30-libquadmath0_12.2.0-14_amd64.deb ...
Unpacking libquadmath0:amd64 (12.2.0-14) ...
 ⠼Selecting previously unselected package libgcc-12-dev:amd64.
Preparing to unpack .../31-libgcc-12-dev_12.2.0-14_amd64.deb ...
Unpacking libgcc-12-dev:amd64 (12.2.0-14) ...
 ⠦Selecting previously unselected package gcc-12.
Preparing to unpack .../32-gcc-12_12.2.0-14_amd64.deb ...
Unpacking gcc-12 (12.2.0-14) ...
 ⠼Selecting previously unselected package gcc.
Preparing to unpack .../33-gcc_4%3a12.2.0-3_amd64.deb ...
Unpacking gcc (4:12.2.0-3) ...
 ⠴Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../34-libc-dev-bin_2.36-9+deb12u9_amd64.deb ...
Unpacking libc-dev-bin (2.36-9+deb12u9) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../35-linux-libc-dev_6.1.119-1_amd64.deb ...
 ⠦Unpacking linux-libc-dev:amd64 (6.1.119-1) ...
 ⠇Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../36-libcrypt-dev_1%3a4.4.33-2_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.33-2) ...
Selecting previously unselected package libtirpc-dev:amd64.
Preparing to unpack .../37-libtirpc-dev_1.3.3+ds-1_amd64.deb ...
 ⠏Unpacking libtirpc-dev:amd64 (1.3.3+ds-1) ...
Selecting previously unselected package libnsl-dev:amd64.
Preparing to unpack .../38-libnsl-dev_1.3.0-2_amd64.deb ...
Unpacking libnsl-dev:amd64 (1.3.0-2) ...
 ⠋Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../39-rpcsvc-proto_1.4.3-1_amd64.deb ...
Unpacking rpcsvc-proto (1.4.3-1) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../40-libc6-dev_2.36-9+deb12u9_amd64.deb ...
Unpacking libc6-dev:amd64 (2.36-9+deb12u9) ...
 ⠸Selecting previously unselected package libstdc++-12-dev:amd64.
Preparing to unpack .../41-libstdc++-12-dev_12.2.0-14_amd64.deb ...
Unpacking libstdc++-12-dev:amd64 (12.2.0-14) ...
 ⠴Selecting previously unselected package g++-12.
Preparing to unpack .../42-g++-12_12.2.0-14_amd64.deb ...
Unpacking g++-12 (12.2.0-14) ...
 ⠹Selecting previously unselected package g++.
Preparing to unpack .../43-g++_4%3a12.2.0-3_amd64.deb ...
Unpacking g++ (4:12.2.0-3) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../44-liberror-perl_0.17029-2_all.deb ...
Unpacking liberror-perl (0.17029-2) ...
 ⠸Selecting previously unselected package git-man.
Preparing to unpack .../45-git-man_1%3a2.39.5-0+deb12u1_all.deb ...
Unpacking git-man (1:2.39.5-0+deb12u1) ...
 ⠼Selecting previously unselected package git.
Preparing to unpack .../46-git_1%3a2.39.5-0+deb12u1_amd64.deb ...
 ⠴Unpacking git (1:2.39.5-0+deb12u1) ...
 ⠏Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../47-gnupg-l10n_2.2.40-1.1_all.deb ...
Unpacking gnupg-l10n (2.2.40-1.1) ...
 ⠋Selecting previously unselected package gnupg-utils.
Preparing to unpack .../48-gnupg-utils_2.2.40-1.1_amd64.deb ...
Unpacking gnupg-utils (2.2.40-1.1) ...
 ⠙Selecting previously unselected package gpg.
Preparing to unpack .../49-gpg_2.2.40-1.1_amd64.deb ...
Unpacking gpg (2.2.40-1.1) ...
 ⠹Selecting previously unselected package pinentry-curses.
Preparing to unpack .../50-pinentry-curses_1.2.1-1_amd64.deb ...
Unpacking pinentry-curses (1.2.1-1) ...
 ⠸Selecting previously unselected package gpg-agent.
Preparing to unpack .../51-gpg-agent_2.2.40-1.1_amd64.deb ...
Unpacking gpg-agent (2.2.40-1.1) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../52-gpg-wks-client_2.2.40-1.1_amd64.deb ...
Unpacking gpg-wks-client (2.2.40-1.1) ...
 ⠼Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../53-gpg-wks-server_2.2.40-1.1_amd64.deb ...
Unpacking gpg-wks-server (2.2.40-1.1) ...
 ⠴Selecting previously unselected package gpgsm.
Preparing to unpack .../54-gpgsm_2.2.40-1.1_amd64.deb ...
Unpacking gpgsm (2.2.40-1.1) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../55-gnupg_2.2.40-1.1_all.deb ...
Unpacking gnupg (2.2.40-1.1) ...
 ⠦Selecting previously unselected package libabsl20220623:amd64.
Preparing to unpack .../56-libabsl20220623_20220623.1-1_amd64.deb ...
Unpacking libabsl20220623:amd64 (20220623.1-1) ...
 ⠧Selecting previously unselected package libaom3:amd64.
Preparing to unpack .../57-libaom3_3.6.0-1+deb12u1_amd64.deb ...
Unpacking libaom3:amd64 (3.6.0-1+deb12u1) ...
 ⠏Selecting previously unselected package libdav1d6:amd64.
Preparing to unpack .../58-libdav1d6_1.0.0-2+deb12u1_amd64.deb ...
Unpacking libdav1d6:amd64 (1.0.0-2+deb12u1) ...
 ⠋Selecting previously unselected package libgav1-1:amd64.
Preparing to unpack .../59-libgav1-1_0.18.0-1+b1_amd64.deb ...
Unpacking libgav1-1:amd64 (0.18.0-1+b1) ...
 ⠙Selecting previously unselected package librav1e0:amd64.
Preparing to unpack .../60-librav1e0_0.5.1-6_amd64.deb ...
Unpacking librav1e0:amd64 (0.5.1-6) ...
 ⠹Selecting previously unselected package libsvtav1enc1:amd64.
Preparing to unpack .../61-libsvtav1enc1_1.4.1+dfsg-1_amd64.deb ...
Unpacking libsvtav1enc1:amd64 (1.4.1+dfsg-1) ...
 ⠼Selecting previously unselected package libjpeg62-turbo:amd64.
Preparing to unpack .../62-libjpeg62-turbo_1%3a2.1.5-2_amd64.deb ...
Unpacking libjpeg62-turbo:amd64 (1:2.1.5-2) ...
 ⠴Selecting previously unselected package libyuv0:amd64.
Preparing to unpack .../63-libyuv0_0.0~git20230123.b2528b0-1_amd64.deb ...
Unpacking libyuv0:amd64 (0.0~git20230123.b2528b0-1) ...
Selecting previously unselected package libavif15:amd64.
Preparing to unpack .../64-libavif15_0.11.1-1_amd64.deb ...
Unpacking libavif15:amd64 (0.11.1-1) ...
 ⠦Selecting previously unselected package libpng16-16:amd64.
Preparing to unpack .../65-libpng16-16_1.6.39-2_amd64.deb ...
Unpacking libpng16-16:amd64 (1.6.39-2) ...
 ⠧Selecting previously unselected package libfreetype6:amd64.
Preparing to unpack .../66-libfreetype6_2.12.1+dfsg-5+deb12u3_amd64.deb ...
Unpacking libfreetype6:amd64 (2.12.1+dfsg-5+deb12u3) ...
 ⠇Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../67-libfontconfig1_2.14.1-4_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.14.1-4) ...
Selecting previously unselected package libde265-0:amd64.
Preparing to unpack .../68-libde265-0_1.0.11-1+deb12u2_amd64.deb ...
Unpacking libde265-0:amd64 (1.0.11-1+deb12u2) ...
 ⠏Selecting previously unselected package libnuma1:amd64.
Preparing to unpack .../69-libnuma1_2.0.16-1_amd64.deb ...
Unpacking libnuma1:amd64 (2.0.16-1) ...
 ⠋Selecting previously unselected package libx265-199:amd64.
Preparing to unpack .../70-libx265-199_3.5-2+b1_amd64.deb ...
Unpacking libx265-199:amd64 (3.5-2+b1) ...
 ⠹Selecting previously unselected package libheif1:amd64.
Preparing to unpack .../71-libheif1_1.15.1-1+deb12u1_amd64.deb ...
Unpacking libheif1:amd64 (1.15.1-1+deb12u1) ...
Selecting previously unselected package libdeflate0:amd64.
Preparing to unpack .../72-libdeflate0_1.14-1_amd64.deb ...
Unpacking libdeflate0:amd64 (1.14-1) ...
 ⠸Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../73-libjbig0_2.1-6.1_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-6.1) ...
 ⠼Selecting previously unselected package liblerc4:amd64.
Preparing to unpack .../74-liblerc4_4.0.0+ds-2_amd64.deb ...
Unpacking liblerc4:amd64 (4.0.0+ds-2) ...
Selecting previously unselected package libwebp7:amd64.
Preparing to unpack .../75-libwebp7_1.2.4-0.2+deb12u1_amd64.deb ...
Unpacking libwebp7:amd64 (1.2.4-0.2+deb12u1) ...
 ⠴Selecting previously unselected package libtiff6:amd64.
Preparing to unpack .../76-libtiff6_4.5.0-6+deb12u1_amd64.deb ...
Unpacking libtiff6:amd64 (4.5.0-6+deb12u1) ...
 ⠦Selecting previously unselected package libxau6:amd64.
Preparing to unpack .../77-libxau6_1%3a1.0.9-1_amd64.deb ...
Unpacking libxau6:amd64 (1:1.0.9-1) ...
Selecting previously unselected package libxdmcp6:amd64.
Preparing to unpack .../78-libxdmcp6_1%3a1.1.2-3_amd64.deb ...
Unpacking libxdmcp6:amd64 (1:1.1.2-3) ...
 ⠧Selecting previously unselected package libxcb1:amd64.
Preparing to unpack .../79-libxcb1_1.15-1_amd64.deb ...
Unpacking libxcb1:amd64 (1.15-1) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../80-libx11-data_2%3a1.8.4-2+deb12u2_all.deb ...
Unpacking libx11-data (2:1.8.4-2+deb12u2) ...
 ⠇Selecting previously unselected package libx11-6:amd64.
Preparing to unpack .../81-libx11-6_2%3a1.8.4-2+deb12u2_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.8.4-2+deb12u2) ...
 ⠏Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../82-libxpm4_1%3a3.5.12-1.1+deb12u1_amd64.deb ...
 ⠋Unpacking libxpm4:amd64 (1:3.5.12-1.1+deb12u1) ...
 ⠙Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../83-libgd3_2.3.3-9_amd64.deb ...
Unpacking libgd3:amd64 (2.3.3-9) ...
Selecting previously unselected package libc-devtools.
Preparing to unpack .../84-libc-devtools_2.36-9+deb12u9_amd64.deb ...
Unpacking libc-devtools (2.36-9+deb12u9) ...
 ⠹Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../85-libglib2.0-0_2.74.6-2+deb12u4_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.74.6-2+deb12u4) ...
 ⠸Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../86-libglib2.0-data_2.74.6-2+deb12u4_all.deb ...
Unpacking libglib2.0-data (2.74.6-2+deb12u4) ...
 ⠴Selecting previously unselected package libgpm2:amd64.
Preparing to unpack .../87-libgpm2_1.20.7-10+b1_amd64.deb ...
Unpacking libgpm2:amd64 (1.20.7-10+b1) ...
 ⠦Selecting previously unselected package make.
Preparing to unpack .../88-make_4.3-4.1_amd64.deb ...
Unpacking make (4.3-4.1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../89-manpages-dev_6.03-2_all.deb ...
Unpacking manpages-dev (6.03-2) ...
 ⠋Selecting previously unselected package mc-data.
Preparing to unpack .../90-mc-data_3%3a4.8.29-2_all.deb ...
Unpacking mc-data (3:4.8.29-2) ...
 ⠹Selecting previously unselected package mc.
Preparing to unpack .../91-mc_3%3a4.8.29-2_amd64.deb ...
Unpacking mc (3:4.8.29-2) ...
 ⠸Selecting previously unselected package patch.
Preparing to unpack .../92-patch_2.7.6-7_amd64.deb ...
Unpacking patch (2.7.6-7) ...
 ⠼Selecting previously unselected package shared-mime-info.
Preparing to unpack .../93-shared-mime-info_2.2-1_amd64.deb ...
Unpacking shared-mime-info (2.2-1) ...
 ⠴Selecting previously unselected package unzip.
Preparing to unpack .../94-unzip_6.0-28_amd64.deb ...
Unpacking unzip (6.0-28) ...
 ⠦Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../95-xdg-user-dirs_0.18-1_amd64.deb ...
Unpacking xdg-user-dirs (0.18-1) ...
 ⠧Setting up libksba8:amd64 (1.6.3-2) ...
Setting up libaom3:amd64 (3.6.0-1+deb12u1) ...
Setting up manpages-dev (6.03-2) ...
Setting up libabsl20220623:amd64 (20220623.1-1) ...
Setting up libxau6:amd64 (1:1.0.9-1) ...
Setting up libxdmcp6:amd64 (1:1.1.2-3) ...
 ⠇Setting up libxcb1:amd64 (1.15-1) ...
Setting up libgpm2:amd64 (1.20.7-10+b1) ...
Setting up liblerc4:amd64 (4.0.0+ds-2) ...
Setting up xdg-user-dirs (0.18-1) ...
Setting up libglib2.0-0:amd64 (2.74.6-2+deb12u4) ...
 ⠏No schema files found: doing nothing.
Setting up unzip (6.0-28) ...
Setting up binutils-common:amd64 (2.40-2) ...
Setting up libdeflate0:amd64 (1.14-1) ...
Setting up linux-libc-dev:amd64 (6.1.119-1) ...
Setting up libctf-nobfd0:amd64 (2.40-2) ...
 ⠋Setting up libnpth0:amd64 (1.6-3) ...
Setting up libsvtav1enc1:amd64 (1.4.1+dfsg-1) ...
Setting up libassuan0:amd64 (2.5.5-5) ...
Setting up libgomp1:amd64 (12.2.0-14) ...
Setting up libjbig0:amd64 (2.1-6.1) ...
Setting up librav1e0:amd64 (0.5.1-6) ...
Setting up liberror-perl (0.17029-2) ...
 ⠙Setting up libglib2.0-data (2.74.6-2+deb12u4) ...
Setting up libtirpc-dev:amd64 (1.3.3+ds-1) ...
Setting up rpcsvc-proto (1.4.3-1) ...
Setting up libjpeg62-turbo:amd64 (1:2.1.5-2) ...
Setting up libx11-data (2:1.8.4-2+deb12u2) ...
Setting up make (4.3-4.1) ...
Setting up libmpfr6:amd64 (4.2.0-1) ...
 ⠹Setting up gnupg-l10n (2.2.40-1.1) ...
Setting up libquadmath0:amd64 (12.2.0-14) ...
Setting up shared-mime-info (2.2-1) ...
 ⠹Setting up libpng16-16:amd64 (1.6.39-2) ...
Setting up libmpc3:amd64 (1.3.1-1) ...
Setting up libatomic1:amd64 (12.2.0-14) ...
Setting up patch (2.7.6-7) ...
Setting up sudo (1.9.13p3-1+deb12u1) ...
 ⠴Setting up fonts-dejavu-core (2.37-6) ...
 ⠦Setting up libgav1-1:amd64 (0.18.0-1+b1) ...
Setting up libdav1d6:amd64 (1.0.0-2+deb12u1) ...
 ⠧Setting up mc-data (3:4.8.29-2) ...
Setting up libwebp7:amd64 (1.2.4-0.2+deb12u1) ...
Setting up libubsan1:amd64 (12.2.0-14) ...
Setting up libnuma1:amd64 (2.0.16-1) ...
Setting up libnsl-dev:amd64 (1.3.0-2) ...
Setting up libcrypt-dev:amd64 (1:4.4.33-2) ...
 ⠇Setting up libtiff6:amd64 (4.5.0-6+deb12u1) ...
Setting up libasan8:amd64 (12.2.0-14) ...
Setting up gpgconf (2.2.40-1.1) ...
Setting up libcurl4:amd64 (7.88.1-10+deb12u8) ...
Setting up git-man (1:2.39.5-0+deb12u1) ...
 ⠏Setting up libx11-6:amd64 (2:1.8.4-2+deb12u2) ...
Setting up curl (7.88.1-10+deb12u8) ...
Setting up libtsan2:amd64 (12.2.0-14) ...
Setting up libbinutils:amd64 (2.40-2) ...
Setting up libisl23:amd64 (0.25-1.1) ...
 ⠋Setting up libde265-0:amd64 (1.0.11-1+deb12u2) ...
Setting up libc-dev-bin (2.36-9+deb12u9) ...
Setting up libyuv0:amd64 (0.0~git20230123.b2528b0-1) ...
Setting up libcc1-0:amd64 (12.2.0-14) ...
Setting up gpg (2.2.40-1.1) ...
Setting up liblsan0:amd64 (12.2.0-14) ...
 ⠙Setting up libitm1:amd64 (12.2.0-14) ...
Setting up gnupg-utils (2.2.40-1.1) ...
Setting up libctf0:amd64 (2.40-2) ...
Setting up pinentry-curses (1.2.1-1) ...
 ⠹Setting up cpp-12 (12.2.0-14) ...
Setting up gpg-agent (2.2.40-1.1) ...
 ⠸Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket → /usr/lib/systemd/user/gpg-agent-browser.socket.
 ⠼Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket → /usr/lib/systemd/user/gpg-agent-extra.socket.
 ⠴Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket → /usr/lib/systemd/user/gpg-agent-ssh.socket.
 ⠦Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent.socket → /usr/lib/systemd/user/gpg-agent.socket.
Setting up libxpm4:amd64 (1:3.5.12-1.1+deb12u1) ...
Setting up libavif15:amd64 (0.11.1-1) ...
 ⠧Setting up mc (3:4.8.29-2) ...
update-alternatives: using /usr/bin/mcview to provide /usr/bin/view (view) in auto mode
 ⠇Setting up fontconfig-config (2.14.1-4) ...
 ⠋Setting up gpgsm (2.2.40-1.1) ...
Setting up dirmngr (2.2.40-1.1) ...
 ⠙Created symlink /etc/systemd/user/sockets.target.wants/dirmngr.socket → /usr/lib/systemd/user/dirmngr.socket.
 ⠹Setting up libgprofng0:amd64 (2.40-2) ...
Setting up libfreetype6:amd64 (2.12.1+dfsg-5+deb12u3) ...
Setting up libgcc-12-dev:amd64 (12.2.0-14) ...
Setting up git (1:2.39.5-0+deb12u1) ...
Setting up libx265-199:amd64 (3.5-2+b1) ...
 ⠸Setting up gpg-wks-server (2.2.40-1.1) ...
Setting up cpp (4:12.2.0-3) ...
Setting up libc6-dev:amd64 (2.36-9+deb12u9) ...
Setting up libfontconfig1:amd64 (2.14.1-4) ...
Setting up binutils-x86-64-linux-gnu (2.40-2) ...
 ⠼Setting up gpg-wks-client (2.2.40-1.1) ...
Setting up libstdc++-12-dev:amd64 (12.2.0-14) ...
Setting up libheif1:amd64 (1.15.1-1+deb12u1) ...
Setting up binutils (2.40-2) ...
Setting up gcc-12 (12.2.0-14) ...
Setting up libgd3:amd64 (2.3.3-9) ...
Setting up gnupg (2.2.40-1.1) ...
 ⠴Setting up libc-devtools (2.36-9+deb12u9) ...
Setting up g++-12 (12.2.0-14) ...
Setting up gcc (4:12.2.0-3) ...
Setting up g++ (4:12.2.0-3) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Processing triggers for libc-bin (2.36-9+deb12u9) ...
 ⠦Processing triggers for man-db (2.11.2-2) ...
 ⠦Processing triggers for mailcap (3.70+nmu1) ...
  ✔️  Installed Dependencies
  ✔️  Set up Node.js Repository
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org bookworm-security InRelease                                    
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease                                   
Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]   
Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [9,928 B]
Fetched 22.1 kB in 0s (65.3 kB/s)   
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
 ⠹The following NEW packages will be installed:
  nodejs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.8 MB of archives.
After this operation, 197 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_20.x nodistro/main amd64 nodejs amd64 20.18.1-1nodesource1 [31.8 MB]
Fetched 31.8 MB in 3s (11.3 MB/s)  
 ⠸Selecting previously unselected package nodejs.
(Reading database ... 27679 files and directories currently installed.)
Preparing to unpack .../nodejs_20.18.1-1nodesource1_amd64.deb ...
Unpacking nodejs (20.18.1-1nodesource1) ...
 ⠦Setting up nodejs (20.18.1-1nodesource1) ...
Processing triggers for man-db (2.11.2-2) ...
  ✔️  Installed Node.js

added 1 package in 1s

1 package is looking for funding
  run `npm fund` for details
npm notice
npm notice New major version of npm available! 10.8.2 -> 11.0.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.0.0
npm notice To update run: npm install -g [email protected]
npm notice
  ✔️  Installed pnpm
 ⠸Lockfile is up to date, resolution step is skipped
 ⠼Packages: +368
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
PrProgress: resolved 368, reused 0, downloaded 368, added 368, done
 ⠇node_modules/.pnpm/[email protected]/node_modules/unix-dgram: Running install script, done in 4.4s
nonode_modules/.pnpm/[email protected]/node_modules/sd-notify: Running install script, failed in 2.9s (skipped as optional)_modules/.pnpm/@[email protected]/node_modules/@serialport/bindings-cpp: Running install script, don
e in 146msules/.pnpm/[email protected]/node_modules/esbuild: Running postinstall script, done in 115ms
 ⠸
dependencies:
+ ajv 8.17.1
+ bind-decorator 1.0.11
+ debounce 2.2.0
+ express-static-gzip 2.2.0
+ fast-deep-equal 3.1.3
+ finalhandler 1.3.1
+ git-last-commit 1.0.1
+ humanize-duration 3.32.1
+ js-yaml 4.1.0
+ json-stable-stringify-without-jsonify 1.0.1
+ jszip 3.10.1
+ moment 2.30.1
+ mqtt 5.10.3
+ object-assign-deep 0.4.0
+ rimraf 6.0.1
+ semver 7.6.3
+ source-map-support 0.5.21
+ throttleit 2.1.0
+ winston 3.17.0
+ winston-syslog 2.7.1
+ winston-transport 4.9.0
+ ws 8.18.0
+ zigbee-herdsman 3.2.1
+ zigbee-herdsman-converters 21.12.0
+ zigbee2mqtt-frontend 0.9.4

optionalDependencies:
+ sd-notify 2.8.0

devDependencies:
+ @eslint/core 0.9.1
+ @eslint/js 9.17.0
+ @ianvs/prettier-plugin-sort-imports 4.4.0
+ @types/eslint__js 8.42.3
+ @types/finalhandler 1.2.3
+ @types/humanize-duration 3.27.4
+ @types/js-yaml 4.0.9
+ @types/node 22.10.2
+ @types/object-assign-deep 0.4.3
+ @types/readable-stream 4.0.18
+ @types/sd-notify 2.8.2
+ @types/serve-static 1.15.7
+ @types/ws 8.5.13
+ @vitest/coverage-v8 2.1.8
+ eslint 9.17.0
+ eslint-config-prettier 9.1.0
+ prettier 3.4.2
+ tmp 0.2.3
+ typescript 5.7.2
+ typescript-eslint 8.18.2
+ vitest 2.1.8

Done in 9.6s
  ✔️  Installed Zigbee2MQTT
  ✔️  Created Service
  ✔️  Customized Container
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
 ⠼0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
  ✔️  Cleaned
  ✔️  Completed Successfully!

  🚀  Zigbee2MQTT setup has been successfully initialized!
  💡   Access it after configure the configuration.yaml using the following URL:
    🌐  http://192.168.150.181:9442
root@proxmox:~# 

@aperezva
Copy link

aperezva commented Jan 5, 2025

I dont mind if I have to wait to update, but my question is, if you create a script to update automatically, I know regarding configuration. yaml mandatory changes, but in the other steps, Will you have a scripting, or I have to do the steps manually, executing MV, CP commands?

BR

@aperezva
Copy link

aperezva commented Jan 5, 2025

I have created a new lxc from your script a a dev and is working fine, Now I only want to know how to update the existing ones.

Any script for update them?

Thanks for your amazing work

@joaorgoncalves
Copy link

Just tested and Dev script is working perfectly for new installs

ct/zigbee2mqtt.sh Outdated Show resolved Hide resolved
Co-authored-by: Sébastiaan <[email protected]>
Copy link
Contributor

@se-bastiaan se-bastiaan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@aperezva
Copy link

aperezva commented Jan 5, 2025

Just tested and Dev script is working perfectly for new installs

And to update existing ones?

@MickLesk MickLesk merged commit d827d42 into main Jan 5, 2025
3 of 4 checks passed
@MickLesk MickLesk deleted the zigbee2mqtt_patch branch January 5, 2025 16:02
@aperezva
Copy link

aperezva commented Jan 5, 2025

I got this error when I execute update

root@zigbee2mqtt:/opt/zigbee2mqtt# ./update.sh
Checking Zigbee2MQTT status...
Updating...
fatal: not a git repository (or any of the parent directories): .git
root@zigbee2mqtt:/opt/zigbee2mqtt#

What´s the problem?

@BradleyFord
Copy link

Is it possible to update the top of the PR description that the errors in this thread have been resolved (with a date stamp on the comment of 07012025)?

@rgonzlz
Copy link

rgonzlz commented Jan 6, 2025

Hi!

I'm trying to update but it creates another LXC, I come from the tteck's version, do I have to do something before?

Thanks!

@tomfrenzel
Copy link

Hi!

I'm trying to update but it creates another LXC, I come from the tteck's version, do I have to do something before?

Thanks!

You need to run the script inside the zigbee2mqtt LXC. Other than that just do what is listed in this PR (Config update etc.)

@carlreid
Copy link

carlreid commented Jan 6, 2025

I tried running this new update script. However my LXC was missing unzip, which I guess did not exist on the older LXC creation scripts? I installed it with apt-get install unzip.

However, on the second attempt of the update script, I now encountered:
[ERROR] in line 44: exit code 0: while executing command mv /opt/zigbee2mqtt/data /opt/z2m_backup.

If anyone else encounters this, then just move the previously made backup, back to /opt/zigbee2mqtt/data by running:
mv /opt/z2m_backup /opt/zigbee2mqtt/data

Then run the install/update script again as usual and it should make its way through as expected. Though for some reason, my configurations script was missing the adapter: zstack which I had added before.

@michelroegl-brunner michelroegl-brunner mentioned this pull request Jan 7, 2025
2 tasks
@peschee
Copy link

peschee commented Jan 12, 2025

I got this error when I execute update

root@zigbee2mqtt:/opt/zigbee2mqtt# ./update.sh Checking Zigbee2MQTT status... Updating... fatal: not a git repository (or any of the parent directories): .git root@zigbee2mqtt:/opt/zigbee2mqtt#

What´s the problem?

I'm also getting this error when trying to run the ./update.sh script in the z2m directory. It seems the new install script does not setup a git repo anymore?

before 2.0.0, git was used and this method seem to have been replaced by just downloading a release archive in this commit: d827d42#diff-fa85bfc34a885cde35f9dde9f6d4050aed1d46873fa5b109da22f22499d734e0R49

@MickLesk MickLesk mentioned this pull request Jan 16, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change A change that is not backward compatible guide Guides on how to perform a specific task or configuration update script A change that updates a script
Projects
None yet
Development

Successfully merging this pull request may close these issues.