broken upgrade path between jammy and kinetic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
Medium
|
Mauricio Faria de Oliveira | ||
Kinetic |
Fix Released
|
Medium
|
Mauricio Faria de Oliveira | ||
Lunar |
Fix Released
|
Medium
|
Mauricio Faria de Oliveira |
Bug Description
[ Impact ]
The sosreport package upgrade path is broken between
jammy and kinetic due to 'ubuntu1' typo (jammy-only).
$ rmadison -a source sosreport | grep -F 4.4
sosreport | 4.4-1ubuntu0 | kinetic | source
sosreport | 4.4-1ubuntu0 | lunar | source
sosreport | 4.4-1ubuntu0.
sosreport | 4.4-1ubuntu0.
sosreport | 4.4-1ubuntu1.
See that jammy is the most recent; incorrectly after
kinetic and lunar, which are more recent than jammy.
[ Test Plan ]
Deploy a jammy container:
$ lxc launch ubuntu:jammy sos-upgrade
$ lxc shell sos-upgrade
Upgrade it and install sosreport:
# apt update
# apt upgrade
# apt install sosreport
# dpkg -s sosreport | grep Version:
Version: 4.4-1ubuntu1.
Upgrade release from jammy to kinetic:
# lsb_release -cs
jammy
# sed -i 's/Prompt=
# do-release-upgrade
# reboot
# lsb_release -cs
kinetic
Check for sosreport upgrade to kinetic's version:
(this example: not upgraded)
$ lxc shell sos-upgrade
# dpkg -s sosreport | grep Version:
Version: 4.4-1ubuntu1.
# apt-cache madison sosreport
sosreport | 4.4-1ubuntu0 | http://
[ Regression Potential ]
Version-only change for sosreport packages
in recently released kinetic and the devel
release lunar, which should have few users.
Users of sosreport in kinetic will be moved
from (the stale) jammy package to kinetic's,
and might hit issues/bugs from differences.
However, that would happen with later SRUs
anyway, so it's better to know of it early.
[ Original Bug Description ]
The Kinetic sosreport's version is older than jammy, because we named Kinetic (it was the devel version at the time) as 4.4-1ubuntu0 (https:/
So Jammy ends up being newer version than Kinetic, and hence Jammy users who update to Kinetic would not get the sosreport package updated.
So this bug is opened to bump the K version to 4.4-1ubuntu2
description: | updated |
description: | updated |
summary: |
- [SRU] Kinetik - bump up the version of sosreport + [SRU] Kinetic - bump up the version of sosreport |
description: | updated |
Changed in sosreport (Ubuntu Lunar): | |
status: | In Progress → Fix Committed |
PPA test packages:
----
Package upgrade happens on kinetic:
# lsb_release -cs
kinetic
# add-apt-repository ppa:mfo/ sos-upgrade- jkl
# apt-cache madison sosreport 22.10.1 | https:/ /ppa.launchpadc ontent. net/mfo/ sos-upgrade- jkl/ubuntu kinetic/main amd64 Packages archive. ubuntu. com/ubuntu kinetic/main amd64 Packages
sosreport | 4.4-1ubuntu1.
sosreport | 4.4-1ubuntu0 | http://
# apt install sosreport 22.10.1) ...
...
Setting up sosreport (4.4-1ubuntu1.
...
# dpkg -s sosreport | grep Version: 22.10.1
Version: 4.4-1ubuntu1.
Upgrade release from kinetic to lunar:
(hackish for now)
# lsb_release -cs apt/sources. list \ apt/sources. list.d/ *.list
kinetic
# sed -i 's/kinetic/lunar/' \
/etc/
/etc/
# apt update
# apt dist-upgrade
# reboot
# lsb_release -cs
lunar
Package upgrade happened on lunar:
# dpkg -s sosreport | grep Version:
Version: 4.4-1ubuntu2