package nodejs (not installed) failed to install/upgrade: trying to overwrite '/usr/include/node/common.gypi', which is also in package libnode-dev 12.22.9~dfsg-1ubuntu3.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nodejs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I used nvm use <udated node version>, the node version is updated by using the before mention command, but the problem is that when I close the terminal and reopen it and checked the node version the node version has move to the previous version. Please do give me a solution for this
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: nodejs (not installed)
ProcVersionSign
Uname: Linux 6.2.0-36-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
Date: Fri Nov 10 14:02:28 2023
DpkgTerminalLog:
Preparing to unpack .../nodejs_
Unpacking nodejs (20.9.0-
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/include/
DuplicateSignature:
package:
Unpacking nodejs (20.9.0-
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/include/
ErrorMessage: trying to overwrite '/usr/include/
InstallationDate: Installed on 2023-11-07 (4 days ago)
InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.1ubuntu2.2
apt 2.4.10
SourcePackage: nodejs
Title: package nodejs (not installed) failed to install/upgrade: trying to overwrite '/usr/include/
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Status changed to 'Confirmed' because the bug affects multiple users.