アプリのインストール後に問題が発生しました。

アプリのインストール後に問題が発生しました。

ここに画像の説明を入力してください。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/statustorguard説明を削除して編集し、次に実行しますsudo dpkg --configure -a

編集2(解決済み)

sudo mv /var/lib/dpkg/info/torguard* /tmp
sudo dpkg --remove --force-remove-reinstreq torguard

おすすめ記事