Haima를 실행할 수 없습니다. 이전 버전을 올바르게 삭제하는 방법은 무엇입니까?

Haima를 실행할 수 없습니다. 이전 버전을 올바르게 삭제하는 방법은 무엇입니까?

비밀번호 및 키

seahorse클릭하면 비밀번호 및 키 별칭이 실행되지 않습니다.

터미널에서 시작할 때 다음 오류가 발생합니다.

seahorse: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory

해당 패키지를 찾아서 설치하려고 하면 다음과 같은 메시지가 나타납니다.

$ apt-cache policy 'libldap*'
libldap2:
  Installed: (none)
  Candidate: (none)
  Version table:
libldap-common:
  Installed: 2.5.13+dfsg-0ubuntu0.22.04.1
  Candidate: 2.5.13+dfsg-0ubuntu0.22.04.1
  Version table:
 *** 2.5.13+dfsg-0ubuntu0.22.04.1 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
        100 /var/lib/dpkg/status
     2.5.11+dfsg-1~exp1ubuntu3.1 500
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages
     2.5.11+dfsg-1~exp1ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
libldap-ocaml-dev:
  Installed: (none)
  Candidate: 2.4.2-1build3
  Version table:
     2.4.2-1build3 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
libldap-dev:
  Installed: 2.5.13+dfsg-0ubuntu0.22.04.1
  Candidate: 2.5.13+dfsg-0ubuntu0.22.04.1
  Version table:
 *** 2.5.13+dfsg-0ubuntu0.22.04.1 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.5.11+dfsg-1~exp1ubuntu3.1 500
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
     2.5.11+dfsg-1~exp1ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
libldap-ocaml-dev-vpsg7:
  Installed: (none)
  Candidate: (none)
  Version table:
libldap-2.3-0:
  Installed: (none)
  Candidate: (none)
  Version table:
libldap-2.4-2:
  Installed: (none)
  Candidate: (none)
  Version table:
libldap-2.5-0:
  Installed: 2.5.13+dfsg-0ubuntu0.22.04.1
  Candidate: 2.5.13+dfsg-0ubuntu0.22.04.1
  Version table:
 *** 2.5.13+dfsg-0ubuntu0.22.04.1 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.5.11+dfsg-1~exp1ubuntu3.1 500
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
     2.5.11+dfsg-1~exp1ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
libldap-java:
  Installed: (none)
  Candidate: 5.0.0+dfsg1-1
  Version table:
     5.0.0+dfsg1-1 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy/universe i386 Packages
libldap2-dev:
  Installed: 2.5.13+dfsg-0ubuntu0.22.04.1
  Candidate: 2.5.13+dfsg-0ubuntu0.22.04.1
  Version table:
 *** 2.5.13+dfsg-0ubuntu0.22.04.1 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
        100 /var/lib/dpkg/status
     2.5.11+dfsg-1~exp1ubuntu3.1 500
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages
     2.5.11+dfsg-1~exp1ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
$ sudo apt-get --simulate install libldap-2.4-2
[sudo] password for vlastimil:                
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libldap-2.4-2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libldap-common

E: Package 'libldap-2.4-2' has no installation candidate
$ sudo apt-get --simulate install libldap-2.4
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libldap-2.4-2' for regex 'libldap-2.4'
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ which seahorse 
/usr/local/bin/seahorse
$ whereis seahorse
seahorse: /usr/bin/seahorse /usr/local/bin/seahorse /usr/libexec/seahorse /usr/share/seahorse /usr/share/man/man1/seahorse.1.gz

그래서 자연스럽게 시도해 보고 /usr/bin/seahorse실행하게 되었습니다.

Haima가 실행 중입니다.

그래서 다운로드 디렉토리를 뒤져 다음을 찾았습니다.

/home/vlastimil/Downloads/seahorse/seahorse-3.31.91

타임스탬프는 2019년 2월 23일입니다. 에 의해 만들어졌지만 meson제거하는 방법은 무엇입니까?

답변1

아직 완전한 빌드 트리가 있다면 /home/vlastimil/Downloads/seahorse/seahorse-3.31.91/build아마도

cd /home/vlastimil/Downloads/seahorse/seahorse-3.31.91/build
sudo ninja uninstall

또는

cd /home/vlastimil/Downloads/seahorse/seahorse-3.31.91/build
sudo make uninstall

/usr/localSeahorse 버전을 제거해야 합니다 .

빌드 트리를 사용할 수 없는 경우 가급적이면 2019에 사용된 것과 동일한 매개변수를 사용하여 빌드 단계를 다시 실행해야 합니다.

cd /home/vlastimil/Downloads/seahorse/seahorse-3.31.91
meson build
cd build && sudo ninja uninstall

관련 정보