diff -Nru ubuntu-release-upgrader-16.04.27/data/mirrors.cfg ubuntu-release-upgrader-16.04.29/data/mirrors.cfg --- ubuntu-release-upgrader-16.04.27/data/mirrors.cfg 2019-10-02 14:08:25.000000000 +0000 +++ ubuntu-release-upgrader-16.04.29/data/mirrors.cfg 2019-11-07 11:42:41.000000000 +0000 @@ -74,13 +74,11 @@ http://mirrors.xmission.com/ubuntu/ http://nl.archive.ubuntu.com/ubuntu/ http://cz.archive.ubuntu.com/ubuntu/ -http://de.archive.ubuntu.com/ubuntu/ http://ftp.halifax.rwth-aachen.de/ubuntu/ ftp://ftp.rrzn.uni-hannover.de/pub/mirror/linux/ubuntu http://ftp.uni-kl.de/pub/linux/ubuntu/ http://ftp.uninett.no/ubuntu/ http://ftp.usf.edu/pub/ubuntu/ -http://kr.archive.ubuntu.com/ubuntu/ http://sft.if.usp.br/ubuntu/ http://hr.archive.ubuntu.com/ubuntu/ http://ubuntu.mirrors.tds.net/pub/ubuntu/ @@ -111,7 +109,6 @@ http://ftp.tecnoera.com/ubuntu/ http://ftp5.gwdg.de/pub/linux/debian/ubuntu/ http://mirror.csclub.uwaterloo.ca/ubuntu/ -http://nz.archive.ubuntu.com/ubuntu/ http://nl3.archive.ubuntu.com/ubuntu/ http://ubuntutym.u-toyama.ac.jp/ubuntu/ http://ubuntu.mirror.cambrium.nl/ubuntu/ @@ -205,7 +202,6 @@ http://mirror.neolabs.kz/ubuntu/ http://mirrors.bloomu.edu/ubuntu/ http://ubuntu.securedservers.com/ -http://us.archive.ubuntu.com/ubuntu/ http://distrib-coffee.ipsl.jussieu.fr/pub/linux/ubuntu/ http://kartolo.sby.datautama.net.id/ubuntu/ http://mirror.greennet.gl/ubuntu/ @@ -214,8 +210,6 @@ http://ubuntu.grena.ge/ubuntu/ http://ubuntu.tuxuri.com/ubuntu/ http://ubuntu.unc.edu.ar/ubuntu/ -http://de2.archive.ubuntu.com/ubuntu/ -http://ge.archive.ubuntu.com/ubuntu/ http://ftp.neowiz.com/ubuntu/ http://ftp.uni-bayreuth.de/linux/ubuntu/ubuntu/ http://mirror.edatel.net.co/ubuntu/ @@ -242,7 +236,6 @@ http://mirror2.tuxinator.org/ubuntu/ http://ubuntu.mirror.ac.ke/ubuntu/ http://ubuntu.ucr.ac.cr/ubuntu/ -http://mirror.vutbr.cz/ubuntu/archive/ http://ubuntu.mirror.lrz.de/ubuntu/ http://mirror.as43289.net/ubuntu/ http://mirror.one.com/ubuntu/ @@ -280,7 +273,6 @@ http://ubuntu.hysing.is/ubuntu/ http://ubuntu.mirror.digitalpacific.com.au/archive/ http://ubuntu.mirror.serversaustralia.com.au/ubuntu/ -http://ubuntu.mirror.tn/ubuntu/ http://ubuntu.mirrors.linux.ro/archive/ http://ubuntu.saglayici.com/ubuntu/ http://mirror.cedia.org.ec/ubuntu/ @@ -370,7 +362,6 @@ http://ubuntu.archive.kw.zain.com/ http://mirrors.vhost.vn/ubuntu/ http://ubuntu.mirrors.ovh.net/ubuntu/ -http://fireball-public.phys.wvu.edu/mirror/ubuntu/ http://www.club.cc.cmu.edu/pub/ubuntu/ http://glua.ua.pt/pub/ubuntu/ http://mirror.library.ucy.ac.cy/linux/ubuntu/archive/ @@ -441,7 +432,6 @@ http://mirror.steadfastnet.com/ubuntu/ http://mirrors.powernet.com.ru/ubuntu/ http://mirror.cs.jmu.edu/pub/ubuntu/ -http://mirror-hk.koddos.net/ubuntu/ http://mirror.biznetgio.com/ubuntu/ http://mirror.onevip.mk/ubuntu/ http://mirrors.mivocloud.com/ubuntu/ @@ -470,9 +460,7 @@ http://mirror.fsmg.org.nz/ubuntu/ http://mirrors.ukfast.co.uk/sites/archive.ubuntu.com/ http://mirror.operationtulip.com/ubuntu/ -http://mirror.0-1.cloud/ubuntu/ http://mirrors.vcea.wsu.edu/ubuntu/ -http://mirror.usetelecom.com.br/ubuntu/ http://mirror.ubuntu.ikoula.com/ http://mirror.docker.ru/ubuntu/ http://mirror.vcu.edu/pub/gnu+linux/ubuntu/ @@ -502,14 +490,12 @@ http://mirror.nwlab.tk/ubuntu/ http://ubuntu.hbcse.tifr.res.in/ubuntu/ http://ubuntu.netforce.hosting/ubuntu/ -http://mirror.nsec.pt/ubuntu/ http://mirror.funkfreundelandshut.de/ubuntu/ http://ir.ubuntu.sindad.cloud/ubuntu/ http://mirror.labkom.id/ubuntu/ http://mirror.launtel.net.au/ubuntu/ http://mirror.wff-gaming.de/ubuntu/ http://lug.mtu.edu/ubuntu/ -http://linuxmirror.es/ubuntu/ http://repo.isra.edu.pk/ubuntu/ http://mirror.ubuntu.serverforge.org/ http://kebo.vlsm.org/ubuntu/ @@ -543,3 +529,21 @@ http://repos.interior.edu.uy/ubuntu/ http://mirror.pregi.net/ubuntu/ http://ftp.belnet.be/ubuntu/ +http://my.mirrors.thegigabit.com/ubuntu/ +http://mirrors.daticum.com/ubuntu/archive/ +http://mirrors.dgut.edu.cn/ubuntu/ +http://mirrors.huaweicloud.com/repository/ubuntu/ +http://mirrors.njupt.edu.cn/ubuntu/ +http://ubuntu.parspack.net/ubuntu/ +http://us.mirror.nsec.pt/ubuntu/ +http://mirrors.nju.edu.cn/ubuntu/ +http://mirror.plustech.de/ubuntu/ +http://mirror.stjschools.org/public/ubuntu-archive/ +http://ubuntu.mirror.snu.edu.in/ubuntu/ +http://mirrors.cqu.edu.cn/ubuntu/ +http://ftp.sjtu.edu.cn/ubuntu/ +http://archive.ubuntu.mirror.ba/ubuntu/ +http://archive.raptus-net.de/ubuntu/ +http://linux.darkpenguin.net/distros/ubuntu-archive/ +http://mirror.arizona.edu/ubuntu/ +http://mirror-hk.koddos.net/ubuntu/ diff -Nru ubuntu-release-upgrader-16.04.27/debian/changelog ubuntu-release-upgrader-16.04.29/debian/changelog --- ubuntu-release-upgrader-16.04.27/debian/changelog 2019-10-02 14:08:25.000000000 +0000 +++ ubuntu-release-upgrader-16.04.29/debian/changelog 2019-11-07 11:42:41.000000000 +0000 @@ -1,3 +1,17 @@ +ubuntu-release-upgrader (1:16.04.29) xenial; urgency=medium + + * do-release-upgrade: add linux-base to the check for required reboot after + a kernel upgrade (LP: #1844805). + + -- Łukasz 'sil2100' Zemczak Thu, 07 Nov 2019 12:42:41 +0100 + +ubuntu-release-upgrader (1:16.04.28) xenial; urgency=medium + + * do-release-upgrade: also check for linux-image- in reboot-required.pkgs, + refusing upgrading before a reboot is performed. (LP: #1844805) + + -- Łukasz 'sil2100' Zemczak Mon, 04 Nov 2019 21:41:52 +0100 + ubuntu-release-upgrader (1:16.04.27) xenial; urgency=medium * Use HTTPS for changelogs.ubuntu.com (LP: #1744318) diff -Nru ubuntu-release-upgrader-16.04.27/DistUpgrade/DistUpgradeVersion.py ubuntu-release-upgrader-16.04.29/DistUpgrade/DistUpgradeVersion.py --- ubuntu-release-upgrader-16.04.27/DistUpgrade/DistUpgradeVersion.py 2019-10-02 14:08:25.000000000 +0000 +++ ubuntu-release-upgrader-16.04.29/DistUpgrade/DistUpgradeVersion.py 2019-11-07 11:42:41.000000000 +0000 @@ -1 +1 @@ -VERSION = '16.04.27' +VERSION = '16.04.29' diff -Nru ubuntu-release-upgrader-16.04.27/do-release-upgrade ubuntu-release-upgrader-16.04.29/do-release-upgrade --- ubuntu-release-upgrader-16.04.27/do-release-upgrade 2019-10-02 14:08:25.000000000 +0000 +++ ubuntu-release-upgrader-16.04.29/do-release-upgrade 2019-11-07 11:42:28.000000000 +0000 @@ -180,7 +180,11 @@ reboot = False with open('/var/run/reboot-required.pkgs', 'rb') as f: for line in f: - if line == b'libc6\n': + # In certain cases, we need to reboot the system before proceeding + # with the dist upgrade after the kernel is upgraded as otherwise + # building of some dkms modules can fail. + if (line == b'libc6\n' or line == b'linux-base\n' or + line.startswith(b'linux-image-')): reboot = True break if reboot: