명령줄로 앱을 제거하려고 하면 다음 오류가 발생합니다.
dpkg: error: failed to open package info file '/var/lib/dpkg/available' for reading:
No such file or directory
E: Sub-process dpkg --set-selections returned an error code (2)
E: Couldn't record the approved state changes as dpkg selection states
이 문제를 어떻게 해결합니까?
답변1
이 오류는 다음 주석에서 해결되었습니다.
sudo apt update
에서http://manpages.ubuntu.com/manpages/bionic/man8/apt.8.html
업데이트(apt-get(8))
update is used to download package information from all configured sources. Other commands operate on this data to e.g. perform package upgrades or search in and display details about all packages available for installation.