при попытке выполнить обновление и обновление

Я запустил

sudo apt update

результат 19 пакетов

sudo apt upgrade

result

dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

(никогда не видел этого раньше) Безопасно ли следовать эти инструкции?

1
задан 9 June 2017 в 16:12

3 ответа

Да, безопасно запускать sudo dpkg --configure -a.

На странице dpkg man:

--configure package... |-a|
If -a or --pending is given instead of package, all unpacked but unconfigured packages are configured.

Configuring consists of the following steps:

   1.  Unpack the conffiles, and at the same time back up the old
              conffiles, so that they can be restored if something goes wrong.

   2. Run postinst script, if provided by the package.
1
ответ дан 22 May 2018 в 21:43

Да, безопасно запускать sudo dpkg --configure -a.

На странице dpkg man:

--configure package... |-a| If -a or --pending is given instead of package, all unpacked but unconfigured packages are configured. Configuring consists of the following steps: 1. Unpack the conffiles, and at the same time back up the old conffiles, so that they can be restored if something goes wrong. 2. Run postinst script, if provided by the package.
1
ответ дан 18 July 2018 в 11:55

Да, безопасно запускать sudo dpkg --configure -a.

На странице dpkg man:

--configure package... |-a| If -a or --pending is given instead of package, all unpacked but unconfigured packages are configured. Configuring consists of the following steps: 1. Unpack the conffiles, and at the same time back up the old conffiles, so that they can be restored if something goes wrong. 2. Run postinst script, if provided by the package.
1
ответ дан 24 July 2018 в 19:52

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

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