[Bug 2120247] [NEW] stack smashing detected

Shehab Shalaby 2120247 at bugs.launchpad.net
Sun Aug 10 08:48:15 UTC 2025


Public bug reported:

Progress: [ 50%]
*** stack smashing detected ***: terminated
dpkg: error: error executing hook 'if { test "$DPKG_HOOK_ACTION" = add-architecture || test "$DPKG_HOOK_ACTION" = remove-architecture; } && test -x /usr/share/pkg-config-dpkghook; then /usr/share/pkg-config-dpkghook update; fi', exit code 6
*** stack smashing detected ***: terminated
Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an error code (2), E:Problem executing scripts DPkg::Post-Invoke 'test -x /usr/lib/needrestart/apt-pinvoke && /usr/lib/needrestart/apt-pinvoke || true', E:Sub-process returned an error code

Could not install the upgrades

The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).

Please report this bug in a browser at
http://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug
and attach the files in /var/log/dist-upgrade/ to the bug report.
E:Sub-process /usr/bin/dpkg returned an error code (2), E:Problem
executing scripts DPkg::Post-Invoke 'test -x
/usr/lib/needrestart/apt-pinvoke && /usr/lib/needrestart/apt-pinvoke
|| true', E:Sub-process returned an error code


Upgrade incomplete

The upgrade has partially completed but there were errors during the
upgrade process.


========================================================
I am trying to upgrade ubuntu 22.04 to ubuntu 24.04 with
command do-release-upgrade.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2120247

Title:
  stack smashing detected

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  Progress: [ 50%]
  *** stack smashing detected ***: terminated
  dpkg: error: error executing hook 'if { test "$DPKG_HOOK_ACTION" = add-architecture || test "$DPKG_HOOK_ACTION" = remove-architecture; } && test -x /usr/share/pkg-config-dpkghook; then /usr/share/pkg-config-dpkghook update; fi', exit code 6
  *** stack smashing detected ***: terminated
  Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an error code (2), E:Problem executing scripts DPkg::Post-Invoke 'test -x /usr/lib/needrestart/apt-pinvoke && /usr/lib/needrestart/apt-pinvoke || true', E:Sub-process returned an error code

  Could not install the upgrades

  The upgrade has aborted. Your system could be in an unusable state. A
  recovery will run now (dpkg --configure -a).

  Please report this bug in a browser at
  http://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug
  and attach the files in /var/log/dist-upgrade/ to the bug report.
  E:Sub-process /usr/bin/dpkg returned an error code (2), E:Problem
  executing scripts DPkg::Post-Invoke 'test -x
  /usr/lib/needrestart/apt-pinvoke && /usr/lib/needrestart/apt-pinvoke
  || true', E:Sub-process returned an error code

  
  Upgrade incomplete

  The upgrade has partially completed but there were errors during the
  upgrade process.

  
  ========================================================
  I am trying to upgrade ubuntu 22.04 to ubuntu 24.04 with
  command do-release-upgrade.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2120247/+subscriptions




More information about the foundations-bugs mailing list