Невозможно удалить приложения из командной строки

При попытке удалить приложения с помощью командной строки я получаю следующую ошибку:

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

Как это исправить?

0
задан 5 June 2018 в 10:00

1 ответ

Эта ошибка была исправлена ​​в комментариях:

sudo apt update

из http://manpages.ubuntu.com/manpages/bionic/man8/apt.8.html [ 114]

update (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.
1
ответ дан 5 June 2018 в 10:00

Другие вопросы по тегам:

Похожие вопросы: