You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other info if applicable [e.g. Docker image XXX, AWS AMI ID]
Node Version:
Node: 22 series
To Reproduce
Steps to reproduce the behavior:
add node source repository
sudo apt install npm
see apt-get failing to resolve dependencies
Expected behavior
NPM successfully installed
Console log
eading package lists... Done
Building dependency tree... Done
Reading state information... Done
npm is already the newest version (9.2.0~ds1-2).
Calculating upgrade... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
eslint : Depends: nodejs:any (>= 12.22.0)
libnode109 : Conflicts: nodejs-legacy
node-acorn : Depends: nodejs:any or
nodejs (< 12.22.5~dfsg-4~) but 22.7.0-1nodesource1 is to be installed
node-ajv : Depends: nodejs:any
Recommends: node-re2 (>= 1.16~) but it is not going to be installed
node-archy : Depends: nodejs:any
node-babel7 : Depends: nodejs:any
node-browserslist : Depends: nodejs:any
node-chalk : Depends: nodejs:any (>= 14)
node-css-selector-tokenizer : Depends: nodejs:any
node-decamelize : Depends: nodejs:any
node-defined : Depends: nodejs:any
node-doctrine : Depends: nodejs:any
node-errno : Depends: nodejs:any
node-es6-error : Depends: nodejs:any
node-escodegen : Depends: nodejs:any
node-esprima : Depends: nodejs:any
node-globby : Depends: nodejs:any
node-gyp : Depends: nodejs:any
node-ignore : Depends: nodejs:any
node-is-glob : Depends: nodejs:any
node-is-number : Depends: nodejs:any
node-is-path-inside : Depends: nodejs:any
node-istanbul : Depends: nodejs:any (>= 12)
node-jest-worker : Depends: node-types-node
node-js-yaml : Depends: nodejs:any
node-json5 : Depends: nodejs:any
node-lodash : Depends: nodejs:any
node-mime : Depends: nodejs:any
node-mkdirp : Depends: nodejs:any
node-ms : Depends: nodejs:any
node-nopt : Depends: nodejs:any
node-normalize-path : Depends: nodejs:any
node-object-assign : Depends: nodejs:any
node-picocolors : Depends: nodejs:any
node-postcss : Depends: nodejs:any
node-progress : Depends: nodejs:any
node-regjsparser : Depends: nodejs:any
node-rimraf : Depends: nodejs:any
node-semver : Depends: nodejs:any
node-strip-ansi : Depends: nodejs:any
node-tape : Depends: nodejs:any
node-unicode-match-property-ecmascript : Depends: nodejs:any
node-v8-compile-cache : Depends: nodejs:any (>= 14)
node-which : Depends: nodejs:any
node-write : Depends: nodejs:any
nodejs : Conflicts: npm
npm : Depends: nodejs:any
Recommends: node-tap but it is not going to be installed
terser : Depends: nodejs:any
webpack : Depends: nodejs:any
E: Unable to correct problems, you have held broken packages.
The text was updated successfully, but these errors were encountered:
Do not install npm using apt. If you are installing nodejs from nodesource, then you always have npm available and should npm i -g npm@latest (perhaps with sudo) to get the latest npm client.
Describe your bug
NPM not installable on 24.04
Distribution Information:
Node Version:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
NPM successfully installed
Console log
The text was updated successfully, but these errors were encountered: