upgrading nodejs fails

Bug #2009582 reported by Lars Liedtke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nodejs (Ubuntu)
New
Undecided
Unassigned

Bug Description

lal@notebook-lal2:/home/lal $ sudo apt reinstall nodejs
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Die folgenden Pakete werden aktualisiert (Upgrade):
  nodejs
1 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Es müssen noch 0 B von 29,0 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 932 kB Plattenplatz freigegeben.
(Lese Datenbank ... 312509 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../nodejs_18.8.0-2_amd64.deb ...
Entpacken von nodejs (18.8.0-2) über (12.22.9~dfsg-1ubuntu3) ...
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/nodejs_18.8.0-2_amd64.deb (--unpack):
 Versuch, »/usr/share/systemtap/tapset/node.stp« zu überschreiben, welches auch in Paket libnode72:amd64 12.22.9~dfsg-1ubuntu3 ist
Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/nodejs_18.8.0-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 5.15.0-67.74-generic 5.15.85
Uname: Linux 5.15.0-67-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Tue Mar 7 11:17:17 2023
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/kubuntu.seed maybe-ubiquity quiet splash ---
InstallationDate: Installed on 2022-10-25 (132 days ago)
InstallationMedia: Kubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
SourcePackage: ubiquity
Symptom: installation
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Lars Liedtke (lal-solute-gmbh) wrote :
Paul White (paulw2u)
affects: ubiquity (Ubuntu) → nodejs (Ubuntu)
Revision history for this message
kapouer (kapouer) wrote : Re: [Bug 2009582] Re: upgrading nodejs fails

In current testing debian/bookworm, we have

Replaces: libnode72 (<< 13)
Breaks: libnode72 (<< 13)

amongst others.

Jérémy

Le jeu. 23 mars 2023 à 10:45, Paul White <email address hidden> a
écrit :

> ** Package changed: ubiquity (Ubuntu) => nodejs (Ubuntu)
>
> --
> You received this bug notification because you are subscribed to Ubuntu.
> https://bugs.launchpad.net/bugs/2009582
>
> Title:
> upgrading nodejs fails
>
> Status in nodejs package in Ubuntu:
> New
>
> Bug description:
> lal@notebook-lal2:/home/lal $ sudo apt reinstall nodejs
>
> Paketlisten werden gelesen… Fertig
> Abhängigkeitsbaum wird aufgebaut… Fertig
> Statusinformationen werden eingelesen… Fertig
> Die folgenden Pakete werden aktualisiert (Upgrade):
> nodejs
> 1 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht
> aktualisiert.
> 1 nicht vollständig installiert oder entfernt.
> Es müssen noch 0 B von 29,0 MB an Archiven heruntergeladen werden.
> Nach dieser Operation werden 932 kB Plattenplatz freigegeben.
> (Lese Datenbank ... 312509 Dateien und Verzeichnisse sind derzeit
> installiert.)
> Vorbereitung zum Entpacken von .../nodejs_18.8.0-2_amd64.deb ...
> Entpacken von nodejs (18.8.0-2) über (12.22.9~dfsg-1ubuntu3) ...
> dpkg: Fehler beim Bearbeiten des Archivs
> /var/cache/apt/archives/nodejs_18.8.0-2_amd64.deb (--unpack):
> Versuch, »/usr/share/systemtap/tapset/node.stp« zu überschreiben,
> welches auch in Paket libnode72:amd64 12.22.9~dfsg-1ubuntu3 ist
> Fehler traten auf beim Bearbeiten von:
> /var/cache/apt/archives/nodejs_18.8.0-2_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> ProblemType: Bug
> DistroRelease: Ubuntu 22.04
> Package: ubiquity (not installed)
> ProcVersionSignature: Ubuntu 5.15.0-67.74-generic 5.15.85
> Uname: Linux 5.15.0-67-generic x86_64
> ApportVersion: 2.20.11-0ubuntu82.3
> Architecture: amd64
> CasperMD5CheckResult: pass
> CurrentDesktop: KDE
> Date: Tue Mar 7 11:17:17 2023
> InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz
> file=/cdrom/preseed/kubuntu.seed maybe-ubiquity quiet splash ---
> InstallationDate: Installed on 2022-10-25 (132 days ago)
> InstallationMedia: Kubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64
> (20220809.1)
> SourcePackage: ubiquity
> Symptom: installation
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nodejs/+bug/2009582/+subscriptions
>
>
>

Revision history for this message
Arpad Kovacs (minhmeoke) wrote :

Could you please try running the following commands? Thank you!

Können sie die folgenden Befehle auszuführen bitte? Danke schön!

sudo dpkg --remove --force-remove-reinstreq libnode-dev
sudo dpkg --remove --force-remove-reinstreq libnode72:amd64

References:

https://github.com/nodesource/distributions/issues/1398#issue-1243918445

https://github.com/nodesource/distributions/issues/1157#issuecomment-1131212089

Revision history for this message
Arpad Kovacs (minhmeoke) wrote :

And then run:

Und dann auszuführen:

sudo apt-get install -y nodejs

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.