Testing an upgrade from Ubuntu 18.10 to Ubuntu 19.04 I noticed that the
identifyObsoleteKernels function returns a set of linux packages which
was already identified as obsolete so dropping the functionality as
Balint suggested seems easiest.

Relevant part of /var/log/dist-upgrade/main.log:

2019-06-19 13:31:02,029 DEBUG Obsolete: gir1.2-mutter-3 libbind9-160 
libdns-export1102 libdns1102 libedataserver-1.2-23 libexempi3 libgdbm5 
libhunspell-1.6-0 libicu60 libirs160 libisc-export169 libisc169 libisccc160 
libisccfg160 liblouis16 liblwres160 libmutter-3-0 libntfs-3g88 liborcus-0.13-0 
libperl5.26 libpoppler79 libprotobuf10 libpython3.6 libpython3.6-minimal 
libpython3.6-stdlib libraw16 libreadline7 libssl1.0.0 linux-headers-4.18.0-10 
linux-headers-4.18.0-10-generic linux-headers-4.18.0-18 
linux-headers-4.18.0-18-generic linux-image-4.18.0-10-generic 
linux-image-4.18.0-18-generic linux-modules-4.18.0-10-generic 
linux-modules-4.18.0-18-generic linux-modules-extra-4.18.0-10-generic 
linux-modules-extra-4.18.0-18-generic perl-modules-5.26 python-talloc python3.6 
python3.6-minimal
2019-06-19 13:31:02,029 DEBUG Foreign: 
2019-06-19 13:31:02,029 DEBUG identifyObsoleteKernels()
2019-06-19 13:31:04,958 DEBUG removing obsolete kernel 
'linux-headers-4.18.0-10-generic'
2019-06-19 13:31:04,958 DEBUG skipping running kernel 
linux-headers-4.18.0-18-generic
2019-06-19 13:31:04,961 DEBUG removing obsolete kernel 
'linux-image-4.18.0-10-generic'
2019-06-19 13:31:04,961 DEBUG skipping running kernel 
linux-image-4.18.0-18-generic
2019-06-19 13:31:04,967 DEBUG removing obsolete kernel 
'linux-modules-4.18.0-10-generic'
2019-06-19 13:31:04,967 DEBUG skipping running kernel 
linux-modules-4.18.0-18-generic
2019-06-19 13:31:04,969 DEBUG removing obsolete kernel 
'linux-modules-extra-4.18.0-10-generic'
2019-06-19 13:31:04,969 DEBUG skipping running kernel 
linux-modules-extra-4.18.0-18-generic
2019-06-19 13:31:06,446 DEBUG identifyObsoleteKernels found 
'{'linux-modules-extra-4.18.0-10-generic', 'linux-modules-4.18.0-10-generic', 
'linux-image-4.18.0-10-generic', 'linux-headers-4.18.0-10-generic'}'
2019-06-19 13:31:06,447 DEBUG forced_obsoletes: ['desktop-effects', 
'gnome-app-install', 'policykit-gnome', 'gnome-mount', 
'linux-modules-extra-4.18.0-10-generic', 'linux-modules-4.18.0-10-generic', 
'linux-image-4.18.0-10-generic', 'linux-headers-4.18.0-10-generic']

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828100

Title:
  KernelRemoval section of DistUpgrade.cfg shouldn't require manual
  updating

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1828100/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to