I am a newbie to Linux. I'm trying to install NPM and encounter the following problem. Please help explain what the problem is and how to solve it?
Copy result from terminal:
System info:Code: Select all
$ sudo apt install npm Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: gyp libjs-inherits libjs-is-typedarray libjs-psl libjs-typedarray-to-buffer libnode-dev libnode72 libssl-dev libuv1-dev node-abbrev node-agent-base node-ajv node-ansi node-ansi-regex node-ansi-styles node-ansistyles node-aproba node-archy node-are-we-there-yet node-asap node-asn1 node-assert-plus node-asynckit node-aws-sign2 node-aws4 node-balanced-match node-bcrypt-pbkdf node-brace-expansion node-builtins node-cacache node-caseless node-chalk node-chownr node-clone node-color-convert node-color-name node-colors node-columnify node-combined-stream node-concat-map node-console-control-strings node-copy-concurrently node-core-util-is node-dashdash node-debug node-defaults node-delayed-stream node-delegates node-depd node-ecc-jsbn node-encoding node-err-code node-escape-string-regexp node-extend node-extsprintf node-fast-deep-equal node-forever-agent node-form-data node-fs-write-stream-atomic node-fs.realpath node-function-bind node-gauge node-getpass node-glob node-graceful-fs node-gyp node-har-schema node-har-validator node-has-flag node-has-unicode node-hosted-git-info node-http-signature node-https-proxy-agent node-iconv-lite node-iferr node-imurmurhash node-indent-string node-inflight node-inherits node-ini node-ip node-ip-regex node-is-typedarray node-isarray node-isexe node-isstream node-jsbn node-json-parse-better-errors node-json-schema node-json-schema-traverse node-json-stable-stringify node-json-stringify-safe node-jsonify node-jsonparse node-jsonstream node-jsprim node-leven node-lockfile node-lru-cache node-mime node-mime-types node-minimatch node-mkdirp node-move-concurrently node-ms node-mute-stream node-nopt node-normalize-package-data node-npm-bundled node-npm-package-arg node-npmlog node-number-is-nan node-oauth-sign node-object-assign node-once node-opener node-osenv node-p-map node-path-is-absolute node-performance-now node-process-nextick-args node-promise-inflight node-promise-retry node-promzard node-psl node-puka node-punycode node-qs node-read node-read-package-json node-readable-stream node-resolve node-resolve-from node-retry node-rimraf node-run-queue node-safe-buffer node-semver node-set-blocking node-signal-exit node-slash node-spdx-correct node-spdx-exceptions node-spdx-expression-parse node-spdx-license-ids node-sshpk node-ssri node-string-decoder node-string-width node-strip-ansi node-supports-color node-tar node-text-table node-through node-tunnel-agent node-tweetnacl node-typedarray-to-buffer node-unique-filename node-uri-js node-util-deprecate node-uuid node-validate-npm-package-license node-validate-npm-package-name node-verror node-wcwidth.js node-which node-wide-align node-wrappy node-write-file-atomic node-yallist nodejs Suggested packages: libssl-doc Recommended packages: javascript-common node-request nodejs-doc The following NEW packages will be installed: gyp libjs-inherits libjs-is-typedarray libjs-psl libjs-typedarray-to-buffer libnode-dev libnode72 libssl-dev libuv1-dev node-abbrev node-agent-base node-ajv node-ansi node-ansi-regex node-ansi-styles node-ansistyles node-aproba node-archy node-are-we-there-yet node-asap node-asn1 node-assert-plus node-asynckit node-aws-sign2 node-aws4 node-balanced-match node-bcrypt-pbkdf node-brace-expansion node-builtins node-cacache node-caseless node-chalk node-chownr node-clone node-color-convert node-color-name node-colors node-columnify node-combined-stream node-concat-map node-console-control-strings node-copy-concurrently node-core-util-is node-dashdash node-debug node-defaults node-delayed-stream node-delegates node-depd node-ecc-jsbn node-encoding node-err-code node-escape-string-regexp node-extend node-extsprintf node-fast-deep-equal node-forever-agent node-form-data node-fs-write-stream-atomic node-fs.realpath node-function-bind node-gauge node-getpass node-glob node-graceful-fs node-gyp node-har-schema node-har-validator node-has-flag node-has-unicode node-hosted-git-info node-http-signature node-https-proxy-agent node-iconv-lite node-iferr node-imurmurhash node-indent-string node-inflight node-inherits node-ini node-ip node-ip-regex node-is-typedarray node-isarray node-isexe node-isstream node-jsbn node-json-parse-better-errors node-json-schema node-json-schema-traverse node-json-stable-stringify node-json-stringify-safe node-jsonify node-jsonparse node-jsonstream node-jsprim node-leven node-lockfile node-lru-cache node-mime node-mime-types node-minimatch node-mkdirp node-move-concurrently node-ms node-mute-stream node-nopt node-normalize-package-data node-npm-bundled node-npm-package-arg node-npmlog node-number-is-nan node-oauth-sign node-object-assign node-once node-opener node-osenv node-p-map node-path-is-absolute node-performance-now node-process-nextick-args node-promise-inflight node-promise-retry node-promzard node-psl node-puka node-punycode node-qs node-read node-read-package-json node-readable-stream node-resolve node-resolve-from node-retry node-rimraf node-run-queue node-safe-buffer node-semver node-set-blocking node-signal-exit node-slash node-spdx-correct node-spdx-exceptions node-spdx-expression-parse node-spdx-license-ids node-sshpk node-ssri node-string-decoder node-string-width node-strip-ansi node-supports-color node-tar node-text-table node-through node-tunnel-agent node-tweetnacl node-typedarray-to-buffer node-unique-filename node-uri-js node-util-deprecate node-uuid node-validate-npm-package-license node-validate-npm-package-name node-verror node-wcwidth.js node-which node-wide-align node-wrappy node-write-file-atomic node-yallist nodejs npm 0 upgraded, 172 newly installed, 0 to remove and 0 not upgraded. Need to get 38.4 kB/13.9 MB of archives. After this operation, 60.7 MB of additional disk space will be used. Do you want to continue? [Y/n] y Ign:1 http://deb.debian.org/debian bullseye/main amd64 node-minimatch all 3.0.4+~3.0.3-1 Ign:2 http://deb.debian.org/debian bullseye/main amd64 node-qs all 6.9.4+ds-1 Err:1 http://deb.debian.org/debian bullseye/main amd64 node-minimatch all 3.0.4+~3.0.3-1 404 Not Found [IP: 199.232.46.132 80] Err:2 http://deb.debian.org/debian bullseye/main amd64 node-qs all 6.9.4+ds-1 404 Not Found [IP: 199.232.46.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/n/node-minimatch/node-minimatch_3.0.4%2b%7e3.0.3-1_all.deb 404 Not Found [IP: 199.232.46.132 80] E: Failed to fetch http://deb.debian.org/debian/pool/main/n/node-qs/node-qs_6.9.4%2bds-1_all.deb 404 Not Found [IP: 199.232.46.132 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Code: Select all
System: Kernel: 5.10.0-21-amd64 [5.10.162-1] x86_64 bits: 64 compiler: gcc v: 10.2.1 parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-21-amd64 root=UUID=<filter> ro quiet splash Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower September 18 2022 base: Debian GNU/Linux 11 (bullseye) Machine: Type: Laptop System: LENOVO product: 81MU v: Lenovo IdeaPad S145-14IWL serial: <filter> Chassis: type: 10 v: Lenovo IdeaPad S145-14IWL serial: <filter> Mobo: LENOVO model: LNVNB161216 v: SDK0Q55754 WIN serial: <filter> UEFI: LENOVO v: ASCN51WW date: 05/14/2021 Battery: ID-1: BAT0 charge: 18.4 Wh (74.8%) condition: 24.6/30.0 Wh (81.9%) volts: 7.8 min: 7.5 model: SMP L16M2PB1 type: Li-poly serial: <filter> status: Discharging cycles: 458 CPU: Info: Dual Core model: Intel Celeron 4205U bits: 64 type: MCP arch: Kaby Lake note: check family: 6 model-id: 8E (142) stepping: B (11) microcode: F0 cache: L2: 2 MiB flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 7200 Speed: 1133 MHz min/max: 400/1800 MHz Core speeds (MHz): 1: 1133 2: 1119 Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled Type: l1tf status: Not affected Type: mds mitigation: Clear CPU buffers; SMT disabled Type: meltdown status: Not affected Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled Type: retbleed mitigation: IBRS Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling, PBRSB-eIBRS: Not affected Type: srbds mitigation: Microcode Type: tsx_async_abort status: Not affected Graphics: Device-1: Intel vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:3ea1 class-ID: 0300 Device-2: Syntek Integrated Camera type: USB driver: uvcvideo bus-ID: 1-7:2 chip-ID: 174f:1176 class-ID: 0e02 Display: x11 server: X.Org 1.20.11 compositor: xfwm4 v: 4.18.0 driver: loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") s-diag: 414mm (16.3") Monitor-1: eDP-1 res: 1366x768 hz: 60 dpi: 112 size: 309x173mm (12.2x6.8") diag: 354mm (13.9") OpenGL: renderer: Mesa Intel UHD Graphics 610 (WHL GT1) v: 4.6 Mesa 20.3.5 direct render: Yes Audio: Device-1: Intel Cannon Point-LP High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci bus-ID: 00:1f.3 chip-ID: 8086:9dc8 class-ID: 0403 Sound Server-1: ALSA v: k5.10.0-21-amd64 running: yes Sound Server-2: PulseAudio v: 14.2 running: yes Network: Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter vendor: Lenovo driver: ath10k_pci v: kernel modules: wl port: 3040 bus-ID: 01:00.0 chip-ID: 168c:0042 class-ID: 0280 IF: wlan0 state: up mac: <filter> Bluetooth: Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-10:3 chip-ID: 0cf3:e500 class-ID: e001 Report: hciconfig ID: hci0 rfk-id: 3 state: down bt-service: enabled,running rfk-block: hardware: no software: yes address: <filter> Info: acl-mtu: 1024:8 sco-mtu: 50:8 link-policy: rswitch hold sniff link-mode: slave accept Drives: Local Storage: total: 238.47 GiB used: 63.5 GiB (26.6%) SMART Message: Unable to run smartctl. Root privileges required. ID-1: /dev/sda maj-min: 8:0 vendor: Ramaxel model: RTOTJ256VGD2MYX size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 1 scheme: GPT Partition: ID-1: / raw-size: 132.58 GiB size: 129.44 GiB (97.63%) used: 13.44 GiB (10.4%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 ID-3: /home raw-size: 100.01 GiB size: 97.88 GiB (97.87%) used: 50.06 GiB (51.1%) fs: ext4 dev: /dev/sda4 maj-min: 8:4 Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) ID-1: swap-1 type: partition size: 5.62 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3 maj-min: 8:3 Sensors: System Temperatures: cpu: 42.0 C mobo: N/A Fan Speeds (RPM): N/A Repos: Packages: note: see --pkg apt: 2298 lib: 1193 flatpak: 0 Active apt repos in: /etc/apt/sources.list 1: deb [arch=amd64] https://download.docker.com/linux/debian bullseye stable edge Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free Active apt repos in: /etc/apt/sources.list.d/debian.list 1: deb http://deb.debian.org/debian bullseye main contrib non-free 2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list 1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main Active apt repos in: /etc/apt/sources.list.d/megasync.list 1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_11/ ./ Active apt repos in: /etc/apt/sources.list.d/mx.list 1: deb http://kartolo.sby.datautama.net.id/mx-packages/mx/repo/ bullseye main non-free Active apt repos in: /etc/apt/sources.list.d/onlyoffice.list 1: deb https://download.onlyoffice.com/repo/debian squeeze main Active apt repos in: /etc/apt/sources.list.d/slack.list 1: deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main Active apt repos in: /etc/apt/sources.list.d/vscode.list 1: deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main Info: Processes: 228 Uptime: 20m wakeups: 4 Memory: 3.72 GiB used: 2.32 GiB (62.5%) Init: systemd v: 247 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1 alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 Boot Mode: UEFI