[TriLUG] Ubuntu 18.04 upgrade problem

Pete Soper via TriLUG trilug at trilug.org
Mon Apr 15 17:19:03 EDT 2019


How do I undo whatever has tricked my system into thinking it has the
necessary local files to do the upgrade below? Seems if I can somehow
force the upgrade to go back out for the pieces and parts I'll have a
chance of working around this. This was a side effect of a periodic
"apt-get update;apt-get upgrade" or the equivalent by software updater.

Thanks,

Pete

~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libllvm6.0:i386
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
  libc6-armhf-cross libc6-dev-armhf-cross
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
24 not fully installed or removed.
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 ... 427424 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)



More information about the TriLUG mailing list