
sudo apt-get update
Node.jsを実行してインストールする必要がcurl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
あります。ただし、次のエラーが発生します。
E: The repository 'https://dl.winehq.org/wine-builds/mint bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
この問題を解決するためにワインは必要ないので、ワインを完全に取り除くことにしました。私は次のステップに従いました。このスレッド。
最初の部分の場合:
cd $HOME
rm -r .wine
rm .config/menus/applications-merged/wine*
rm -r .local/share/applications/wine
rm .local/share/desktop-directories/wine*
rm .local/share/icons/????_*.xpm
rm: cannot remove '<path>': No such file or directory
すべてのコマンドに対してこのエラーが発生しますrm
。
2番目の部分の場合:
入力する: sudo apt-get remove --purge wine
出力: Virtual packages like 'wine' can't be removed
3番目の部分の場合:
sudo apt-get update
-> E: The repository 'https://dl.winehq.org/wine-builds/mint bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
sudo apt-get autoclean
-> Reading package lists... Done
Building dependency tree
Reading state information... Done
sudo apt-get clean
sudo apt-get autoremove
-> Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 637 not to upgrade.
上記のように実行すると、sudo apt-get update
前と同じエラーが出力されます。
少し調査の最後に、次のコマンドを順番に実行しました。
入力する: dpkg -l "*wine*" | grep ii
出力:
ii libwine:amd64 3.0-1ubuntu1 amd64 Windows API implementation - library
ii wine64 3.0-1ubuntu1 amd64 Windows API implementation - 64-bit binary loader
入力する: sudo apt remove libwine:amd64
出力:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libwine wine64
0 to upgrade, 0 to newly install, 2 to remove and 637 not to upgrade.
After this operation, 193 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 266834 files and directories currently installed.)
Removing wine64 (3.0-1ubuntu1) ...
Removing libwine:amd64 (3.0-1ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
入力する: dpkg -l "*wine*" | grep ii
出力: dpkg-query: no packages found matching *wine*
nodejsをインストールでき、ファイルの投稿にエラーが発生しないようにワインを削除したいと思います。私はLinux Mint 19.2 Tinaを使用しています。
答え1
Wine を削除しましたが、apt update
エラーを修正するには Wine リポジトリを削除する必要があります。定義を探す
grep -ri wine /etc/apt
#
次に、ファイルを編集して関連行を削除(または紹介行を使用してコメントアウト)しますdeb
。