distributions icon indicating copy to clipboard operation
distributions copied to clipboard

Problem instaling nodejs E: Sub-process /usr/bin/dpkg returned an error code (1)

Open shameemwarsi707 opened this issue 3 years ago • 0 comments

$ sudo apt-get install -y nodejs 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 5 not upgraded. Need to get 0 B/25.7 MB of archives. After this operation, 125 MB of additional disk space will be used. (Reading database ... 202595 files and directories currently installed.) Preparing to unpack .../nodejs_14.21.1-deb-1nodesource1_amd64.deb ... Unpacking nodejs (14.21.1-deb-1nodesource1) ... dpkg: error processing archive /var/cache/apt/archives/nodejs_14.21.1-deb-1nodesource1_amd64.deb (--unpack): trying to overwrite '/usr/share/systemtap/tapset/node.stp', which is also in package libnode72:amd64 12.22.9~dfsg-1ubuntu3 Errors were encountered while processing: /var/cache/apt/archives/nodejs_14.21.1-deb-1nodesource1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

shameemwarsi707 avatar Nov 23 '22 16:11 shameemwarsi707