apt --fix-broken 설치 실패

apt --fix-broken 설치 실패

내 Raspberry Pi의 패키지를 업그레이드하고 싶었기 때문에 성공적으로 완료했습니다 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내가 a를 할 때, 또한 을 하는 것이 좋습니다 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).

이 문제를 해결하는 방법에 대한 제안이 있는 사람이 있습니까?

매우 감사합니다

답변1

나는 오늘도 같은 문제를 겪었고 이것이 나에게 도움이 되었습니다(나는 Pine64에서 Armbian을 실행하고 있습니다):

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

이어서

apt install ca-certificates-mono

거기서 해결책을 얻었어요여기 있어요:

관련 정보