小编Eth*_*mon的帖子

自动进行 Linux 更新/升级

我们为每个用户创建一个在 Ubuntu 20.04.2 LTS (Focal Fossa) 上运行的数字海洋服务器。每隔几个月,这个过程就会陷入困境,因为更新中的某些内容需要“是”或“是”等。我们不断寻找新的方法来处理“自动说是”,但每隔几个月,我们就会出现一个新的事情好像还没处理过。

我们现在的更新命令是:yes Y | sudo apt-get dist-upgrade -qq -y

我们最近的一站是:

Configuring openssh-server
--------------------------

A new version (/tmp/fileJQ04gT) of configuration file /etc/ssh/sshd_config is 
available, but the version installed currently has been locally modified.

  1. install the package maintainer's version
  2. keep the local version currently installed
  3. show the differences between the versions
  4. show a side-by-side difference between the versions
  5. show a 3-way difference between available versions
  6. do a 3-way …
Run Code Online (Sandbox Code Playgroud)

linux ubuntu ubuntu-20.04

8
推荐指数
1
解决办法
8097
查看次数

标签 统计

linux ×1

ubuntu ×1

ubuntu-20.04 ×1