The following additional packages will be installed:
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/18.3 MB of archives.
After this operation, 93.9 MB of additional disk space will be
Do you want to continue? [Y/n] y
(Reading database ... 244037 files and directories currently
Preparing to unpack .../nodejs_12.19.0-deb-1nodesource1_amd64.deb
Unpacking nodejs (12.19.0-deb-1nodesource1) over
dpkg: error processing archive
trying to overwrite '/usr/share/doc/nodejs/api/perf_hooks.html',
which is also in package nodejs-doc 12.18.2~dfsg-1ubuntu2
dpkg-deb: error: paste subprocess was killed by signal (Broken
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
I already tried to remove the enties I added from /etc/apt
Re: apt install more than one version, how to remove repos?
On Sat, 7 Nov 2020 09:36:38 +0100, robert rottermann wrote:
>(12.19.0-deb-1nodesource1) over (12.18.2~dfsg-1ubuntu2) ... dpkg:
>error processing archive
> trying to overwrite '/usr/share/doc/nodejs/api/perf_hooks.html',
> which is also
>in package nodejs-doc 12.18.2~dfsg-1ubuntu2
10.19.0~dfsg-3ubuntu1 (and seemingly was 12.18.2~dfsg-1ubuntu2).
You try to install a package from a third party repository, since it
has got a higher version number. This package contains a file, that is
provided by another package from official Ubuntu repositories.
Either uninstall the package nodejs-doc, since it's just a recommended,
but not a hard dependency, just providing the documentation. After
that install the package nodejs from the third party repository and hope
that it doesn't break other dependencies. Check soname of libnode and
what needs libnode.
Or consider to remove the third party repository and upgrade to the
version provided by official repositories, so you don't need to remove
What ever you will do, ensure that the package libnode64 fits to the