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
.
두 번째 부분의 경우:
입력하다: sudo apt-get remove --purge wine
산출: Virtual packages like 'wine' can't be removed
세 번째 부분의 경우:
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
.