Obsolete:Portal:Cloud VPS/Admin/Managing package upgrades
This workflow is no longer relevant, most package upgrades are now managed automatically with unattended-upgrades
This page describes general Apt mechanics as they relate to the Wikimedia Cloud Services environment. Security updates are applied by default for all instances (without the ability to disable) but several other sources of updates exist that may require special handling. If a tenant chooses to disable unattended upgrade for package updates they will need to use the attended upgrade workflow. The intended outcome is to have a proper and common workflow to keep systems updated and sane from the distro point of view, specially with security updates.
This was being originally developed in phab:T181647.
Channels of updates
There are 3 main channels/repos for package updates. Different distro may have different channels/repos and some custom systems may have even more (for example, cloud repos). Generally speaking, there are 3 main channels, which are configured via /etc/apt/sources.list and /etc/apt/sources.list.d/*.
To know the currently configured sources, issue the command apt-cache policy.
Security updates
Usually something like this:
deb http://security.debian.org/ stretch/updates main
This repo should contain security fixes for packages in the given suite (stable). Be aware that only stable/old-stable/old-old-stable are warranted to have some kind of security support. This means that testing/unstable/experimental don't have this channel available.
Package updates coming from this repo/channel should be trusted to don't break systems, since the patch changes should be minimal and only address concrete security issues.
More info about security patches in Debian can be found at: https://security-tracker.debian.org/tracker/
Distro updates
This is usually something like this:
deb http://mirrors.wikimedia.org/debian/ stretch main
Is the main channel for any given distro. This repo should contain regular updates for packages in the given suite (stable). This is where point releases of the distro happen (including security updates), plus some transient packages (such as tzdata, and friends). Every distro should have this enabled in some form, and is the standard to obtain package upgrades for the OS.
Packages updates coming from this repo/channel should be trusted to don't break systems, patches should be minimal and stable, but generally not that small as in security.
There is additionally 'jessie-updates', 'stretch-updates' and so on. These are a replacement for the old 'volatile' approach, which contains transient packages and other small updates.
deb http://mirrors.wikimedia.org/debian/ stretch-updates main
WMF updates
Packages coming from internal WMF repositories.
deb http://apt.wikimedia.org/wikimedia jessie-wikimedia main backports thirdparty
See APT_repository for more details.
Workflow
Description of the intended workflow and steps for keeping systems updated. We had the idea of integrating this workflow as part of the clinic duties activities.
Gathering information
The first step is to obtain information on the status of the system and important/key packages. The question is Is there any interesting pending package upgrade?.
There is the apt-upgrade script to help in reporting pending package upgrades.
user@machine:~$ sudo apt-upgrade -u report
In Toolforge, a fleet-wide report can be obtained jumping into a clush master and runnig the script::
aborrero@machine:~$ ssh tools-clushmaster-02.tools.eqiad.wmflabs
aborrero@tools-clushmaster-02:~$ clush -w @all 'sudo apt-upgrade -u report'
[...]
There is a known issue with apt-upgrade (phab:T208863) where it fails to run due to an error in updating the apt cache. If that happens, just re-run the command.
Key packages subject to apt pinning won't be reported, so you need an external source of information like the Debian package tracker: https://tracker.debian.org/
Adjusting operations/puppet.git
There are some configuration regarding package upgrades that are persisted into operations/puppet.git.
- unattended-upgrades hiera keys to enable/disable allowed origins: modules/apt/manifests/unattendedupgrades.pp
- Toolforge apt pinnings: modules/toollabs/manifests/apt_pinning.pp
The latter contains apt pinning for some key packages that we don't want to be upgraded by any automatic mechanism.
Packages are usually like:
- linux kernel
- pam libs
- kubernetes packages
- nginx
Should a newer version come, a patch must increase the version pinning.
Auto upgrading packages using unattended-upgrades
The unattended-upgrades package should be able to automatically upgrade certain packages from configured origins. Usually, just by installing the unattended-ugprades package in any system will:
- install a cronjob to do the thing
- enable the security updates repo by default
- start working
Apart of the cronjob, running the tool by hand is also possible, and this is the recommended command line for the initial touch:
user@machine:~$ sudo unattended-upgrades --dry-run -v
There are puppet hiera keys to enable/disable allowed origins for unattended-upgrades, see modules/apt/manifests/unattendedupgrades.pp.
The unattended-upgrades tool will compute the origin of each package (vs the allowed by config), check the readiness of the given package for direct upgrade (i.e, no manual intervention required) and other things. If all is OK, then the tool will update the package directly.
Be aware that this could mean arbitrary restart of some daemons and services, so care should be taken to only allow origins that are known to be harmless for package upgrades.
Explicit upgrades using apt-upgrade
Once you know which suite/channel/repo you want to upgrade, perform the actual package upgrades by means of apt-upgrade script.
user@machine01:~$ sudo apt-upgrade -un -f exclude_file.txt upgrade jessie-wikimedia
jessie-wikimedia: linux-meta 1.16 --> 1.17 [excluded]
jessie-wikimedia: linux-meta-4.9 1.16 --> 1.17 [excluded]
jessie-wikimedia: linux-image-4.9.0-0.bpo.6-amd64 [absent] --> 4.9.82-1~wmf1
jessie-wikimedia: otherpackage1 1.1.1 --> 2.2.2
jessie-wikimedia: otherpackage2 1.2.3 --> 2.3.4
commit changes? [y/N]:
In Toolforge, if enough confidence with the pending upgrades, the upgrade could be done fleet-wide with clush.
- WARNING: puppet runs may open the apt/dpkg database, so 'apt-upgrade' may fail. Perhaps is good idea to disable puppet for upgrades and reenable it later
Clush operations
Some interesting clush commands:
- in ubuntu machines, get all pending package upgrades, useful to inspect and search for important packages
user@tools-clushmaster-02:~$ clush -w @all -N "grep -q ubuntu /etc/os-release || exit 0 ; sudo apt-upgrade -un report" | sort -k2 | uniq
Example output |
---|
user@tools-clushmaster-02:~$ clush -w @all -N "grep -q ubuntu /etc/os-release || exit 0 ; sudo apt-upgrade -un report" | sort -k2 | uniq
trusty-updates: accountsservice 0.6.35-0ubuntu7.1 --> 0.6.35-0ubuntu7.3
trusty-updates: accountsservice 0.6.35-0ubuntu7.2 --> 0.6.35-0ubuntu7.3
trusty-updates: apparmor 2.10.95-0ubuntu2.6~14.04.1 --> 2.10.95-0ubuntu2.6~14.04.3
trusty-tools: aptly 0.8-3 --> 0.9.6-1
trusty-updates: base-files 7.2ubuntu5.1 --> 7.2ubuntu5.5
trusty-updates: base-files 7.2ubuntu5.3 --> 7.2ubuntu5.5
trusty-updates: bash-completion 1:2.1-4 --> 1:2.1-4ubuntu0.2
trusty-updates: bash-completion 1:2.1-4ubuntu0.1 --> 1:2.1-4ubuntu0.2
trusty-updates: bsdutils 1:2.20.1-5.1ubuntu20.3 --> 1:2.20.1-5.1ubuntu20.9
trusty-updates: bsdutils 1:2.20.1-5.1ubuntu20.6 --> 1:2.20.1-5.1ubuntu20.9
trusty-updates: bsdutils 1:2.20.1-5.1ubuntu20.7 --> 1:2.20.1-5.1ubuntu20.9
trusty-updates: cloud-guest-utils 0.27-0ubuntu9 --> 0.27-0ubuntu9.2
trusty-updates: cloud-guest-utils 0.27-0ubuntu9.1 --> 0.27-0ubuntu9.2
trusty-updates: cloud-image-utils 0.27-0ubuntu9 --> 0.27-0ubuntu9.2
trusty-updates: cloud-image-utils 0.27-0ubuntu9.1 --> 0.27-0ubuntu9.2
trusty-updates: cloud-init 0.7.5-0ubuntu1.18 --> 0.7.5-0ubuntu1.22
trusty-updates: cloud-init 0.7.5-0ubuntu1.19 --> 0.7.5-0ubuntu1.22
trusty-updates: cloud-init 0.7.5-0ubuntu1.20 --> 0.7.5-0ubuntu1.22
trusty-updates: cloud-init 0.7.5-0ubuntu1.21 --> 0.7.5-0ubuntu1.22
trusty-updates: cloud-utils 0.27-0ubuntu9 --> 0.27-0ubuntu9.2
trusty-updates: cloud-utils 0.27-0ubuntu9.1 --> 0.27-0ubuntu9.2
trusty-updates: cpp-4.8 [absent] --> 4.8.4-2ubuntu1~14.04.4
trusty: cpp [absent] --> 4:4.8.2-1ubuntu6
trusty-updates: dbus 1.6.18-0ubuntu4.4 --> 1.6.18-0ubuntu4.5
trusty-updates: dbus-x11 1.6.18-0ubuntu4.4 --> 1.6.18-0ubuntu4.5
trusty-wikimedia: debdeploy-client 0.0.99.1-1+trusty1 --> 0.0.99.2-1+trusty1
trusty-updates: dh-apparmor 2.10.95-0ubuntu2.6~14.04.1 --> 2.10.95-0ubuntu2.6~14.04.3
trusty-updates: dh-python 1.20140128-1ubuntu8 --> 1.20140128-1ubuntu8.2
trusty-updates: distro-info-data 0.18ubuntu0.7 --> 0.18ubuntu0.8
trusty-updates: dpkg 1.17.5ubuntu5.6 --> 1.17.5ubuntu5.7
trusty-updates: dpkg-dev 1.17.5ubuntu5.6 --> 1.17.5ubuntu5.7
trusty-updates: e2fslibs 1.42.9-3ubuntu1.2 --> 1.42.9-3ubuntu1.3
trusty-updates: e2fsprogs 1.42.9-3ubuntu1.2 --> 1.42.9-3ubuntu1.3
trusty-updates: fonts-lyx 2.0.6-1build1 --> 2.0.8.1-0ubuntu1
trusty-updates: gcc-4.9-base 4.9.1-0ubuntu1 --> 4.9.3-0ubuntu4
trusty-security: gdb 7.7.1-0ubuntu5~14.04.2 --> 7.7.1-0ubuntu5~14.04.3
trusty-updates: gdb 7.7.1-0ubuntu5~14.04.2 --> 7.7.1-0ubuntu5~14.04.3
trusty-updates: graphviz 2.36.0-0ubuntu3.1 --> 2.36.0-0ubuntu3.2
trusty-updates: grub-common 2.02~beta2-9ubuntu1.12 --> 2.02~beta2-9ubuntu1.14
trusty-updates: grub-common 2.02~beta2-9ubuntu1.6 --> 2.02~beta2-9ubuntu1.14
[...]
|
- from all machines, see the list of pending packages from the 'stable' archive
user@tools-clushmaster-02:~$ clush -w @all -N "sudo apt-upgrade -un report stable" | sort -k3 | uniq
Example output |
---|
user@tools-clushmaster-02:~$ clush -w @all -N "sudo apt-upgrade -un report stable" | sort -k3 | uniq
stable: libxkbcommon0 0.7.1-1 --> 0.7.1-2~deb9u1
stable: dbus 1.10.18-1 --> 1.10.24-0+deb9u1
stable: libdbus-1-3 1.10.18-1 --> 1.10.24-0+deb9u1
stable: libc-ares2 1.12.0-1 --> 1.12.0-1+deb9u1
stable: krb5-locales 1.15-1 --> 1.15-1+deb9u1
stable: libgssapi-krb5-2 1.15-1 --> 1.15-1+deb9u1
stable: libk5crypto3 1.15-1 --> 1.15-1+deb9u1
stable: libkrb5-3 1.15-1 --> 1.15-1+deb9u1
stable: libkrb5support0 1.15-1 --> 1.15-1+deb9u1
stable: apt 1.4.6 --> 1.4.8
stable: apt-utils 1.4.6 --> 1.4.8
stable: libapt-inst2.0 1.4.6 --> 1.4.8
stable: libapt-pkg5.0 1.4.6 --> 1.4.8
stable: libunbound2 1.6.0-3 --> 1.6.0-3+deb9u1
stable: socat 1.7.3.1-2+b1 --> 1.7.3.1-2+deb9u1
stable: openssh-client 1:7.4p1-10 --> 1:7.4p1-10+deb9u2
stable: openssh-server 1:7.4p1-10 --> 1:7.4p1-10+deb9u2
stable: openssh-sftp-server 1:7.4p1-10 --> 1:7.4p1-10+deb9u2
stable: dirmngr 2.1.18-6 --> 2.1.18-8~deb9u1
stable: gnupg 2.1.18-6 --> 2.1.18-8~deb9u1
stable: gnupg-agent 2.1.18-6 --> 2.1.18-8~deb9u1
stable: gpgv 2.1.18-6 --> 2.1.18-8~deb9u1
stable: nagios-nrpe-server 2.15-1+stretch1 --> 3.0.1-3+deb9u1
stable: xkb-data 2.19-1 --> 2.19-1+deb9u1
stable: libatspi2.0-0 2.22.0-6 --> 2.22.0-6+deb9u1
stable: libpam-systemd 232-25 --> 232-25+deb9u1
stable: libsystemd0 232-25 --> 232-25+deb9u1
stable: libudev1 232-25 --> 232-25+deb9u1
stable: systemd 232-25 --> 232-25+deb9u1
stable: systemd-sysv 232-25 --> 232-25+deb9u1
stable: udev 232-25 --> 232-25+deb9u1
stable: libselinux1 2.6-3+b1 --> 2.6-3+b3
stable: libpython2.7-minimal 2.7.13-2 --> 2.7.13-2+deb9u2
stable: libpython2.7-stdlib 2.7.13-2 --> 2.7.13-2+deb9u2
stable: python2.7 2.7.13-2 --> 2.7.13-2+deb9u2
stable: python2.7-minimal 2.7.13-2 --> 2.7.13-2+deb9u2
stable: vim 2:8.0.0197-4 --> 2:8.0.0197-4+deb9u1
stable: vim-common 2:8.0.0197-4 --> 2:8.0.0197-4+deb9u1
stable: vim-runtime 2:8.0.0197-4 --> 2:8.0.0197-4+deb9u1
stable: vim-tiny 2:8.0.0197-4 --> 2:8.0.0197-4+deb9u1
stable: xxd 2:8.0.0197-4 --> 2:8.0.0197-4+deb9u1
stable: nagios-nrpe-server 3.0.1-3 --> 3.0.1-3+deb9u1
stable: libsqlite3-0 3.16.2-5 --> 3.16.2-5+deb9u1
stable: adwaita-icon-theme 3.22.0-1 --> 3.22.0-1+deb9u1
stable: libhogweed4 3.3-1+b1 --> 3.3-1+b2
stable: libnettle6 3.3-1+b1 --> 3.3-1+b2
stable: gnutls-bin 3.5.8-5+deb9u1 --> 3.5.8-5+deb9u3
stable: libgnutls30 3.5.8-5+deb9u1 --> 3.5.8-5+deb9u3
stable: libgnutls-dane0 3.5.8-5+deb9u1 --> 3.5.8-5+deb9u3
stable: iproute2 4.9.0-1 --> 4.9.0-1+deb9u1
stable: zsh 5.3.1-4+b1 --> 5.3.1-4+b2
stable: libdb5.3 5.3.28-12+b1 --> 5.3.28-12+deb9u1
stable: libicu57 57.1-6 --> 57.1-6+deb9u1
stable: libncurses5 6.0+20161126-1 --> 6.0+20161126-1+deb9u1
stable: libncursesw5 6.0+20161126-1 --> 6.0+20161126-1+deb9u1
stable: libtinfo5 6.0+20161126-1 --> 6.0+20161126-1+deb9u1
stable: ncurses-base 6.0+20161126-1 --> 6.0+20161126-1+deb9u1
stable: ncurses-bin 6.0+20161126-1 --> 6.0+20161126-1+deb9u1
stable: ncurses-term 6.0+20161126-1 --> 6.0+20161126-1+deb9u1
stable: base-files 9.9 --> 9.9+deb9u3
|
- in jessie machines from the canary list, see all pending package upgrades, grouped by package
user@tools-clushmaster-02:~$ clush --hostfile=/etc/clustershell/toolforge_canary_list.txt -r -N "grep -q jessie /etc/os-release || exit 0 ; sudo apt-upgrade -u report" | sort -k3
Example output |
---|
aborrero@tools-clushmaster-02:~$ clush --hostfile=/etc/clustershell/toolforge_canary_list.txt -r -N "grep -q jessie /etc/os-release || exit 0 ; sudo apt-upgrade -u report" | sort -k3
tools-flannel-etcd-03: jessie-wikimedia: debdeploy-client 0.0.99.1-1+deb8u1 --> 0.0.99.2-1+deb8u1
tools-k8s-etcd-03: jessie-wikimedia: debdeploy-client 0.0.99.1-1+deb8u1 --> 0.0.99.2-1+deb8u1
tools-prometheus-02: jessie-wikimedia: debdeploy-client 0.0.99.1-1+deb8u1 --> 0.0.99.2-1+deb8u1
tools-proxy-02: jessie-wikimedia: debdeploy-client 0.0.99.1-1+deb8u1 --> 0.0.99.2-1+deb8u1
tools-redis-1002: jessie-wikimedia: debdeploy-client 0.0.99.1-1+deb8u1 --> 0.0.99.2-1+deb8u1
tools-worker-1027: jessie-wikimedia: debdeploy-client 0.0.99.1-1+deb8u1 --> 0.0.99.2-1+deb8u1
tools-flannel-etcd-03: jessie-backports: gdb 7.7.1+dfsg-5 --> 7.11.1-2~bpo8+1
tools-k8s-etcd-03: jessie-backports: gdb 7.7.1+dfsg-5 --> 7.11.1-2~bpo8+1
tools-prometheus-02: jessie-backports: gdb 7.7.1+dfsg-5 --> 7.11.1-2~bpo8+1
tools-proxy-02: jessie-backports: gdb 7.7.1+dfsg-5 --> 7.11.1-2~bpo8+1
tools-redis-1002: jessie-backports: gdb 7.7.1+dfsg-5 --> 7.11.1-2~bpo8+1
tools-worker-1027: jessie-backports: gdb 7.7.1+dfsg-5 --> 7.11.1-2~bpo8+1
tools-flannel-etcd-03: oldstable: libbabeltrace1 [absent] --> 1.2.3-2
tools-k8s-etcd-03: oldstable: libbabeltrace1 [absent] --> 1.2.3-2
tools-prometheus-02: oldstable: libbabeltrace1 [absent] --> 1.2.3-2
tools-proxy-02: oldstable: libbabeltrace1 [absent] --> 1.2.3-2
tools-redis-1002: oldstable: libbabeltrace1 [absent] --> 1.2.3-2
tools-worker-1027: oldstable: libbabeltrace1 [absent] --> 1.2.3-2
tools-flannel-etcd-03: oldstable: libbabeltrace-ctf1 [absent] --> 1.2.3-2
tools-k8s-etcd-03: oldstable: libbabeltrace-ctf1 [absent] --> 1.2.3-2
tools-prometheus-02: oldstable: libbabeltrace-ctf1 [absent] --> 1.2.3-2
tools-proxy-02: oldstable: libbabeltrace-ctf1 [absent] --> 1.2.3-2
tools-redis-1002: oldstable: libbabeltrace-ctf1 [absent] --> 1.2.3-2
tools-worker-1027: oldstable: libbabeltrace-ctf1 [absent] --> 1.2.3-2
tools-flannel-etcd-03: oldstable: libpython3.4 [absent] --> 3.4.2-1
tools-k8s-etcd-03: oldstable: libpython3.4 [absent] --> 3.4.2-1
tools-prometheus-02: oldstable: libpython3.4 [absent] --> 3.4.2-1
tools-proxy-02: oldstable: libpython3.4 [absent] --> 3.4.2-1
tools-redis-1002: oldstable: libpython3.4 [absent] --> 3.4.2-1
tools-worker-1027: oldstable: libpython3.4 [absent] --> 3.4.2-1
tools-k8s-master-01: oldstable-updates: linux-headers-3.16.0-4-amd64 3.16.43-2+deb8u5 --> 3.16.51-3
tools-k8s-master-01: oldstable-updates: linux-headers-3.16.0-4-common 3.16.43-2+deb8u5 --> 3.16.51-3
tools-docker-builder-05: jessie-backports: linux-image-4.9.0-0.bpo.4-amd64 4.9.51-1~bpo8+1 --> 4.9.65-3+deb9u1~bpo8+1
tools-logs-02: jessie-backports: linux-image-4.9.0-0.bpo.4-amd64 4.9.51-1~bpo8+1 --> 4.9.65-3+deb9u1~bpo8+1
tools-prometheus-02: jessie-backports: linux-image-4.9.0-0.bpo.4-amd64 4.9.51-1~bpo8+1 --> 4.9.65-3+deb9u1~bpo8+1
tools-worker-1027: jessie-backports: linux-image-4.9.0-0.bpo.4-amd64 4.9.51-1~bpo8+1 --> 4.9.65-3+deb9u1~bpo8+1
tools-docker-builder-05: jessie-wikimedia: linux-libc-dev 4.9.51-1~bpo8+1 --> 4.9.82-1~wmf1
tools-flannel-etcd-03: jessie-backports: puppet-lint 1.1.0-1 --> 2.0.2-0.1~bpo8+1
tools-k8s-etcd-03: jessie-backports: puppet-lint 1.1.0-1 --> 2.0.2-0.1~bpo8+1
tools-prometheus-02: jessie-backports: puppet-lint 1.1.0-1 --> 2.0.2-0.1~bpo8+1
tools-proxy-02: jessie-backports: puppet-lint 1.1.0-1 --> 2.0.2-0.1~bpo8+1
tools-redis-1002: jessie-backports: puppet-lint 1.1.0-1 --> 2.0.2-0.1~bpo8+1
tools-worker-1027: jessie-backports: puppet-lint 1.1.0-1 --> 2.0.2-0.1~bpo8+1
|
- report pending upgrades from several archives at once, grouped by package
user@tools-clushmaster-02:~$ clush -w @all -N "sudo apt-upgrade -u report | egrep trusty-tools\|jessie-tools\|stretch-tools || true" | sort -k3
Example output |
---|
user@tools-clushmaster-02:~$ clush -w @all -N "sudo apt-upgrade -u report | egrep trusty-tools\|jessie-tools\|stretch-tools || true" | sort -k3
tools-services-02: trusty-tools: aptly 0.8-3 --> 0.9.6-1
tools-bastion-02: trusty-tools: jobutils 1.29 --> 1.30
tools-bastion-03: trusty-tools: jobutils 1.29 --> 1.30
tools-bastion-05: trusty-tools: jobutils 1.29 --> 1.30
tools-checker-01: trusty-tools: jobutils 1.29 --> 1.30
tools-checker-02: trusty-tools: jobutils 1.29 --> 1.30
tools-cron-01: trusty-tools: jobutils 1.29 --> 1.30
tools-mail: trusty-tools: jobutils 1.29 --> 1.30
tools-services-01: trusty-tools: jobutils 1.29 --> 1.30
tools-services-02: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-generic-1401: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-generic-1402: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-generic-1403: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-generic-1404: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1401: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1402: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1403: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1404: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1405: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1406: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1407: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1408: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1409: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1410: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1411: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1412: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1413: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1414: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1415: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1416: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1417: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1418: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1419: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1420: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1421: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1422: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1424: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1425: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1426: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1427: trusty-tools: jobutils 1.29 --> 1.30
tools-webgrid-lighttpd-1428: trusty-tools: jobutils 1.29 --> 1.30
tools-bastion-03: trusty-tools: kubernetes-client 1.4.6-3 --> 1.4.6-3
[...]
|
FAQ
- Why package X is not being upgraded by unattended-upgrades?
- It is likely because it can't be cleanly upgraded (conffile conflict, unmet dependencies, the upgrade would remove other package, etc...). Run `aptitude install X` by hand to get a clue. Also, there could be an apt pinning of that package.
- Does unattended-upgrades produces logs?
- Yes, usually in /var/log/unattended-upgrades/
- Does unattended-upgrades takes pinning/holds into account?
- Yes, it should.
- What happen if unattended-upgrades updates a package that requires reboot?
- It can be configured to reboot the system, but obviously this is disabled by default. For example, in case of linux kernel upgrades, systems may have pending reboots to pick the updated package.
- What does package pinning vs apt-mark do? (This is to provide a general understanding and not specific guidance)
- The 'hold mark' means: hey apt, do not touch this package *automatically*, i.e. dont install/remove/upgrade because of side depends require it. Still, if you set a hold mark for a package and then you run 'apt-get remove pkg' it will be removed. The hold mark says nothing about versioning or package origin.
- Pinning establishes preferences for when calculating candidate version for upgrades. This can include pinning packages to particular versions.
See also
- apt-upgrade page
- About unattended-upgrades https://wiki.debian.org/UnattendedUpgrades
- General info about 'stable-updates' https://wiki.debian.org/StableUpdates
- Description of what is in 'stable-updates' repos https://lists.debian.org/debian-devel-announce/2011/03/msg00010.html
- Debian security tracker: https://security-tracker.debian.org/tracker/
- Ubuntu security KnowledgeBase: https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase
- About toolforge nodes