Score:0

skip openssh-server configuration on apt-get upgrade

in flag

When I'm trying to upgrade Ubuntu 20.10 on Linode, it stucks on one configuration prompt.
How can I skip it?
Using -qy didn't help, as shown below.

The code:

set DEBIAN_FRONTEND=noninteractive
apt-get update -qy
apt-get upgrade -qy -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"

Screenshot:
enter image description here

Chris avatar
it flag
From the man page, options are before the main command (`apt-get *options* upgrade`)
Dani-Br avatar
in flag
Thank @Chris. Unfortunately, it didn't help.
Chris avatar
it flag
I would try with `export DEBIAN...` instead of `set`. See https://unix.stackexchange.com/q/71144
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.