Reading package lists... The Done
Building the dependency tree
Reading the state information... The Done
You took want to run 'apt - fix - broken install' to correct these.
The following packages have unmet dependencies:
Libasan4 armhf - cross: Depends: libc6 -- armhf cross (& gt; 2.23 0 ubuntu3cross1=2.27), but is to be installed
Libatomic1 armhf - cross: Depends: libc6 -- armhf cross (& gt; 2.23 0 ubuntu3cross1=2.27), but is to be installed
Libcilkrts5 armhf - cross: Depends: libc6 -- armhf cross (& gt; 2.23 0 ubuntu3cross1=2.27), but is to be installed
Libgcc1 armhf - cross: Depends: libc6 -- armhf cross (& gt; 2.23 0 ubuntu3cross1=2.27), but is to be installed
Libgomp1 armhf - cross: Depends: libc6 -- armhf cross (& gt; 2.23 0 ubuntu3cross1=2.27), but is to be installed
Libstdc++ 6 - armhf - cross: Depends: libc6 -- armhf cross (& gt; 2.23 0 ubuntu3cross1=2.27), but is to be installed
Libubsan0 armhf - cross: Depends: libc6 -- armhf cross (& gt; 2.23 0 ubuntu3cross1=2.27), but is to be installed
E: Unmet dependencies. Try 'apt - fix - broken install' with no packages (or specify a solution).
CodePudding user response:
Weihanwu @ weihanwu OptiPlex - 990: $sudo/apt - get the install -fReading package lists... The Done
Building the dependency tree
Reading the state information... The Done
Correcting dependencies... The Done
The following additional packages will be installed:
Libc6 -- armhf cross libc6 - dev - armhf - cross
The following packages will be upgraded:
Libc6 -- armhf cross libc6 - dev - armhf - cross
2 upgraded, 0 newly installed, 0 to remove and 259 not upgraded.
10 the not fully installed or removed.
The Need to get 0 B/2904 kB of archives.
After this operation, 0 B of additional disk space will be 2.
Do you want to continue? [Y/n] Y
(Reading the database... 256876 files and directories currently installed.)
Preparing to unpack.../libc6 - dev - armhf - cross_2. 27-3 ubuntu1cross1. 1 _all. Deb...
Unpacking libc6 - dev - armhf - cross (2.27 3 ubuntu1cross1. 1) over (2.23-0 ubuntu3cross1)...
DPKG: error processing archive/var/cache/apt/archives/libc6 -- dev armhf - cross_2. 27-3 ubuntu1cross1. 1 _all. Deb (- unpack) :
Unable to open '/usr/arm - Linux - gnueabihf/lib/Mcrt1 o.d PKG - new' : No to the file or directory
No apport report written because the error message are an issue on the local system
Preparing to unpack.../libc6 -- armhf cross_2. 27-3 ubuntu1cross1. 1 _all. Deb...
Unpacking libc6 -- armhf cross (2.27 3 ubuntu1cross1. 1) over (2.23-0 ubuntu3cross1)...
DPKG: error processing archive/var/cache/apt/archives/libc6 - armhf - cross_2. 27-3 ubuntu1cross1. 1 _all. Deb (- unpack) :
Unable to open '/usr/arm - Linux - gnueabihf/lib/ld - 2.27. So the DPKG -- new' : No to the file or directory
No apport report written because the error message are an issue on the local system
Errors were encountered while processing:
The/var/cache/apt/archives/libc6 -- dev armhf - cross_2. 27-3 ubuntu1cross1. 1 _all. Deb
The/var/cache/apt/archives/libc6 - armhf - cross_2. 27-3 ubuntu1cross1. 1 _all. Deb
E: Sub - process/usr/bin/DPKG returned an error code (1)
CodePudding user response:
Refer to the links below can be solved, because I changed the default ubuntu source, the final solution is I change the default source for ali cloud, finally through the following steps can be ok,1, the implementation of the -f dist - upgrade
2, the implementation of apt - fix - broken install
3, then perform an apt - get the update
4, the final execution apt - get the upgrade