Torguard VPN 앱, deb 파일 설치를 시도했지만 성공하지 못했습니다. 이제 무언가를 설치하거나 제거하려고 할 때마다 다음과 같은 오류가 발생합니다. (여기서 와인을 설치했지만 torguard 설치로 인해 여전히 문제가 발생합니다... 아이디어? 많은 것을 시도했습니다. 자동 삭제, 정리 , 퍼지 등...
sudo apt install wine
Reading Package Lists ... Done
Building the dependency tree
Reading status information ... Done
E: The torguard package must be reinstalled, but its archive cannot be found.
여전히 오류:
$ wget https://torguard.net/downloads/torguard-latest-amd64.deb
--2021-01-17 10: 19: 10-- https://torguard.net/downloads/torguard-latest-amd64.deb
Resolution of torguard.net (torguard.net)… 104.20.89.240, 104.20.88.240
Connection to torguard.net (torguard.net) | 104.20.89.240 |: 443… connected.
HTTP request transmitted, awaiting response ... 200 OK
Size: 20614258 (20M) [application / x-debian-package]
Save to: "torguard-latest-amd64.deb"
torguard-latest-amd64.deb 100% [========================================= ==============================>] 19.66M 12.1MB / s in 1.6s
2021-01-17 10:19:12 (12.1 MB / s) - “torguard-latest-amd64.deb” saved [20614258/20614258]
james @ ninja: ~ $ sudo dpkg -i torguard-latest-amd64.deb
[sudo] Password of james:
(Reading the database ... 179103 files and directories already installed.)
Preparing to unpack torguard-latest-amd64.deb ...
Unpacking torguard (4.3.0) on (4.3.0) ...
/var/lib/dpkg/info/torguard.postrm: 9: /var/lib/dpkg/info/torguard.postrm: update-desktop-database: not found
dpkg: warning: old torguard package post-removal script subprocess returned error exit status 127
dpkg: attempting to run the script for the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: 9: /var/lib/dpkg/tmp.ci/postrm: update-desktop-database: not found
dpkg: error processing torguard-latest-amd64.deb archive (--install):
new torguard package post-removal script subprocess returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: 9: /var/lib/dpkg/tmp.ci/postrm: update-desktop-database: not found
dpkg: error while cleaning up:
new torguard package post-removal script subprocess returned error exit status 127
Processing of deferred actions ("triggers") for mime-support (3.62) ...
Errors were encountered during execution:
torguard-latest-amd64.deb
답변1
패키지를 깔끔하게 설치해야 합니다 torguard
.
wget https://torguard.net/downloads/torguard-latest-amd64.deb
sudo dpkg -i torguard-latest-amd64.deb
또는:
sudo dpkg --force-all -i torguard-latest-amd64.deb
/var/lib/dpkg/info/torguard.postrm
내용을 다음으로 바꾸도록 편집되었습니다 .
#!/bin/bash
set -e
/bin/true
그런 다음 다음을 실행하십시오.
sudo dpkg --configure -a
sudo apt -f install
편집 1:
/var/lib/dpkg/status
torguard
설명을 제거하여 편집한 다음 를 실행하십시오 sudo dpkg --configure -a
.
편집 2(해결됨)
sudo mv /var/lib/dpkg/info/torguard* /tmp
sudo dpkg --remove --force-remove-reinstreq torguard