do-release-upgrade -quiet / -q Нет определения того, что он делает

Кто-нибудь знает, что на самом деле делает do-release-upgrade -q?

Надеюсь, он выполняет обновление без необходимости взаимодействовать с ним, если это так, он перезаписывает конфиги или сохраняет оригиналы?

stephenm@mcr-pc-29392:~$ do-release-upgrade --help
Usage: do-release-upgrade [options]

Options:
  -h, --help            show this help message and exit
  -V, --version         Show version and exit
  -d, --devel-release   Check if upgrading to the latest devel release is
                        possible
  --data-dir=DATA_DIR   Directory that contains the data files
  -p, --proposed        Try upgrading to the latest release using the upgrader
                        from $distro-proposed
  -m MODE, --mode=MODE  Run in a special upgrade mode. Currently 'desktop' for
                        regular upgrades of a desktop system and 'server' for
                        server systems are supported.
  -f FRONTEND, --frontend=FRONTEND
                        Run the specified frontend
  -s, --sandbox         Test upgrade with a sandbox aufs overlay
  -c, --check-dist-upgrade-only
                        Check only if a new distribution release is available
                        and report the result via the exit code
  -q, --quiet

Страница руководства даже не упоминает об этом.

DO-RELEASE-UPGRADE(8)                                                                                                  DO-RELEASE-UPGRADE(8)

NAME
       do-release-upgrade - upgrade operating system to latest release

SYNOPSIS
       do-release-upgrade [options]

DESCRIPTION
       Upgrade  the  operating  system  to  the  latest  release from the command-line.  This is the preferred command if the machine has no
       graphic environment or if the machine is to be upgraded over a remote connection.

OPTIONS
       -h, --help
              show help message and exit

       -d, --devel-release
              Check if upgrading to the latest devel release is possible

       -p, --proposed
              Try upgrading to the latest release using the upgrader from Ubuntu-proposed

       -m MODE, --mode=MODE
              Run in a special upgrade mode. Currently "desktop" for regular upgrades of a desktop system and "server"  for  server  systems
              are supported.

       -f FRONTEND, --frontend=FRONTEND
              Run the specified frontend

       -s, --sandbox
              Test upgrade with a sandbox aufs overlay

SEE ALSO
       update-manager(8), apt-get(8)
1
задан 21 December 2012 в 02:52

1 ответ

Для неинтерактивного обновления вы можете указать опцию --frontend=DistUpgradeViewNonInteractive.

Детали режима:

https://www.digitalocean.com/community/tutorials / how-to-upgrade-to-ubuntu-16-04-lts Могу ли я сделать обновление без разрешения или без разрешения?

скрипт с sudo:

apt-get upgrade -y
apt-get dist-upgrade -y
apt-get install -y update-manager-core
iptables -I INPUT -p tcp --dport 1022 -j ACCEPT'  # optional, in case upgrade fails
do-release-upgrade --frontend=DistUpgradeViewNonInteractive
1
ответ дан 25 May 2018 в 03:11

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

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