I did some research today. I think this bug affects all LTS releases.
As Nick Rosbrook (enr0n) suggested we can use $VERSION to parse the version id
with the point release number like this $(echo "$VERSION"| grep -o -s -E
'^[0-9\.]+')
, but this would still not fix the bug for all LTS users who haven't the most
up to date /etc/os-release file.
For example:
When 22.04.02 gets released; a user that hasn't updated yet still has an
/etc/os-release file with the value VERSION="22.04.1 LTS (Jammy Jellyfish)"
This would still result in a broken link.
Alternative solutions would be:
1. using a web-crawler that looks for the latest release url (overcomplicated)
2. setting up a redirection from the "broken" url to the correct one
Alternative 2 would result in an instant-fix without needing the user to
update and is simple. I have to find out who I would need to ask for
that.
** Changed in: casper (Ubuntu Jammy)
Assignee: (unassigned) => Dominik Viererbe (dviererbe)
** Changed in: casper (Ubuntu)
Assignee: (unassigned) => Dominik Viererbe (dviererbe)
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1990621
Title:
PXE Boot contains wrong suggested link to ISO for live file system
Status in casper package in Ubuntu:
Triaged
Status in linux package in Ubuntu:
Invalid
Status in casper source package in Jammy:
Triaged
Status in linux source package in Jammy:
Invalid
Bug description:
When PXE booting without pulling in squashfs correctly the system
tried to be helpful (:-) and grab an ISO. The 22.04.1 Jammy release
contains a link to the old version which is not present anymore.
-------
Unable to find a medium containing a live file system
Attempt interactive netboot from a URL?
yes no (default yes):
Two methods available for IP configuration:
* static: for static IP configuration
* dhcp: for automatic IP configuration
static dhcp (default 'dhcp'):
vlan id (optional):
https://releases.ubuntu.com/jammy/ubuntu-22.04-live-server-amd64.iso
(default)
https://releases.ubuntu.com/jammy/ubuntu-22.04-desktop-amd64.iso
url:
http_proxy (optional):
[ 125.454385] igb 0000:00:14.0 eno1: igb: eno1 NIC Link is Up 1000 Mbps Full
Duplex, Flow Control: RX/TX
[ 125.566067] IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready
Begin: Trying netboot from 10.0.~.1: ... Begin: Trying to download and mount
https://releases.ubuntu.com/jammy/ubuntu-22.04-live-server-amd64.iso ...
BusyBox v1.30.1 (Ubuntu 1:1.30.1-7ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) Connecting to releases.ubuntu.com (185.125.190.37:443)
wget: server returned error: HTTP/1.1 404 Not Found
done.
Unable to find a medium containing a live file system
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1990621/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp