
Windows 스토어를 사용하여 Ubuntu 18.04를 설치하고 사용하기 시작했지만 결함이 있습니다. 패키지를 설치할 수 없으며 터미널에서 계속 이러한 오류를 반환합니다.
패키지를 읽었지만 다음과 같은 오류가 발생합니다.
오류패키지[패키지 이름]을 찾을 수 없습니다.
오류 중 일부는 다음과 같습니다.
The following packages will be upgraded:
ebtables
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
62 not fully installed or removed.
Need to get 0 B/79.9 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 28484 files and directories currently installed.)
Preparing to unpack .../ebtables_2.0.10.4-3.5ubuntu2.18.04.1_amd64.deb ...
invoke-rc.d: could not determine current runlevel
* Error: insufficient privileges to access the ebtables rulesets.
invoke-rc.d: initscript ebtables, action "stop" failed.
dpkg: warning: old ebtables package pre-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
invoke-rc.d: could not determine current runlevel
* Error: insufficient privileges to access the ebtables rulesets.
invoke-rc.d: initscript ebtables, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/ebtables_2.0.10.4-3.5ubuntu2.18.04.1_amd64.deb (--unpack):
new ebtables package pre-removal script subprocess returned error exit status 1
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
invoke-rc.d: could not determine current runlevel
Errors were encountered while processing:
/var/cache/apt/archives/ebtables_2.0.10.4-3.5ubuntu2.18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@DESKTOP-SJPLLRG:~#
이 문제를 해결할 수 있는 솔루션이 있습니까?
답변1
나는 당신과 같은 문제가 있었고 이 github 스레드에서 임시 해결책을 찾았습니다. https://github.com/Microsoft/WSL/issues/3274
댓글 어딘가에 임시 수정 사항에 대한 링크가 있습니다.https://github.com/Microsoft/WSL/issues/1761#issuecomment-392575807