[Bug 2064372] Re: While upgrading to 24.04 I got:'E:Sub-process /usr/bin/dpkg returned an error code (1)'

Richard Henschel 2064372 at bugs.launchpad.net
Wed May 1 05:12:39 UTC 2024


I did manage to create a cpio archive of /var/log/dist-upgrade directory
with:

root at multivac:/var/log/dist-upgrade# find . -type f -print | cpio -ov > /tmp/dist-upgrade.cpio
./history.log
./apt.log
./apt-clone_system_state.tar.gz
./main.log
./apt-term.log
./eipp.log.xz
./lspci.txt
3017 blocks

Hope it helps.

Note that ls works if I don't give it any flags.


** Attachment added: "dist-upgrade.cpio"
   https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2064372/+attachment/5773482/+files/dist-upgrade.cpio

-- 
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/2064372

Title:
  While upgrading to 24.04 I got:'E:Sub-process /usr/bin/dpkg returned
  an error code (1)'

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

Bug description:
  Probably an issue with libc causes ls and tar to core dump when run,
  so don't know how I can get you files as requested.

  root at multivac:~# cd /var/log/dist-upgrade/
  root at multivac:/var/log/dist-upgrade# ls -latr
  total 1532
  Segmentation fault (core dumped)
  root at multivac:/var/log# tar -cvzpf /tmp/dist-upgrade.tar.gz ./dist-upgrade
  Segmentation fault (core dumped)

  Here is a list of terminal output.  It occurred very early in upgrade:

  
  Upgrading
  Fetched 0 B in 0s (0 B/s)                                                                                                                       
     Upgrading: libc6-dev:amd64 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH Ib > due to libc6-dev:amd64 Depends on libc6:amd64 < 2.38-1ubuntu6.2 -> 2.39-0ubuntu8.1 @ii umU Ib > (= 2.38-1ubuntu6.2)
     Upgrading: libc6-dbg:amd64 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH Ib > due to libc6-dbg:amd64 Depends on libc6:amd64 < 2.38-1ubuntu6.2 -> 2.39-0ubuntu8.1 @ii umU Ib > (= 2.38-1ubuntu6.2)
     Upgrading: libc-dev-bin:amd64 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH Ib > due to libc-dev-bin:amd64 Depends on libc6:amd64 < 2.38-1ubuntu6.2 -> 2.39-0ubuntu8.1 @ii umU Ib > (< 2.39)
     Upgrading: libc-bin:amd64 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH Ib > due to libc-bin:amd64 Depends on libc6:amd64 < 2.38-1ubuntu6.2 -> 2.39-0ubuntu8.1 @ii umU Ib > (< 2.39)
    MarkInstall libc6:amd64 < 2.38-1ubuntu6.2 -> 2.39-0ubuntu8.1 @ii umU Ib > FU=1
    Upgrading glibc-source:amd64 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH > due to libc6:amd64
    Upgrading libc6-dev-amd64:i386 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH NPb IPb > due to libc6:amd64
    Upgrading libc6-dev:i386 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH > due to libc6:amd64
    Upgrading libc6-amd64:i386 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH > due to libc6:amd64
    Upgrading libc6:i386 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH Ib > due to libc6:amd64
    Upgrading locales:amd64 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH > due to libc6:amd64
    Upgrading libc6-dev:amd64 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH Ib > due to libc6:amd64
    Upgrading libc6-dbg:amd64 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH Ib > due to libc6:amd64
    Upgrading libc-devtools:amd64 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH > due to libc6:amd64
    Upgrading libc-dev-bin:amd64 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH Ib > due to libc6:amd64
    Upgrading libc-bin:amd64 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH Ib > due to libc6:amd64
    Upgrading glibc-doc:amd64 < 2.38-1ubuntu6.2 | 2.39-0ubuntu8.1 @ii umH > due to libc6:amd64
      MarkInstall libc6-dev-amd64:i386 < 2.38-1ubuntu6.2 -> 2.39-0ubuntu8.1 @ii umU NPb IPb > FU=0
      ignore old unsatisfied important dependency on gcc-multilib:i386

  Upgrading
  Fetched 0 B in 0s (0 B/s)                                                                                                                       
  Preconfiguring packages ...
  Preconfiguring packages ...
  Preconfiguring packages ...
  (Reading database ... 774707 files and directories currently installed.)
  Preparing to unpack .../00-libc6-dev-amd64_2.39-0ubuntu8.1_i386.deb ...
  Unpacking libc6-dev-amd64:i386 (2.39-0ubuntu8.1) over (2.38-1ubuntu6.2) ...
  Preparing to unpack .../01-libc6-dev_2.39-0ubuntu8.1_i386.deb ...
  De-configuring libc6-dev:amd64 (2.38-1ubuntu6.2), to allow configuration of libc6-dev:i386 (2.39-0ubuntu8.1) ...

  Progress: [  5%]
  Unpacking libc6-dev:i386 (2.39-0ubuntu8.1) over (2.38-1ubuntu6.2) ...
  Preparing to unpack .../02-libc6-dev_2.39-0ubuntu8.1_amd64.deb ...
  Unpacking libc6-dev:amd64 (2.39-0ubuntu8.1) over (2.38-1ubuntu6.2) ...

  Progress: [ 11%]
  Preparing to unpack .../03-libc-devtools_2.39-0ubuntu8.1_amd64.deb ...
  Unpacking libc-devtools (2.39-0ubuntu8.1) over (2.38-1ubuntu6.2) ...
  Preparing to unpack .../04-libc-dev-bin_2.39-0ubuntu8.1_amd64.deb ...

  Progress: [ 16%]
  Unpacking libc-dev-bin (2.39-0ubuntu8.1) over (2.38-1ubuntu6.2) ...
  Preparing to unpack .../05-libc6-amd64_2.39-0ubuntu8.1_i386.deb ...
  Unpacking libc6-amd64:i386 (2.39-0ubuntu8.1) over (2.38-1ubuntu6.2) ...

  Progress: [ 22%]
  dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault), core dumped
  dpkg: error processing archive /tmp/apt-dpkg-install-4QyvEU/06-libc6-dbg_2.39-0ubuntu8.1_amd64.deb (--unpack):
   dpkg-deb --control subprocess returned error exit status 2
  dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault), core dumped
  dpkg: error processing archive /tmp/apt-dpkg-install-4QyvEU/07-locales_2.39-0ubuntu8.1_all.deb (--unpack):
   dpkg-deb --control subprocess returned error exit status 2
  dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault), core dumped
  dpkg: error processing archive /tmp/apt-dpkg-install-4QyvEU/08-libc6_2.39-0ubuntu8.1_amd64.deb (--unpack):
   dpkg-deb --control subprocess returned error exit status 2
  dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault), core dumped
  dpkg: error processing archive /tmp/apt-dpkg-install-4QyvEU/09-libc6_2.39-0ubuntu8.1_i386.deb (--unpack):
   dpkg-deb --control subprocess returned error exit status 2
  No apport report written because MaxReports is reached already
                                                                dpkg-deb: error: tar subprocess was killed by signal (Segmentation fault), core dumped
  dpkg: error processing archive /tmp/apt-dpkg-install-4QyvEU/10-libc-bin_2.39-0ubuntu8.1_amd64.deb (--unpack):
   dpkg-deb --control subprocess returned error exit status 2
  No apport report written because MaxReports is reached already
                                                                Errors were encountered while processing:
   /tmp/apt-dpkg-install-4QyvEU/06-libc6-dbg_2.39-0ubuntu8.1_amd64.deb
   /tmp/apt-dpkg-install-4QyvEU/07-locales_2.39-0ubuntu8.1_all.deb
   /tmp/apt-dpkg-install-4QyvEU/08-libc6_2.39-0ubuntu8.1_amd64.deb
   /tmp/apt-dpkg-install-4QyvEU/09-libc6_2.39-0ubuntu8.1_i386.deb
   /tmp/apt-dpkg-install-4QyvEU/10-libc-bin_2.39-0ubuntu8.1_amd64.deb

  (gdbus call:461763): GLib-ERROR **: 21:37:07.921: file ../../../glib/gthread-posix.c: line 1311 (g_system_thread_new): error 'Invalid argument' during 'pthread_create'
  Trace/breakpoint trap (core dumped)
  Segmentation fault (core dumped)
  libdvd-pkg: Package libdvdcss2-1.4.3-1 was removed, stop processing...

  (gdbus call:461792): GLib-ERROR **: 21:37:07.945: file ../../../glib/gthread-posix.c: line 1311 (g_system_thread_new): error 'Invalid argument' during 'pthread_create'
  Trace/breakpoint trap (core dumped)
  Segmentation fault (core dumped)
  libdvd-pkg: Package libdvdcss2-1.4.3-1 was removed, stop processing...

  (gdbus call:461821): GLib-ERROR **: 21:37:07.970: file ../../../glib/gthread-posix.c: line 1311 (g_system_thread_new): error 'Invalid argument' during 'pthread_create'
  Trace/breakpoint trap (core dumped)
  Segmentation fault (core dumped)
  libdvd-pkg: Package libdvdcss2-1.4.3-1 was removed, stop processing...
  Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an error code (1)

  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 (1) 

  dpkg: dependency problems prevent configuration of libc6-dev:amd64:
   libc6-dev:amd64 depends on libc6 (= 2.39-0ubuntu8.1); however:
    Version of libc6:amd64 on system is 2.38-1ubuntu6.2.

  dpkg: error processing package libc6-dev:amd64 (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of libc6-dev:i386:
   libc6-dev:i386 depends on libc6 (= 2.39-0ubuntu8.1); however:
    Version of libc6:i386 on system is 2.38-1ubuntu6.2.

  dpkg: error processing package libc6-dev:i386 (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of libc6-amd64:i386:
   libc6-amd64:i386 depends on libc6 (= 2.39-0ubuntu8.1); however:
    Version of libc6:i386 on system is 2.38-1ubuntu6.2.

  dpkg: error processing package libc6-amd64:i386 (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of libc-dev-bin:
   libc-dev-bin depends on libc6 (>> 2.39); however:
    Version of libc6:amd64 on system is 2.38-1ubuntu6.2.

  dpkg: error processing package libc-dev-bin (--configure):
   dependency problems - leaving unconfigured
  Setting up libc-devtools (2.39-0ubuntu8.1) ...
  dpkg: dependency problems prevent configuration of libc6-dev-amd64:i386:
   libc6-dev-amd64:i386 depends on libc6-amd64 (= 2.39-0ubuntu8.1); however:
    Package libc6-amd64:i386 is not configured yet.
   libc6-dev-amd64:i386 depends on libc6-dev (= 2.39-0ubuntu8.1); however:
    Package libc6-dev:i386 is not configured yet.

  dpkg: error processing package libc6-dev-amd64:i386 (--configure):
   dependency problems - leaving unconfigured
  Processing triggers for man-db (2.11.2-3) ...
  dpkg: error processing package man-db (--configure):
   installed man-db package post-installation script subprocess was killed by signal (Segmentation fault), core dumped
  Processing triggers for libc-bin (2.38-1ubuntu6.2) ...
  dpkg: error processing package libc-bin (--configure):
   installed libc-bin package post-installation script subprocess was killed by signal (Segmentation fault), core dumped
  Errors were encountered while processing:
   libc6-dev:amd64
   libc6-dev:i386
   libc6-amd64:i386
   libc-dev-bin
   libc6-dev-amd64:i386
   man-db
   libc-bin

  Upgrade incomplete

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

  To continue please press [ENTER]

  The machine is an HP Victus laptop with AMD Ryzen processor, Nvidia RTX2050 video, 32 Gig RAM and 1 TB SSD drive.  Was running Ubuntu 23.10 fully updated before running 'do-release-upgrade -d'.
  I already finished successfully upgrading two other antique machines (AMD Athlon II desktop and Asus R500A laptop with Intel I7-3630QM processor.  Both with 8 G RAM).

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




More information about the foundations-bugs mailing list