Activity log for bug #1797557

Date Who What changed Old value New value Message
2018-10-12 12:39:39 TJ bug added bug
2018-10-12 12:39:39 TJ attachment added tar.gz containing dpkg, strace, inotifywait logs https://bugs.launchpad.net/bugs/1797557/+attachment/5200382/+files/debug-logs.tar.gz
2018-10-12 12:40:39 TJ description As I reported in comments on the end of Bug #1769657 "update toolchain packages for bionic" the updates have broken the ability upgrade the package(s). Specifically, the 'dpkg --unpack' stage breaks because, from what I can tell, some of the .dpkg-new files are being deleted before they are due to be renamed: $ sudo dpkg --unpack /var/cache/apt/archives/libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb |& tee /tmp/dpkg-unpack.log (Reading database ... 406492 files and directories currently installed.) Preparing to unpack .../libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb ... Unpacking libc6-armhf-cross (2.27-3ubuntu1cross1.1) over (2.27-3ubuntu1cross1) ... dpkg: error processing archive /var/cache/apt/archives/libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb (--unpack): unable to open '/usr/arm-linux-gnueabihf/lib/ld-2.27.so.dpkg-new': No such file or directory Errors were encountered while processing: /var/cache/apt/archives/libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb $ sudo dpkg --unpack /var/cache/apt/archives/libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb |& tee /tmp/dpkg-unpack.log (Reading database ... 406492 files and directories currently installed.) Preparing to unpack .../libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb ... Unpacking libc6-dev-armhf-cross (2.27-3ubuntu1cross1.1) over (2.27-3ubuntu1cross1) ... dpkg: error processing archive /var/cache/apt/archives/libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb (--unpack): unable to open '/usr/arm-linux-gnueabihf/lib/Mcrt1.o.dpkg-new': No such file or directory Errors were encountered while processing: /var/cache/apt/archives/libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb $ apt-cache policy libc6-armhf-cross libc6-armhf-cross: Installed: 2.27-3ubuntu1cross1 Candidate: 2.27-3ubuntu1cross1.1 Version table: 2.27-3ubuntu1cross1.1 500 500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages *** 2.27-3ubuntu1cross1 500 500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages 500 http://gb.archive.ubuntu.com/ubuntu bionic/main i386 Packages 100 /var/lib/dpkg/status I've analysed both failures using a combination of 'dpkg --debug 77777', strace, and inotifywait, but I've not familiar enough with the dpkg logic to determine what is going wrong. I'm attaching debug, strace and inotifywait logs for 'libc6-armhf-cross' where 'ld-2.27.so.dpkg-new' appears to be the problem. As I reported in comments on the end of Bug #1769657 "update toolchain packages for bionic" on 5th October 2018 the updates have broken the ability to upgrade package(s). Specifically, the 'dpkg --unpack' stage breaks because, from what I can tell, some of the .dpkg-new files are being deleted before they are due to be renamed: $ sudo dpkg --unpack /var/cache/apt/archives/libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb |& tee /tmp/dpkg-unpack.log (Reading database ... 406492 files and directories currently installed.) Preparing to unpack .../libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb ... Unpacking libc6-armhf-cross (2.27-3ubuntu1cross1.1) over (2.27-3ubuntu1cross1) ... dpkg: error processing archive /var/cache/apt/archives/libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb (--unpack):  unable to open '/usr/arm-linux-gnueabihf/lib/ld-2.27.so.dpkg-new': No such file or directory Errors were encountered while processing:  /var/cache/apt/archives/libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb $ sudo dpkg --unpack /var/cache/apt/archives/libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb |& tee /tmp/dpkg-unpack.log (Reading database ... 406492 files and directories currently installed.) Preparing to unpack .../libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb ... Unpacking libc6-dev-armhf-cross (2.27-3ubuntu1cross1.1) over (2.27-3ubuntu1cross1) ... dpkg: error processing archive /var/cache/apt/archives/libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb (--unpack):  unable to open '/usr/arm-linux-gnueabihf/lib/Mcrt1.o.dpkg-new': No such file or directory Errors were encountered while processing:  /var/cache/apt/archives/libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb $ apt-cache policy libc6-armhf-cross libc6-armhf-cross:   Installed: 2.27-3ubuntu1cross1   Candidate: 2.27-3ubuntu1cross1.1   Version table:      2.27-3ubuntu1cross1.1 500         500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages         500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages  *** 2.27-3ubuntu1cross1 500         500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages         500 http://gb.archive.ubuntu.com/ubuntu bionic/main i386 Packages         100 /var/lib/dpkg/status I've analysed both failures using a combination of 'dpkg --debug 77777', strace, and inotifywait, but I've not familiar enough with the dpkg logic to determine what is going wrong. I'm attaching debug, strace and inotifywait logs for 'libc6-armhf-cross' where 'ld-2.27.so.dpkg-new' appears to be the problem.
2018-10-12 17:50:54 Steve Langasek tags regression-update
2018-10-12 17:52:11 Steve Langasek cross-toolchain-base (Ubuntu): importance Undecided High
2018-10-12 17:52:13 Steve Langasek cross-toolchain-base (Ubuntu): status New Triaged
2018-10-12 17:52:18 Steve Langasek cross-toolchain-base (Ubuntu): assignee Matthias Klose (doko)
2018-10-13 22:05:56 Nuno Sucena Almeida bug added subscriber Nuno Sucena Almeida
2018-10-17 13:33:31 Matthias Klose summary Bionic updates break upgrade/install/unpack Bionic updates break upgrade (apt remove libc6-armhf-cross first)
2018-10-19 09:23:28 Matthias Klose description As I reported in comments on the end of Bug #1769657 "update toolchain packages for bionic" on 5th October 2018 the updates have broken the ability to upgrade package(s). Specifically, the 'dpkg --unpack' stage breaks because, from what I can tell, some of the .dpkg-new files are being deleted before they are due to be renamed: $ sudo dpkg --unpack /var/cache/apt/archives/libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb |& tee /tmp/dpkg-unpack.log (Reading database ... 406492 files and directories currently installed.) Preparing to unpack .../libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb ... Unpacking libc6-armhf-cross (2.27-3ubuntu1cross1.1) over (2.27-3ubuntu1cross1) ... dpkg: error processing archive /var/cache/apt/archives/libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb (--unpack):  unable to open '/usr/arm-linux-gnueabihf/lib/ld-2.27.so.dpkg-new': No such file or directory Errors were encountered while processing:  /var/cache/apt/archives/libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb $ sudo dpkg --unpack /var/cache/apt/archives/libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb |& tee /tmp/dpkg-unpack.log (Reading database ... 406492 files and directories currently installed.) Preparing to unpack .../libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb ... Unpacking libc6-dev-armhf-cross (2.27-3ubuntu1cross1.1) over (2.27-3ubuntu1cross1) ... dpkg: error processing archive /var/cache/apt/archives/libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb (--unpack):  unable to open '/usr/arm-linux-gnueabihf/lib/Mcrt1.o.dpkg-new': No such file or directory Errors were encountered while processing:  /var/cache/apt/archives/libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb $ apt-cache policy libc6-armhf-cross libc6-armhf-cross:   Installed: 2.27-3ubuntu1cross1   Candidate: 2.27-3ubuntu1cross1.1   Version table:      2.27-3ubuntu1cross1.1 500         500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages         500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages  *** 2.27-3ubuntu1cross1 500         500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages         500 http://gb.archive.ubuntu.com/ubuntu bionic/main i386 Packages         100 /var/lib/dpkg/status I've analysed both failures using a combination of 'dpkg --debug 77777', strace, and inotifywait, but I've not familiar enough with the dpkg logic to determine what is going wrong. I'm attaching debug, strace and inotifywait logs for 'libc6-armhf-cross' where 'ld-2.27.so.dpkg-new' appears to be the problem. WORK AROUND: first, uninstall libc6-armhf-cross and libc6-armel-cross, then re-install the cross compiler package. As I reported in comments on the end of Bug #1769657 "update toolchain packages for bionic" on 5th October 2018 the updates have broken the ability to upgrade package(s). Specifically, the 'dpkg --unpack' stage breaks because, from what I can tell, some of the .dpkg-new files are being deleted before they are due to be renamed: $ sudo dpkg --unpack /var/cache/apt/archives/libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb |& tee /tmp/dpkg-unpack.log (Reading database ... 406492 files and directories currently installed.) Preparing to unpack .../libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb ... Unpacking libc6-armhf-cross (2.27-3ubuntu1cross1.1) over (2.27-3ubuntu1cross1) ... dpkg: error processing archive /var/cache/apt/archives/libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb (--unpack):  unable to open '/usr/arm-linux-gnueabihf/lib/ld-2.27.so.dpkg-new': No such file or directory Errors were encountered while processing:  /var/cache/apt/archives/libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb $ sudo dpkg --unpack /var/cache/apt/archives/libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb |& tee /tmp/dpkg-unpack.log (Reading database ... 406492 files and directories currently installed.) Preparing to unpack .../libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb ... Unpacking libc6-dev-armhf-cross (2.27-3ubuntu1cross1.1) over (2.27-3ubuntu1cross1) ... dpkg: error processing archive /var/cache/apt/archives/libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb (--unpack):  unable to open '/usr/arm-linux-gnueabihf/lib/Mcrt1.o.dpkg-new': No such file or directory Errors were encountered while processing:  /var/cache/apt/archives/libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb $ apt-cache policy libc6-armhf-cross libc6-armhf-cross:   Installed: 2.27-3ubuntu1cross1   Candidate: 2.27-3ubuntu1cross1.1   Version table:      2.27-3ubuntu1cross1.1 500         500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages         500 http://gb.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages  *** 2.27-3ubuntu1cross1 500         500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages         500 http://gb.archive.ubuntu.com/ubuntu bionic/main i386 Packages         100 /var/lib/dpkg/status I've analysed both failures using a combination of 'dpkg --debug 77777', strace, and inotifywait, but I've not familiar enough with the dpkg logic to determine what is going wrong. I'm attaching debug, strace and inotifywait logs for 'libc6-armhf-cross' where 'ld-2.27.so.dpkg-new' appears to be the problem.
2018-10-24 07:38:18 Rik Mills bug added subscriber Rik Mills
2018-11-22 17:50:24 jonathan chetwynd bug added subscriber jonathan chetwynd
2019-04-11 16:50:35 Kyle bug added subscriber Kyle
2019-06-16 02:21:12 William Grant bug added subscriber William Grant