Desktop canary installation fails on curtin error, E: Unable to locate package linux-generic

Bug #1959579 reported by corrado venturini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
New
Undecided
Unassigned
subiquity (Ubuntu)
Invalid
High
Unassigned

Bug Description

Try install on Dell Inc. Inspiron 3793
install ended with something went wrong
a crash file was created but bug not set to launchpad
crash.zip attached

problems:
screen 'allocate disk space shows only my nvm2 disk but I have also a sata ssd disk visible also by gparted:
ubuntu@ubuntu:~$ sudo lsblk -o NAME,LABEL,SIZE,FSUSE%,FSTYPE,MOUNTPOINT
NAME LABEL SIZE FSUSE% FSTYPE MOUNTPOINT
loop0 1.8G 100% squashfs /rofs
loop1 312.2M squashfs
loop2 782.1M squashfs
loop3 61.9M 100% squashfs /snap/core20/1328
loop4 154.6M 100% squashfs /snap/firefox/912
loop5 4K 100% squashfs /snap/bare/5
loop6 247.9M 100% squashfs /snap/gnome-3-38-2004/87
loop7 54.2M 100% squashfs /snap/snap-store/558
loop8 65.2M 100% squashfs /snap/gtk-common-themes/1519
loop9 43.4M 100% squashfs /snap/snapd/14549
loop10 124.6M 100% squashfs /snap/ubuntu-desktop-installer/270
sda 465.8G
├─sda1 canary 32G ext4
├─sda2 share1 32G 0% ext4 /media/ubuntu/share1
├─sda3 backupp 369.9G ext4
├─sda4 8G swap [SWAP]
└─sda5 share2 23.9G ext4
sdb Ubuntu 22.04 LTS amd64 14.6G iso9660
├─sdb1 Ubuntu 22.04 LTS amd64 3.8G 100% iso9660 /cdrom
├─sdb2 ESP 4.2M vfat
├─sdb3 300K
└─sdb4 writable 10.8G 0% ext4 /var/crash
sr0 1024M
nvme0n1 476.9G
├─nvme0n1p1 ESP 250M vfat
├─nvme0n1p2 n2-focal 48G ext4
├─nvme0n1p3 n3-jammy-0103 48G ext4
├─nvme0n1p4 n4-jammy-1211 48G ext4
├─nvme0n1p5 n5-impish 48G ext4
├─nvme0n1p6 DELLSUPPORT 1.8G ntfs
├─nvme0n1p7 dati 266.9G ext4
└─nvme0n1p8 jj-canary 16G ext4
ubuntu@ubuntu:~$

i don't selected 'format' but next screen format is selected
screen 'write changes to disk' does not list partitions to be formatted

ubuntu@ubuntu:~$ apt policy apport
apport:
  Installed: 2.20.11-0ubuntu76
  Candidate: 2.20.11-0ubuntu76
  Version table:
 *** 2.20.11-0ubuntu76 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status
ubuntu@ubuntu:~$

will attach more...

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: subiquity (unknown)
ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
Uname: Linux 5.15.0-18-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu76
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.465+canary3.3
CrashDB:
 {
        "impl": "launchpad",
        "project": "subiquity",
        "bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml"
     }
CurrentDesktop: ubuntu:GNOME
Date: Mon Jan 31 13:23:52 2022
LiveMediaBuild: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220131)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: subiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
corrado venturini (corradoventu) wrote :
Revision history for this message
corrado venturini (corradoventu) wrote :

attaching installer.zip

Revision history for this message
corrado venturini (corradoventu) wrote :

attaching curtin.zip

Revision history for this message
corrado venturini (corradoventu) wrote (last edit ):

attaching snapshots.zip with all snapshots from installation plus gparted and the list appearing when i try to submit bug from crash file and saying 'the crashed program seems to use third-party...

Revision history for this message
corrado venturini (corradoventu) wrote :
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1959579

tags: added: iso-testing
Revision history for this message
Sebastien Bacher (seb128) wrote :

The canary installation fails if you are not connected to internet, the curtin log has

E: Unable to locate package linux-generic

the desktop iso includes linux-generic-hwe-20.04 but subiquity or curtin don't seem to handle that alternative option?

summary: - ubuntu-desktop-installer - something went wrong
+ Desktop canary installation fails on curtin error, E: Unable to locate
+ package linux-generic
affects: subiquity → subiquity (Ubuntu)
Changed in subiquity (Ubuntu):
importance: Undecided → High
tags: added: rls-jj-incoming
Revision history for this message
corrado venturini (corradoventu) wrote :

But I was connected to internet via wifi using my smartphone as hotspot network name 'corado'
see ubuntu_desktop_installer.log
2022-01-31 11:01:39.179887 DEBUG connect_to_internet: Update access points: [AccessPoint(ssid: corado)] (WifiDevice(vendor: Qualcomm Atheros, model: QCA9377 802.11ac Wireless Network Adapter, state: activated))
and also Screenshot from 2022-01-31 12-02-01.png from screenshot.zip

Revision history for this message
Dan Bungert (dbungert) wrote :

Seb and I discussed this in another channel.
The plan is to take advantage of the ability of Subiquity to read the default kernel metapackage name from the live environment from the file "/run/kernel-meta-package"
https://github.com/canonical/subiquity/blob/47ed7dbb9b01a22b45dcdd7fbb8a814d5741f3e2/subiquity/server/controllers/kernel.py#L46

So there is no plan to change Subiquity for this for now, but we may later want a kernel API so that the installer client can choose this programmatically.

Adding a livecd-rootfs task, since that's presumably where the change will be done.
Removing the incoming tag for the same reason.

no longer affects: subiquity
Changed in subiquity (Ubuntu):
status: New → Invalid
tags: removed: rls-jj-incoming
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.