apt --fix-broken安装失败

Guduche

我想在树莓派上升级我的软件包,所以我成功完成了apt-get upgrade

在那之后,我显然想做一个,apt-get upgrade但是我遇到了一个错误。

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mono-devel : Depends: ca-certificates-mono (= 6.0.0.319-0xamarin1+raspbian9b1) but 5.12.0.226-0xamarin3+raspbian9b1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

就像它的要求一样,我做了一个apt --fix-broken install,但是由于这个原因,我遇到了很多错误。

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libmono-system-runtime-interopservices-runtimeinformation4.0-cil libnunit-cil-dev libnunit-console-runner2.6.3-cil libnunit-core-interfaces2.6.3-cil libnunit-core2.6.3-cil libnunit-framework2.6.3-cil libnunit-mocks2.6.3-cil
  libnunit-util2.6.3-cil libpng12-0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  ca-certificates-mono
The following packages will be upgraded:
  ca-certificates-mono
1 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.
171 not fully installed or removed.
Need to get 0 B/31.2 kB of archives.
After this operation, 6,144 B of additional disk space will be used.
Do you want to continue? [Y/n]
Reading changelogs... Done
Setting up mono-gac (6.0.0.319-0xamarin1+raspbian9b1) ...
* Installing 1 assembly from libnunit-console-runner2.6.3-cil into Mono

Unhandled Exception:
System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
E: installing Assembly /usr/lib/cli/nunit-console-runner-2.6.3/nunit-console-runner.dll failed
E: Installation of libnunit-console-runner2.6.3-cil with /usr/share/cli-common/runtimes.d/mono failed
* Installing 1 assembly from libnunit-core2.6.3-cil into Mono

Unhandled Exception:
System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
E: installing Assembly /usr/lib/cli/nunit.core-2.6.3/nunit.core.dll failed
E: Installation of libnunit-core2.6.3-cil with /usr/share/cli-common/runtimes.d/mono failed
* Installing 1 assembly from libnunit-core-interfaces2.6.3-cil into Mono

Unhandled Exception:
System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
E: installing Assembly /usr/lib/cli/nunit.core.interfaces-2.6.3/nunit.core.interfaces.dll failed
E: Installation of libnunit-core-interfaces2.6.3-cil with /usr/share/cli-common/runtimes.d/mono failed
* Installing 1 assembly from libnunit-framework2.6.3-cil into Mono

Unhandled Exception:
System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
E: installing Assembly /usr/lib/cli/nunit.framework-2.6.3/nunit.framework.dll failed
E: Installation of libnunit-framework2.6.3-cil with /usr/share/cli-common/runtimes.d/mono failed
* Installing 1 assembly from libnunit-mocks2.6.3-cil into Mono

Unhandled Exception:
System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
E: installing Assembly /usr/lib/cli/nunit.mocks-2.6.3/nunit.mocks.dll failed
E: Installation of libnunit-mocks2.6.3-cil with /usr/share/cli-common/runtimes.d/mono failed
* Installing 1 assembly from libnunit-util2.6.3-cil into Mono

Unhandled Exception:
System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
E: installing Assembly /usr/lib/cli/nunit.util-2.6.3/nunit.util.dll failed
E: Installation of libnunit-util2.6.3-cil with /usr/share/cli-common/runtimes.d/mono failed
* Installing 1 assembly from policy.2.6.nunit-console-runner into Mono

Unhandled Exception:
System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
E: installing Assembly /usr/share/cli-common/policies.d/libnunit-console-runner2.6.3-cil/policy.2.6.nunit-console-runner.dll failed
E: Installation of policy.2.6.nunit-console-runner with /usr/share/cli-common/runtimes.d/mono failed
* Installing 1 assembly from policy.2.6.nunit.core into Mono

Unhandled Exception:
System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
E: installing Assembly /usr/share/cli-common/policies.d/libnunit-core2.6.3-cil/policy.2.6.nunit.core.dll failed
E: Installation of policy.2.6.nunit.core with /usr/share/cli-common/runtimes.d/mono failed
* Installing 1 assembly from policy.2.6.nunit.core.interfaces into Mono

Unhandled Exception:
System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
E: installing Assembly /usr/share/cli-common/policies.d/libnunit-core-interfaces2.6.3-cil/policy.2.6.nunit.core.interfaces.dll failed
E: Installation of policy.2.6.nunit.core.interfaces with /usr/share/cli-common/runtimes.d/mono failed
* Installing 1 assembly from policy.2.6.nunit.framework into Mono

Unhandled Exception:
System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
E: installing Assembly /usr/share/cli-common/policies.d/libnunit-framework2.6.3-cil/policy.2.6.nunit.framework.dll failed
E: Installation of policy.2.6.nunit.framework with /usr/share/cli-common/runtimes.d/mono failed
* Installing 1 assembly from policy.2.6.nunit.mocks into Mono

Unhandled Exception:
System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
E: installing Assembly /usr/share/cli-common/policies.d/libnunit-mocks2.6.3-cil/policy.2.6.nunit.mocks.dll failed
E: Installation of policy.2.6.nunit.mocks with /usr/share/cli-common/runtimes.d/mono failed
* Installing 1 assembly from policy.2.6.nunit.util into Mono

Unhandled Exception:
System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: System.Native
  at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&)
  at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00028] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <15c986724bdc480293909469513cfdb3>:0
  at System.IO.File.Exists (System.String path) [0x00043] in <15c986724bdc480293909469513cfdb3>:0
  at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00028] in <037438e7c61a4834974bb2bb24951222>:0
  at Mono.Tools.Driver.Main (System.String[] args) [0x00351] in <037438e7c61a4834974bb2bb24951222>:0
E: installing Assembly /usr/share/cli-common/policies.d/libnunit-util2.6.3-cil/policy.2.6.nunit.util.dll failed
E: Installation of policy.2.6.nunit.util with /usr/share/cli-common/runtimes.d/mono failed
dpkg: error processing package mono-gac (--configure):
 subprocess installed post-installation script returned error exit status 29
dpkg: dependency problems prevent configuration of mono-runtime-common:
 mono-runtime-common depends on mono-gac (= 6.0.0.319-0xamarin1+raspbian9b1); however:
  Package mono-gac is not configured yet.

dpkg: error processing package mono-runtime-common (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mono-gac
 mono-runtime-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

它也建议报告做的apt --fix-broken install时候我做了apt autoremove

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mono-devel : Depends: ca-certificates-mono (= 6.0.0.319-0xamarin1+raspbian9b1) but 5.12.0.226-0xamarin3+raspbian9b1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

有人对如何解决这个问题有建议吗?

非常感谢你

德拉科

我今天遇到了同样的问题,这对我有用(我在Pine64上运行Armbian):

mv /etc/mono/config.dpkg-new /etc/mono/config

其次是

apt install ca-certificates-mono

我从这里得到了解决方案

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

apt --fix-broken 安装在解包时失败

来自分类Dev

apt --fix-broken安装错误子过程

来自分类Dev

无法安装(sudo apt --fix-broken install)

来自分类Dev

LTS 18.04上的KDE-无法升级或“ sudo apt --fix-broken安装”

来自分类Dev

apt --fix-broken 安装不起作用,安装 wine-stable 后包管理器坏了

来自分类Dev

是的 apt-get install --fix-broken

来自分类Dev

Ubuntu下apt fix-broken install的问题

来自分类Dev

错误:BrokenCount > 0 无法使用“sudo apt --fix-broken install”解决

来自分类Dev

运行 apt --fix-broken install 时处理存档时出错

来自分类Dev

Ubuntu-Apt-get安装失败

来自分类Dev

安装软件包失败失败apt-get

来自分类Dev

安装软件包失败失败apt-get

来自分类Dev

E:未满足的依赖项。尝试不带软件包的“apt --fix-broken install”(或指定解决方案)。Ubuntu 20.04 上缺少 libpng12-0

来自分类Dev

安装失败-apt-get无法正常工作

来自分类Dev

Apt-get在安装mongodb的16.04或18.04上失败

来自分类Dev

安装 Ubuntu 20.04 后 Apt-get 更新失败

来自分类Dev

安装 Ubuntu 20.04 后 Apt-get 更新失败

来自分类Dev

安装apt-get

来自分类Dev

安装apt-get

来自分类Dev

通过apt安装OpenVPN

来自分类Dev

APT暂挂安装

来自分类Dev

apt安装如何工作?

来自分类Dev

安装特定的 apt 包

来自分类Dev

apt install --fix-policy 实际上做了什么?

来自分类Dev

如何从失败的升级中恢复(“ apt-get -f安装”和“ dpkg --configure -a”失败)?

来自分类Dev

如何从失败的升级中恢复(“ apt-get -f安装”和“ dpkg --configure -a”失败)?

来自分类Dev

由于依赖项和配置问题,内核安装失败会导致apt和dpkg失败

来自分类Dev

apt_repository模块失败

来自分类Dev

apt-get更新失败

Related 相关文章

热门标签

归档