I suspect the recent Bionic changes have broken the install. At least I'm seeing the following:
$ sudo apt-get upgrade
Reading package lists... 0%
Reading package lists... 100%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree
Reading state information... 0%
Reading state information... 0%
Reading state information... Done
Calculating upgrade... 0%
Calculating upgrade... 50%
Calculating upgrade... Done
The following packages will be upgraded:
libc6-armhf-cross libc6-dev-armhf-cross
2 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/2,904 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 405785 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
No apport report written because the error message indicates an issue on the local system
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
No apport report written because the error message indicates an issue on the local system
Errors were encountered while processing:
/var/cache/apt/archives/libc6-dev-armhf-cross_2.27-3ubuntu1cross1.1_all.deb
/var/cache/apt/archives/libc6-armhf-cross_2.27-3ubuntu1cross1.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I suspect the recent Bionic changes have broken the install. At least I'm seeing the following:
$ sudo apt-get upgrade
Reading package lists... 0%
Reading package lists... 100%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree
Reading state information... 0%
Reading state information... 0%
Reading state information... Done
Calculating upgrade... 0%
Calculating upgrade... 50%
Calculating upgrade... Done
The following packages will be upgraded: armhf-cross dev-armhf- cross_2. 27-3ubuntu1cros s1.1_all. deb ... armhf-cross (2.27-3ubuntu1c ross1.1) over (2.27-3ubuntu1c ross1) ... apt/archives/ libc6-dev- armhf-cross_ 2.27-3ubuntu1cr oss1.1_ all.deb (--unpack): linux-gnueabihf /lib/Mcrt1. o.dpkg- new': No such file or directory armhf-cross_ 2.27-3ubuntu1cr oss1.1_ all.deb ... ross1.1) over (2.27-3ubuntu1c ross1) ... apt/archives/ libc6-armhf- cross_2. 27-3ubuntu1cros s1.1_all. deb (--unpack): linux-gnueabihf /lib/ld- 2.27.so. dpkg-new' : No such file or directory apt/archives/ libc6-dev- armhf-cross_ 2.27-3ubuntu1cr oss1.1_ all.deb apt/archives/ libc6-armhf- cross_2. 27-3ubuntu1cros s1.1_all. deb
libc6-armhf-cross libc6-dev-
2 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/2,904 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 405785 files and directories currently installed.)
Preparing to unpack .../libc6-
Unpacking libc6-dev-
dpkg: error processing archive /var/cache/
unable to open '/usr/arm-
No apport report written because the error message indicates an issue on the local system
Preparing to unpack .../libc6-
Unpacking libc6-armhf-cross (2.27-3ubuntu1c
dpkg: error processing archive /var/cache/
unable to open '/usr/arm-
No apport report written because the error message indicates an issue on the local system
Errors were encountered while processing:
/var/cache/
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)