Ubuntu 22.04.4 LTS: can't build docker application
by MakeTopSite from LinuxQuestions.org on (#6QD7W)
Code:root@maketopsite:/home/maketopsite# cd /run/media/maketopsite/data/work/docker && docker compose build && docker compose up -d --force-recreate && docker exec -it maketopsite-php-fpm /bin/bash
[+] Building 57.3s (12/12) FINISHED docker:default
=> [php-fpm internal] load build definition from Dockerfile 0.2s
=> => transferring dockerfile: 937B 0.1s
=> [php-fpm internal] load metadata for docker.io/phpdockerio/php:8.1-fpm 1.9s
=> [php-fpm internal] load .dockerignore 0.2s
=> => transferring context: 2B 0.0s
=> [php-fpm 1/9] FROM docker.io/phpdockerio/php:8.1-fpm@sha256:8ca0774672b7ee42c3a4f387c06210e647969b93ae9c1323a2e3ac32360a7868 0.0s
=> CACHED [php-fpm 2/9] WORKDIR /var/www 0.0s
=> CACHED [php-fpm 3/9] RUN apt-get update && apt-get -y --no-install-recommends install php8.1-sqlite3 php8.1-bcmath php 0.0s
=> CACHED [php-fpm 6/9] RUN echo "extension=pdo_mysql" >> /etc/php/8.1/fpm/php.ini 0.0s
=> CACHED [php-fpm 7/9] RUN apt-get -y install gnupg 0.0s
=> CACHED [php-fpm 8/9] RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - 0.0s
=> ERROR [php-fpm 9/9] RUN apt-get update && apt-get upgrade -y && apt-get install -y nodejs && npm install -g npm 54.3s
------
> [php-fpm 9/9] RUN apt-get update && apt-get upgrade -y && apt-get install -y nodejs && npm install -g npm:
6.055 Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
6.055 Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
6.055 Get:3 http://ppa.launchpad.net/ondrej/php/ubuntu jammy InRelease [24.6 kB]
6.223 Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
6.301 Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
6.605 Get:6 http://ppa.launchpad.net/ondrej/php/ubuntu jammy/main amd64 Packages [216 kB]
6.681 Get:7 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [44.7 kB]
6.775 Get:8 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
6.789 Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [2944 kB]
9.376 Get:10 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1135 kB]
10.32 Get:11 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2221 kB]
14.85 Get:12 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
14.90 Get:13 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
15.62 Get:14 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
15.79 Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1425 kB]
16.13 Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [51.8 kB]
16.26 Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2498 kB]
16.88 Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3041 kB]
17.89 Get:19 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [81.4 kB]
17.91 Get:20 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [33.7 kB]
18.19 Fetched 34.1 MB in 15s (2224 kB/s)
18.19 Reading package lists...
19.28 W: http://ppa.launchpad.net/ondrej/php/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
19.33 Reading package lists...
20.38 Building dependency tree...
20.57 Reading state information...
20.63 Calculating upgrade...
20.92 The following packages will be upgraded:
20.92 e2fsprogs libcom-err2 libext2fs2 libpcre2-8-0 libpcre3 libss2 logsave
24.10 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
24.10 Need to get 1318 kB of archives.
24.10 After this operation, 66.6 kB disk space will be freed.
24.10 Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu jammy/main amd64 libpcre3 amd64 2:8.45-1+ubuntu22.04.1+deb.sury.org+1 [257 kB]
24.10 Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 logsave amd64 1.46.5-2ubuntu1.2 [10.1 kB]
24.15 Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libext2fs2 amd64 1.46.5-2ubuntu1.2 [208 kB]
24.30 Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 e2fsprogs amd64 1.46.5-2ubuntu1.2 [590 kB]
24.31 Get:5 http://ppa.launchpad.net/ondrej/php/ubuntu jammy/main amd64 libpcre2-8-0 amd64 10.42-3+ubuntu22.04.1+deb.sury.org+1 [230 kB]
24.61 Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcom-err2 amd64 1.46.5-2ubuntu1.2 [9304 B]
24.61 Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libss2 amd64 1.46.5-2ubuntu1.2 [12.3 kB]
25.80 debconf: delaying package configuration, since apt-utils is not installed
25.93 Fetched 1318 kB in 4s (358 kB/s)
(Reading database ... 8279 files and directories currently installed.)
26.35 Preparing to unpack .../logsave_1.46.5-2ubuntu1.2_amd64.deb ...
26.53 Unpacking logsave (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ...
27.06 Preparing to unpack .../libext2fs2_1.46.5-2ubuntu1.2_amd64.deb ...
27.30 Unpacking libext2fs2:amd64 (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ...
27.79 Setting up libext2fs2:amd64 (1.46.5-2ubuntu1.2) ...
(Reading database ... 8279 files and directories currently installed.)
28.25 Preparing to unpack .../e2fsprogs_1.46.5-2ubuntu1.2_amd64.deb ...
28.39 Unpacking e2fsprogs (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ...
30.60 Preparing to unpack .../libcom-err2_1.46.5-2ubuntu1.2_amd64.deb ...
30.73 Unpacking libcom-err2:amd64 (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ...
31.08 Setting up libcom-err2:amd64 (1.46.5-2ubuntu1.2) ...
(Reading database ... 8279 files and directories currently installed.)
31.49 Preparing to unpack .../libpcre3_2%3a8.45-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
31.71 Unpacking libpcre3:amd64 (2:8.45-1+ubuntu22.04.1+deb.sury.org+1) over (2:8.39-13ubuntu0.22.04.1) ...
32.16 Setting up libpcre3:amd64 (2:8.45-1+ubuntu22.04.1+deb.sury.org+1) ...
(Reading database ... 8279 files and directories currently installed.)
32.54 Preparing to unpack .../libpcre2-8-0_10.42-3+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
32.68 Unpacking libpcre2-8-0:amd64 (10.42-3+ubuntu22.04.1+deb.sury.org+1) over (10.39-3ubuntu0.1) ...
33.02 Setting up libpcre2-8-0:amd64 (10.42-3+ubuntu22.04.1+deb.sury.org+1) ...
(Reading database ... 8279 files and directories currently installed.)
33.45 Preparing to unpack .../libss2_1.46.5-2ubuntu1.2_amd64.deb ...
33.61 Unpacking libss2:amd64 (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ...
33.95 Setting up libss2:amd64 (1.46.5-2ubuntu1.2) ...
34.10 Setting up logsave (1.46.5-2ubuntu1.2) ...
34.24 Setting up e2fsprogs (1.46.5-2ubuntu1.2) ...
35.08 Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
36.96 Reading package lists...
38.01 Building dependency tree...
38.20 Reading state information...
38.46 The following additional packages will be installed:
38.46 javascript-common libc-ares2 libjs-highlight.js libnode72 libuv1 nodejs-doc
38.46 Suggested packages:
38.46 apache2 | lighttpd | httpd npm
38.51 The following NEW packages will be installed:
38.51 javascript-common libc-ares2 libjs-highlight.js libnode72 libuv1 nodejs
38.51 nodejs-doc
41.75 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
41.75 Need to get 13.8 MB of archives.
41.75 After this operation, 54.2 MB of additional disk space will be used.
41.75 Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libuv1 amd64 1.43.0-1ubuntu0.1 [92.7 kB]
41.95 Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 javascript-common all 11+nmu1 [5936 B]
41.96 Get:3 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-highlight.js all 9.18.5+dfsg1-1 [367 kB]
42.15 Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc-ares2 amd64 1.18.1-1ubuntu0.22.04.3 [45.1 kB]
42.16 Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libnode72 amd64 12.22.9~dfsg-1ubuntu3.6 [10.8 MB]
46.03 Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 nodejs-doc all 12.22.9~dfsg-1ubuntu3.6 [2411 kB]
46.81 Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 nodejs amd64 12.22.9~dfsg-1ubuntu3.6 [122 kB]
46.99 debconf: delaying package configuration, since apt-utils is not installed
47.02 Fetched 13.8 MB in 8s (1667 kB/s)
47.19 Selecting previously unselected package libuv1:amd64.
(Reading database ... 8279 files and directories currently installed.)
47.20 Preparing to unpack .../0-libuv1_1.43.0-1ubuntu0.1_amd64.deb ...
47.30 Unpacking libuv1:amd64 (1.43.0-1ubuntu0.1) ...
47.71 Selecting previously unselected package javascript-common.
47.71 Preparing to unpack .../1-javascript-common_11+nmu1_all.deb ...
47.81 Unpacking javascript-common (11+nmu1) ...
48.06 Selecting previously unselected package libjs-highlight.js.
48.06 Preparing to unpack .../2-libjs-highlight.js_9.18.5+dfsg1-1_all.deb ...
48.11 Unpacking libjs-highlight.js (9.18.5+dfsg1-1) ...
48.46 Selecting previously unselected package libc-ares2:amd64.
48.46 Preparing to unpack .../3-libc-ares2_1.18.1-1ubuntu0.22.04.3_amd64.deb ...
48.51 Unpacking libc-ares2:amd64 (1.18.1-1ubuntu0.22.04.3) ...
49.51 Selecting previously unselected package libnode72:amd64.
49.51 Preparing to unpack .../4-libnode72_12.22.9~dfsg-1ubuntu3.6_amd64.deb ...
49.56 Unpacking libnode72:amd64 (12.22.9~dfsg-1ubuntu3.6) ...
49.99 Selecting previously unselected package nodejs-doc.
49.99 Preparing to unpack .../5-nodejs-doc_12.22.9~dfsg-1ubuntu3.6_all.deb ...
50.04 Unpacking nodejs-doc (12.22.9~dfsg-1ubuntu3.6) ...
50.45 Selecting previously unselected package nodejs.
50.45 Preparing to unpack .../6-nodejs_12.22.9~dfsg-1ubuntu3.6_amd64.deb ...
50.50 Unpacking nodejs (12.22.9~dfsg-1ubuntu3.6) ...
50.75 Setting up javascript-common (11+nmu1) ...
51.07 Setting up libc-ares2:amd64 (1.18.1-1ubuntu0.22.04.3) ...
51.20 Setting up libuv1:amd64 (1.43.0-1ubuntu0.1) ...
51.34 Setting up libjs-highlight.js (9.18.5+dfsg1-1) ...
51.48 Setting up libnode72:amd64 (12.22.9~dfsg-1ubuntu3.6) ...
51.61 Setting up nodejs-doc (12.22.9~dfsg-1ubuntu3.6) ...
51.76 Setting up nodejs (12.22.9~dfsg-1ubuntu3.6) ...
51.94 update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
51.94 update-alternatives: warning: skip creation of /usr/share/man/man1/js.1.gz because associated file /usr/share/man/man1/nodejs.1.gz (of link group js) doesn't exist
52.03 Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
52.29 /bin/sh: 1: npm: not found
------
failed to solve: process "/bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y nodejs && npm install -g npm" did not complete successfully: exit code: 127
root@maketopsite:/home/maketopsite/data/work/docker#It has been working few days ago. No problem in Devuan. Any idea pls ?
[+] Building 57.3s (12/12) FINISHED docker:default
=> [php-fpm internal] load build definition from Dockerfile 0.2s
=> => transferring dockerfile: 937B 0.1s
=> [php-fpm internal] load metadata for docker.io/phpdockerio/php:8.1-fpm 1.9s
=> [php-fpm internal] load .dockerignore 0.2s
=> => transferring context: 2B 0.0s
=> [php-fpm 1/9] FROM docker.io/phpdockerio/php:8.1-fpm@sha256:8ca0774672b7ee42c3a4f387c06210e647969b93ae9c1323a2e3ac32360a7868 0.0s
=> CACHED [php-fpm 2/9] WORKDIR /var/www 0.0s
=> CACHED [php-fpm 3/9] RUN apt-get update && apt-get -y --no-install-recommends install php8.1-sqlite3 php8.1-bcmath php 0.0s
=> CACHED [php-fpm 6/9] RUN echo "extension=pdo_mysql" >> /etc/php/8.1/fpm/php.ini 0.0s
=> CACHED [php-fpm 7/9] RUN apt-get -y install gnupg 0.0s
=> CACHED [php-fpm 8/9] RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - 0.0s
=> ERROR [php-fpm 9/9] RUN apt-get update && apt-get upgrade -y && apt-get install -y nodejs && npm install -g npm 54.3s
------
> [php-fpm 9/9] RUN apt-get update && apt-get upgrade -y && apt-get install -y nodejs && npm install -g npm:
6.055 Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
6.055 Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
6.055 Get:3 http://ppa.launchpad.net/ondrej/php/ubuntu jammy InRelease [24.6 kB]
6.223 Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
6.301 Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
6.605 Get:6 http://ppa.launchpad.net/ondrej/php/ubuntu jammy/main amd64 Packages [216 kB]
6.681 Get:7 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [44.7 kB]
6.775 Get:8 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
6.789 Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [2944 kB]
9.376 Get:10 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1135 kB]
10.32 Get:11 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2221 kB]
14.85 Get:12 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
14.90 Get:13 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
15.62 Get:14 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
15.79 Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1425 kB]
16.13 Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [51.8 kB]
16.26 Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2498 kB]
16.88 Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3041 kB]
17.89 Get:19 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [81.4 kB]
17.91 Get:20 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [33.7 kB]
18.19 Fetched 34.1 MB in 15s (2224 kB/s)
18.19 Reading package lists...
19.28 W: http://ppa.launchpad.net/ondrej/php/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
19.33 Reading package lists...
20.38 Building dependency tree...
20.57 Reading state information...
20.63 Calculating upgrade...
20.92 The following packages will be upgraded:
20.92 e2fsprogs libcom-err2 libext2fs2 libpcre2-8-0 libpcre3 libss2 logsave
24.10 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
24.10 Need to get 1318 kB of archives.
24.10 After this operation, 66.6 kB disk space will be freed.
24.10 Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu jammy/main amd64 libpcre3 amd64 2:8.45-1+ubuntu22.04.1+deb.sury.org+1 [257 kB]
24.10 Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 logsave amd64 1.46.5-2ubuntu1.2 [10.1 kB]
24.15 Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libext2fs2 amd64 1.46.5-2ubuntu1.2 [208 kB]
24.30 Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 e2fsprogs amd64 1.46.5-2ubuntu1.2 [590 kB]
24.31 Get:5 http://ppa.launchpad.net/ondrej/php/ubuntu jammy/main amd64 libpcre2-8-0 amd64 10.42-3+ubuntu22.04.1+deb.sury.org+1 [230 kB]
24.61 Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcom-err2 amd64 1.46.5-2ubuntu1.2 [9304 B]
24.61 Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libss2 amd64 1.46.5-2ubuntu1.2 [12.3 kB]
25.80 debconf: delaying package configuration, since apt-utils is not installed
25.93 Fetched 1318 kB in 4s (358 kB/s)
(Reading database ... 8279 files and directories currently installed.)
26.35 Preparing to unpack .../logsave_1.46.5-2ubuntu1.2_amd64.deb ...
26.53 Unpacking logsave (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ...
27.06 Preparing to unpack .../libext2fs2_1.46.5-2ubuntu1.2_amd64.deb ...
27.30 Unpacking libext2fs2:amd64 (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ...
27.79 Setting up libext2fs2:amd64 (1.46.5-2ubuntu1.2) ...
(Reading database ... 8279 files and directories currently installed.)
28.25 Preparing to unpack .../e2fsprogs_1.46.5-2ubuntu1.2_amd64.deb ...
28.39 Unpacking e2fsprogs (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ...
30.60 Preparing to unpack .../libcom-err2_1.46.5-2ubuntu1.2_amd64.deb ...
30.73 Unpacking libcom-err2:amd64 (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ...
31.08 Setting up libcom-err2:amd64 (1.46.5-2ubuntu1.2) ...
(Reading database ... 8279 files and directories currently installed.)
31.49 Preparing to unpack .../libpcre3_2%3a8.45-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
31.71 Unpacking libpcre3:amd64 (2:8.45-1+ubuntu22.04.1+deb.sury.org+1) over (2:8.39-13ubuntu0.22.04.1) ...
32.16 Setting up libpcre3:amd64 (2:8.45-1+ubuntu22.04.1+deb.sury.org+1) ...
(Reading database ... 8279 files and directories currently installed.)
32.54 Preparing to unpack .../libpcre2-8-0_10.42-3+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
32.68 Unpacking libpcre2-8-0:amd64 (10.42-3+ubuntu22.04.1+deb.sury.org+1) over (10.39-3ubuntu0.1) ...
33.02 Setting up libpcre2-8-0:amd64 (10.42-3+ubuntu22.04.1+deb.sury.org+1) ...
(Reading database ... 8279 files and directories currently installed.)
33.45 Preparing to unpack .../libss2_1.46.5-2ubuntu1.2_amd64.deb ...
33.61 Unpacking libss2:amd64 (1.46.5-2ubuntu1.2) over (1.46.5-2ubuntu1.1) ...
33.95 Setting up libss2:amd64 (1.46.5-2ubuntu1.2) ...
34.10 Setting up logsave (1.46.5-2ubuntu1.2) ...
34.24 Setting up e2fsprogs (1.46.5-2ubuntu1.2) ...
35.08 Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
36.96 Reading package lists...
38.01 Building dependency tree...
38.20 Reading state information...
38.46 The following additional packages will be installed:
38.46 javascript-common libc-ares2 libjs-highlight.js libnode72 libuv1 nodejs-doc
38.46 Suggested packages:
38.46 apache2 | lighttpd | httpd npm
38.51 The following NEW packages will be installed:
38.51 javascript-common libc-ares2 libjs-highlight.js libnode72 libuv1 nodejs
38.51 nodejs-doc
41.75 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
41.75 Need to get 13.8 MB of archives.
41.75 After this operation, 54.2 MB of additional disk space will be used.
41.75 Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libuv1 amd64 1.43.0-1ubuntu0.1 [92.7 kB]
41.95 Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 javascript-common all 11+nmu1 [5936 B]
41.96 Get:3 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libjs-highlight.js all 9.18.5+dfsg1-1 [367 kB]
42.15 Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc-ares2 amd64 1.18.1-1ubuntu0.22.04.3 [45.1 kB]
42.16 Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libnode72 amd64 12.22.9~dfsg-1ubuntu3.6 [10.8 MB]
46.03 Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 nodejs-doc all 12.22.9~dfsg-1ubuntu3.6 [2411 kB]
46.81 Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 nodejs amd64 12.22.9~dfsg-1ubuntu3.6 [122 kB]
46.99 debconf: delaying package configuration, since apt-utils is not installed
47.02 Fetched 13.8 MB in 8s (1667 kB/s)
47.19 Selecting previously unselected package libuv1:amd64.
(Reading database ... 8279 files and directories currently installed.)
47.20 Preparing to unpack .../0-libuv1_1.43.0-1ubuntu0.1_amd64.deb ...
47.30 Unpacking libuv1:amd64 (1.43.0-1ubuntu0.1) ...
47.71 Selecting previously unselected package javascript-common.
47.71 Preparing to unpack .../1-javascript-common_11+nmu1_all.deb ...
47.81 Unpacking javascript-common (11+nmu1) ...
48.06 Selecting previously unselected package libjs-highlight.js.
48.06 Preparing to unpack .../2-libjs-highlight.js_9.18.5+dfsg1-1_all.deb ...
48.11 Unpacking libjs-highlight.js (9.18.5+dfsg1-1) ...
48.46 Selecting previously unselected package libc-ares2:amd64.
48.46 Preparing to unpack .../3-libc-ares2_1.18.1-1ubuntu0.22.04.3_amd64.deb ...
48.51 Unpacking libc-ares2:amd64 (1.18.1-1ubuntu0.22.04.3) ...
49.51 Selecting previously unselected package libnode72:amd64.
49.51 Preparing to unpack .../4-libnode72_12.22.9~dfsg-1ubuntu3.6_amd64.deb ...
49.56 Unpacking libnode72:amd64 (12.22.9~dfsg-1ubuntu3.6) ...
49.99 Selecting previously unselected package nodejs-doc.
49.99 Preparing to unpack .../5-nodejs-doc_12.22.9~dfsg-1ubuntu3.6_all.deb ...
50.04 Unpacking nodejs-doc (12.22.9~dfsg-1ubuntu3.6) ...
50.45 Selecting previously unselected package nodejs.
50.45 Preparing to unpack .../6-nodejs_12.22.9~dfsg-1ubuntu3.6_amd64.deb ...
50.50 Unpacking nodejs (12.22.9~dfsg-1ubuntu3.6) ...
50.75 Setting up javascript-common (11+nmu1) ...
51.07 Setting up libc-ares2:amd64 (1.18.1-1ubuntu0.22.04.3) ...
51.20 Setting up libuv1:amd64 (1.43.0-1ubuntu0.1) ...
51.34 Setting up libjs-highlight.js (9.18.5+dfsg1-1) ...
51.48 Setting up libnode72:amd64 (12.22.9~dfsg-1ubuntu3.6) ...
51.61 Setting up nodejs-doc (12.22.9~dfsg-1ubuntu3.6) ...
51.76 Setting up nodejs (12.22.9~dfsg-1ubuntu3.6) ...
51.94 update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
51.94 update-alternatives: warning: skip creation of /usr/share/man/man1/js.1.gz because associated file /usr/share/man/man1/nodejs.1.gz (of link group js) doesn't exist
52.03 Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
52.29 /bin/sh: 1: npm: not found
------
failed to solve: process "/bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y nodejs && npm install -g npm" did not complete successfully: exit code: 127
root@maketopsite:/home/maketopsite/data/work/docker#It has been working few days ago. No problem in Devuan. Any idea pls ?