libsodium23 설치 문제

libsodium23 설치 문제

이 문제를 해결하는 방법에 대한 아이디어가 있습니까? sudo apt-get -f install을 실행하려고 하면 이 오류가 발생합니다.

Preparing to unpack .../libsodium23_1.0.16-0ppa3~xenial1_amd64.deb ...
Unpacking libsodium23:amd64 (1.0.16-0ppa3~xenial1) ...
dpkg: error processing archive /var/cache/apt/archives/libsodium23_1.0.16-0ppa3~xenial1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libsodium.so.23.1.0', which is also in package libsodium18:amd64 1.0.16-0ppa1~xenial1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libsodium23_1.0.16-0ppa3~xenial1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

apt-cache 정책 libsodium* 사용:

libsodium18:
  Installed: 1.0.16-0ppa1~xenial1
  Candidate: 1.0.16-0ppa1~xenial1
  Version table:
 *** 1.0.16-0ppa1~xenial1 100
        100 /var/lib/dpkg/status
     1.0.8-5 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
libsodium23:
  Installed: (none)
  Candidate: 1.0.16-0ppa3~xenial1
  Version table:
     1.0.16-0ppa3~xenial1 500
        500 http://ppa.launchpad.net/phoerious/keepassxc/ubuntu xenial/main amd64 Packages
libsodium-dbg:
  Installed: (none)
  Candidate: 1.0.8-5
  Version table:
     1.0.8-5 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
libsodium-dev:
  Installed: (none)
  Candidate: 1.0.16-0ppa3~xenial1
  Version table:
     1.0.16-0ppa3~xenial1 500
        500 http://ppa.launchpad.net/phoerious/keepassxc/ubuntu xenial/main amd64 Packages
     1.0.8-5 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

답변1

다음 지침을 따라 알아 냈습니다.이 링크:

apt install --reinstall libsodium18=1.0.8-5

관련 정보