---- [[ subiquity step initial ]] ---- curtin: Installation started. (24.0.0-0-g204562c27) curtin: Installation finished. ---- [[ subiquity step partitioning ]] ---- curtin: Installation started. (24.0.0-0-g204562c27) start: cmd-install/stage-partitioning/builtin/cmd-block-meta: curtin command block-meta get_path_to_storage_volume for volume partition-sda2({'device': 'disk-sda', 'size': 35799628288, 'wipe': 'superblock', 'flag': 'linux', 'number': 2, 'preserve': True, 'grub_device': False, 'offset': 44224120832, 'partition_type': '0x83', 'path': '/dev/sda2', 'id': 'partition-sda2', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'msdos', 'serial': 'WDC_WD800JD-60LSA5_WD-WMAM9HA31059', 'path': '/dev/sda', 'preserve': True, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) Processing serial WDC_WD800JD-60LSA5_WD-WMAM9HA31059 via udev to WDC_WD800JD-60LSA5_WD-WMAM9HA31059 lookup_disks found: ['ata-WDC_WD800JD-60LSA5_WD-WMAM9HA31059', 'ata-WDC_WD800JD-60LSA5_WD-WMAM9HA31059-part1', 'ata-WDC_WD800JD-60LSA5_WD-WMAM9HA31059-part2'] Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True) /dev/sda is multipath device? False Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda'] with allowed return codes [0] (capture=True) /dev/sda is multipath device member? False block.lookup_disk() returning path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.275 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.299 devsync happy - path /dev/sda now exists return volume path /dev/sda2 block-meta: extracted devices to clear: ['/dev/sda2'] Declared block devices: ['/dev/sda2'] clearing devices=['/dev/sda2'] start: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: removing previous storage devices Running command ['mdadm', '--assemble', '--scan', '-v'] with allowed return codes [0, 1, 2] (capture=True) mdadm_assemble had unexpected return code Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.046 Running command ['pvscan'] with allowed return codes [0] (capture=True) Running command ['vgscan'] with allowed return codes [0] (capture=True) Running command ['vgchange', '--activate=y'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.024 Loading kernel module bcache via modprobe Running command ['modprobe', '--use-blacklist', 'bcache'] with allowed return codes [0] (capture=False) Generating device storage trees for path(s): ['/dev/sda2'] devname '/sys/class/block/sda2' had holders: [] Current device storage tree: sda2 Shutdown Plan: {'level': 0, 'device': '/sys/class/block/sda2', 'dev_type': 'partition'} shutdown running on holder type: 'partition' syspath: '/sys/class/block/sda2' Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "sda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "WDC WD800JD-60LSA5", "MOUNTPOINT": "", "NAME": "sda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "2", "SIZE": "80026361856", "STATE": "running", "TYPE": "disk", "UUID": "", "device_path": "/dev/sda" }, "sda1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "sda1", "LABEL": "lubuntu_2404", "LOG-SEC": "512", "MAJ:MIN": "8:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "2", "SIZE": "44223071744", "STATE": "", "TYPE": "part", "UUID": "24611116-48e0-47e3-af47-4cd692dcdbd6", "device_path": "/dev/sda1" }, "sda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "sda2", "LABEL": "lubuntu_2404", "LOG-SEC": "512", "MAJ:MIN": "8:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "2", "SIZE": "35799628288", "STATE": "", "TYPE": "part", "UUID": "4b96ae36-ff60-46ff-888d-bab52f0664fc", "device_path": "/dev/sda2" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID'] with allowed return codes [0] (capture=True) Checking if /dev/sda2 is a swap device Found swap magic: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' wiping superblock on /dev/sda2 wiping /dev/sda2 attempt 1/4 Running command ['wipefs', '--all', '--force', '/dev/sda2'] with allowed return codes [0] (capture=False) /dev/sda2: 2 bytes were erased at offset 0x00000438 (ext4): 53 ef wiping 1M on /dev/sda2 at offsets [0, -1048576] successfully wiped device /dev/sda2 on attempt 1/4 devname '/sys/class/block/sda2' had holders: [] finish: cmd-install/stage-partitioning/builtin/cmd-block-meta/clear-holders: SUCCESS: removing previous storage devices blockmeta: detected storage config, using mode=custom start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring disk: disk-sda get_path_to_storage_volume for volume disk-sda({'ptable': 'msdos', 'serial': 'WDC_WD800JD-60LSA5_WD-WMAM9HA31059', 'path': '/dev/sda', 'preserve': True, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.443 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "sda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "WDC WD800JD-60LSA5", "MOUNTPOINT": "", "NAME": "sda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "2", "SIZE": "80026361856", "STATE": "running", "TYPE": "disk", "UUID": "", "device_path": "/dev/sda" }, "sda1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "sda1", "LABEL": "lubuntu_2404", "LOG-SEC": "512", "MAJ:MIN": "8:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "2", "SIZE": "44223071744", "STATE": "", "TYPE": "part", "UUID": "24611116-48e0-47e3-af47-4cd692dcdbd6", "device_path": "/dev/sda1" }, "sda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "2", "SIZE": "35799628288", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/sda2" } } get_blockdev_sector_size: (log=512, phys=512) disk: current ptable type: dos disk '/dev/sda' marked to be preserved, so keeping partition table get_path_to_storage_volume for volume disk-sda({'ptable': 'msdos', 'serial': 'WDC_WD800JD-60LSA5_WD-WMAM9HA31059', 'path': '/dev/sda', 'preserve': True, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.226 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "sda": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:0", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "WDC WD800JD-60LSA5", "MOUNTPOINT": "", "NAME": "sda", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "2", "SIZE": "80026361856", "STATE": "running", "TYPE": "disk", "UUID": "", "device_path": "/dev/sda" }, "sda1": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "ext4", "GROUP": "disk", "KNAME": "sda1", "LABEL": "lubuntu_2404", "LOG-SEC": "512", "MAJ:MIN": "8:1", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda1", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "2", "SIZE": "44223071744", "STATE": "", "TYPE": "part", "UUID": "24611116-48e0-47e3-af47-4cd692dcdbd6", "device_path": "/dev/sda1" }, "sda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "2", "SIZE": "35799628288", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/sda2" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['sfdisk', '--json', '/dev/sda'] with allowed return codes [0] (capture=True) Verifying /dev/sda1 size, expecting 44223071744 bytes, found 44223071744 bytes Verifying /dev/sda1 offset, expecting 1048576, found 1048576 Verifying /dev/sda1 partition flag, expecting boot, found boot Verifying /dev/sda2 size, expecting 35799628288 bytes, found 35799628288 bytes Verifying /dev/sda2 offset, expecting 44224120832, found 44224120832 Verifying /dev/sda2 partition flag, expecting linux, found linux Wiping 1M on /dev/sda at offset 44224120832 sfdisk input: --- label: dos label-id: 0xb22c54df 1: start=2048 size=86373187 type=0x83 bootable 2: start=86375236 size=69921149 type=0x83 --- Running command ['losetup', '--version'] with allowed return codes [0] (capture=True) Running command ['sfdisk', '--no-reread', '/dev/sda', '--no-tell-kernel'] with allowed return codes [0] (capture=False) Disk /dev/sda: 74.53 GiB, 80026361856 bytes, 156301488 sectors Disk model: WDC WD800JD-60LS Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xb22c54df Old situation: Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 86375234 86373187 41.2G 83 Linux /dev/sda2 86375236 156296384 69921149 33.3G 83 Linux >>> Script header accepted. >>> Script header accepted. >>> Created a new DOS (MBR) disklabel with disk identifier 0xb22c54df. /dev/sda1: Created a new partition 1 of type 'Linux' and of size 41.2 GiB. Partition #1 contains a ext4 signature. /dev/sda2: Created a new partition 2 of type 'Linux' and of size 33.3 GiB. /dev/sda3: Done. New situation: Disklabel type: dos Disk identifier: 0xb22c54df Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 86375234 86373187 41.2G 83 Linux /dev/sda2 86375236 156296384 69921149 33.3G 83 Linux The partition table has been altered. Running command ['partprobe', '/dev/sda'] with allowed return codes [0] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.233 Running command ['wipefs', '--all', '--force', '/dev/sda2'] with allowed return codes [0] (capture=False) wiping 1M on /dev/sda2 at offsets [0, -1048576] get_path_to_storage_volume for volume partition-sda1({'device': 'disk-sda', 'size': 44223071744, 'flag': 'boot', 'number': 1, 'preserve': True, 'grub_device': False, 'offset': 1048576, 'partition_type': '0x83', 'path': '/dev/sda1', 'id': 'partition-sda1', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'msdos', 'serial': 'WDC_WD800JD-60LSA5_WD-WMAM9HA31059', 'path': '/dev/sda', 'preserve': True, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.358 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.256 devsync happy - path /dev/sda now exists return volume path /dev/sda1 Running command ['blkid', '-o', 'export', '/dev/sda1'] with allowed return codes [0, 2] (capture=True) No partition-specific dname get_path_to_storage_volume for volume partition-sda2({'device': 'disk-sda', 'size': 35799628288, 'wipe': 'superblock', 'flag': 'linux', 'number': 2, 'preserve': True, 'grub_device': False, 'offset': 44224120832, 'partition_type': '0x83', 'path': '/dev/sda2', 'id': 'partition-sda2', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'msdos', 'serial': 'WDC_WD800JD-60LSA5_WD-WMAM9HA31059', 'path': '/dev/sda', 'preserve': True, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.151 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.152 devsync happy - path /dev/sda now exists return volume path /dev/sda2 Running command ['blkid', '-o', 'export', '/dev/sda2'] with allowed return codes [0, 2] (capture=True) No partition-specific dname finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring disk: disk-sda start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: partition-sda1 get_path_to_storage_volume for volume partition-sda1({'device': 'disk-sda', 'size': 44223071744, 'flag': 'boot', 'number': 1, 'preserve': True, 'grub_device': False, 'offset': 1048576, 'partition_type': '0x83', 'path': '/dev/sda1', 'id': 'partition-sda1', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'msdos', 'serial': 'WDC_WD800JD-60LSA5_WD-WMAM9HA31059', 'path': '/dev/sda', 'preserve': True, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.150 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.165 devsync happy - path /dev/sda now exists return volume path /dev/sda1 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring partition: partition-sda1 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring partition: partition-sda2 get_path_to_storage_volume for volume partition-sda2({'device': 'disk-sda', 'size': 35799628288, 'wipe': 'superblock', 'flag': 'linux', 'number': 2, 'preserve': True, 'grub_device': False, 'offset': 44224120832, 'partition_type': '0x83', 'path': '/dev/sda2', 'id': 'partition-sda2', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'msdos', 'serial': 'WDC_WD800JD-60LSA5_WD-WMAM9HA31059', 'path': '/dev/sda', 'preserve': True, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.156 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.146 devsync happy - path /dev/sda now exists return volume path /dev/sda2 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring partition: partition-sda2 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring format: format-0 get_path_to_storage_volume for volume partition-sda2({'device': 'disk-sda', 'size': 35799628288, 'wipe': 'superblock', 'flag': 'linux', 'number': 2, 'preserve': True, 'grub_device': False, 'offset': 44224120832, 'partition_type': '0x83', 'path': '/dev/sda2', 'id': 'partition-sda2', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'msdos', 'serial': 'WDC_WD800JD-60LSA5_WD-WMAM9HA31059', 'path': '/dev/sda', 'preserve': True, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.180 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.317 devsync happy - path /dev/sda now exists return volume path /dev/sda2 mkfs /dev/sda2 info: {'fstype': 'ext4', 'volume': 'partition-sda2', 'preserve': False, 'id': 'format-0', 'type': 'format'} Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda2'] with allowed return codes [0] (capture=True) get_blockdev_sector_size: info: { "sda2": { "ALIGNMENT": "0", "DISC-ALN": "0", "DISC-GRAN": "512", "DISC-MAX": "0", "DISC-ZERO": "0", "FSTYPE": "", "GROUP": "disk", "KNAME": "sda2", "LABEL": "", "LOG-SEC": "512", "MAJ:MIN": "8:2", "MIN-IO": "512", "MODE": "brw-rw----", "MODEL": "", "MOUNTPOINT": "", "NAME": "sda2", "OPT-IO": "0", "OWNER": "root", "PHY-SEC": "512", "RM": "0", "RO": "0", "ROTA": "1", "RQ-SIZE": "2", "SIZE": "35799628288", "STATE": "", "TYPE": "part", "UUID": "", "device_path": "/dev/sda2" } } get_blockdev_sector_size: (log=512, phys=512) Running command ['mkfs.ext4', '-F', '-U', 'c284539c-8594-45de-84fd-d5db21fdecb1', '/dev/sda2'] with allowed return codes [0] (capture=True) Formated device type: partition finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring format: format-0 start: cmd-install/stage-partitioning/builtin/cmd-block-meta: configuring mount: mount-0 get_path_to_storage_volume for volume partition-sda2({'device': 'disk-sda', 'size': 35799628288, 'wipe': 'superblock', 'flag': 'linux', 'number': 2, 'preserve': True, 'grub_device': False, 'offset': 44224120832, 'partition_type': '0x83', 'path': '/dev/sda2', 'id': 'partition-sda2', 'type': 'partition'}) get_path_to_storage_volume for volume disk-sda({'ptable': 'msdos', 'serial': 'WDC_WD800JD-60LSA5_WD-WMAM9HA31059', 'path': '/dev/sda', 'preserve': True, 'name': '', 'grub_device': True, 'id': 'disk-sda', 'type': 'disk'}) /dev/sda is multipath device member? False /dev/sda is multipath device member? False found candidate disks [{'/dev/sda'}, {'/dev/sda'}] Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.146 devsync happy - path /dev/sda now exists return volume path /dev/sda Running command ['partprobe', '/dev/sda'] with allowed return codes [0, 1] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED udevadm_settle(): 0.176 devsync happy - path /dev/sda now exists return volume path /dev/sda2 volume_path=/dev/sda2 found slaves: ['sda2'] kname_is_iscsi: no iscsi disk found for kname sda2 kname_is_iscsi: no iscsi disk found for kname sda2 Running command ['mount', '-t', 'ext4', '-o', 'defaults', '/dev/sda2', '/target/'] with allowed return codes [0] (capture=True) Running command ['udevadm', 'info', '--query=property', '--export', '/dev/sda2'] with allowed return codes [0] (capture=True) Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda2'] with allowed return codes [0] (capture=True) volspec: path=/dev/sda2 type=part info[DEVLINKS] = ['/dev/disk/by-partuuid/b22c54df-02', '/dev/disk/by-uuid/c284539c-8594-45de-84fd-d5db21fdecb1', '/dev/disk/by-path/pci-0000:00:1f.2-ata-1.0-part2', '/dev/disk/by-diskseq/9-part2', '/dev/disk/by-path/pci-0000:00:1f.2-ata-1-part2', '/dev/disk/by-id/ata-WDC_WD800JD-60LSA5_WD-WMAM9HA31059-part2'] finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: configuring mount: mount-0 TIMED BLOCK_META: 16.866 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: SUCCESS: curtin command block-meta curtin: Installation finished. ---- [[ subiquity step extract ]] ---- curtin: Installation started. (24.0.0-0-g204562c27) start: cmd-install/stage-extract/builtin/cmd-extract: curtin command extract Installing sources: [{'type': 'tgz', 'uri': 'cp:///tmp/tmp6_5nk6_v/mount'}] to target at /target start: cmd-install/stage-extract/builtin/cmd-extract: acquiring and extracting image from cp:///tmp/tmp6_5nk6_v/mount Setting up Trivial Source for stack /tmp/tmp6_5nk6_v/mount Running command ['rsync', '-aXHAS', '--one-file-system', '/tmp/tmp6_5nk6_v/mount/', '.'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: acquiring and extracting image from cp:///tmp/tmp6_5nk6_v/mount Applying write_files from config. finish: cmd-install/stage-extract/builtin/cmd-extract: SUCCESS: curtin command extract curtin: Installation finished. ---- [[ subiquity step curthooks ]] ---- curtin: Installation started. (24.0.0-0-g204562c27) start: cmd-install/stage-curthooks/builtin/cmd-curthooks: curtin command curthooks Running curtin builtin curthooks Configuring target system for distro: ubuntu osfamily: debian start: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-apt-config: configuring apt configuring apt No apt config provided, skipping Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Diverting original update-initramfs in target. Running command ['unshare', '--help'] with allowed return codes [0] (capture=True) Checking if target_proc (/target/proc) is a mount It is, so unshare will use --mount-proc=/target/proc Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'dpkg-divert', '--add', '--rename', '--divert', '/usr/sbin/update-initramfs.curtin-disabled', '/usr/sbin/update-initramfs'] with allowed return codes [0] (capture=False) Adding 'local diversion of /usr/sbin/update-initramfs to /usr/sbin/update-initramfs.curtin-disabled' Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.011 Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-apt-config: SUCCESS: configuring apt configuring apt Checking if target_proc (/target/proc) is a mount It's not, using normal behavior Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'lsb_release', '--all'] with allowed return codes [0] (capture=True) start: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-missing-packages: installing missing packages Checking if target_proc (/target/proc) is a mount It's not, using normal behavior Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True) Curtin config dependencies requires additional packages: ['e2fsprogs'] Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) Skipping install of {'ifenslave', 'vlan', 'bridge-utils', 'grub-pc'}. Not needed on netplan system. start: cmd-install/stage-curthooks/builtin/cmd-curthooks: Installing packages on target system: ['grub-pc'] Updating apt sources in /target Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Checking if target_proc (/target/proc) is a mount It is, so unshare will use --mount-proc=/target/proc Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--option=Acquire::Languages=none', 'update'] with allowed return codes [0] (capture=False) Running in chroot, ignoring command 'start' Get:1 file:/cdrom noble InRelease Ign:1 file:/cdrom noble InRelease Hit:2 http://au.archive.ubuntu.com/ubuntu noble InRelease Get:3 file:/cdrom noble Release [1956 B] Hit:4 http://au.archive.ubuntu.com/ubuntu noble-updates InRelease Hit:5 http://au.archive.ubuntu.com/ubuntu noble-backports InRelease Get:3 file:/cdrom noble Release [1956 B] Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease Reading package lists... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.014 Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Checking if target_proc (/target/proc) is a mount It is, so unshare will use --mount-proc=/target/proc Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'grub-pc'] with allowed return codes [0] (capture=False) Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: grub-gfxpayload-lists grub-pc-bin grub2-common Suggested packages: desktop-base The following NEW packages will be installed: grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common 0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded. Need to get 1907 kB of archives. After this operation, 5258 kB of additional disk space will be used. Get:1 http://au.archive.ubuntu.com/ubuntu noble/main amd64 grub2-common amd64 2.12-1ubuntu7 [669 kB] Get:2 http://au.archive.ubuntu.com/ubuntu noble/main amd64 grub-pc-bin amd64 2.12-1ubuntu7 [1097 kB] Get:3 http://au.archive.ubuntu.com/ubuntu noble/main amd64 grub-pc amd64 2.12-1ubuntu7 [137 kB] Get:4 http://au.archive.ubuntu.com/ubuntu noble/main amd64 grub-gfxpayload-lists amd64 0.7build1 [3514 B] Fetched 1907 kB in 1s (1409 kB/s) Download complete and in download only mode Checking if target_proc (/target/proc) is a mount It is, so unshare will use --mount-proc=/target/proc Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', 'grub-pc'] with allowed return codes [0] (capture=False) Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: grub-gfxpayload-lists grub-pc-bin grub2-common Suggested packages: desktop-base The following NEW packages will be installed: grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Preconfiguring packages ... 0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded. Need to get 0 B/1907 kB of archives. After this operation, 5258 kB of additional disk space will be used. E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device) Selecting previously unselected package grub2-common. (Reading database ... 120973 files and directories currently installed.) Preparing to unpack .../grub2-common_2.12-1ubuntu7_amd64.deb ... Unpacking grub2-common (2.12-1ubuntu7) ... Selecting previously unselected package grub-pc-bin. Preparing to unpack .../grub-pc-bin_2.12-1ubuntu7_amd64.deb ... Unpacking grub-pc-bin (2.12-1ubuntu7) ... Selecting previously unselected package grub-pc. Preparing to unpack .../grub-pc_2.12-1ubuntu7_amd64.deb ... Unpacking grub-pc (2.12-1ubuntu7) ... Selecting previously unselected package grub-gfxpayload-lists. Preparing to unpack .../grub-gfxpayload-lists_0.7build1_amd64.deb ... Unpacking grub-gfxpayload-lists (0.7build1) ... Setting up grub2-common (2.12-1ubuntu7) ... Setting up grub-pc-bin (2.12-1ubuntu7) ... Setting up grub-gfxpayload-lists (0.7build1) ... Setting up grub-pc (2.12-1ubuntu7) ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Creating config file /etc/default/grub with new version Processing triggers for install-info (7.1-3build2) ... Processing triggers for man-db (2.12.0-4build1) ... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.016 Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Checking if target_proc (/target/proc) is a mount It is, so unshare will use --mount-proc=/target/proc Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', 'clean'] with allowed return codes [0] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.016 Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: SUCCESS: Installing packages on target system: ['grub-pc'] finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-missing-packages: SUCCESS: installing missing packages start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-iscsi-service: configuring iscsi service finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-iscsi-service: SUCCESS: configuring iscsi service start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-mdadm-service: configuring raid (mdadm) service finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-mdadm-service: SUCCESS: configuring raid (mdadm) service start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-nvme-over-tcp: configuring NVMe over TCP finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-nvme-over-tcp: SUCCESS: configuring NVMe over TCP start: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-kernel: installing kernel Checking if target_proc (/target/proc) is a mount It's not, using normal behavior Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'lsb_release', '--all'] with allowed return codes [0] (capture=True) Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) Updating apt sources in /target Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Checking if target_proc (/target/proc) is a mount It is, so unshare will use --mount-proc=/target/proc Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--option=Acquire::Languages=none', 'update'] with allowed return codes [0] (capture=False) Running in chroot, ignoring command 'start' Get:1 file:/cdrom noble InRelease Ign:1 file:/cdrom noble InRelease Get:2 file:/cdrom noble Release [1956 B] Get:2 file:/cdrom noble Release [1956 B] Hit:3 http://au.archive.ubuntu.com/ubuntu noble InRelease Hit:4 http://au.archive.ubuntu.com/ubuntu noble-updates InRelease Hit:5 http://au.archive.ubuntu.com/ubuntu noble-backports InRelease Hit:7 http://security.ubuntu.com/ubuntu noble-security InRelease Reading package lists... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.010 Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Checking if target_proc (/target/proc) is a mount It is, so unshare will use --mount-proc=/target/proc Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'linux-generic'] with allowed return codes [0] (capture=False) Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: linux-image-generic : Depends: linux-firmware but it is not installable Recommends: thermald but it is not going to be installed E: Unable to correct problems, you have held broken packages. Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.017 Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-kernel: FAIL: installing kernel finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks Traceback (most recent call last): File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/commands/main.py", line 202, in main ret = args.func(args) File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 2224, in curthooks builtin_curthooks(cfg, target, state) File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 2048, in builtin_curthooks install_kernel(cfg, target) File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 393, in install_kernel install(kernel_package) File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 369, in install distro.install_packages([pkg], target=target, env=env) File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/distro.py", line 473, in install_packages return install_cmd('install', args=pkglist, opts=opts, target=target, File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/distro.py", line 255, in run_apt_command cmd_rv = apt_install(mode, args, opts=opts, env=env, target=target, File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/distro.py", line 303, in apt_install cmd_rv = inchroot.subp(cmd + dl_opts + packages, env=env, File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/util.py", line 843, in subp return subp(*args, **kwargs) File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/util.py", line 323, in subp return _subp(*args, **kwargs) File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/util.py", line 172, in _subp raise ProcessExecutionError(stdout=out, stderr=err, curtin.util.ProcessExecutionError: Unexpected error while running command. Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'linux-generic'] Exit code: 100 Reason: - Stdout: '' Stderr: '' Unexpected error while running command. Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'linux-generic'] Exit code: 100 Reason: - Stdout: '' Stderr: '' curtin: Installation failed with exception: Unexpected error while running command. Command: ['curtin', 'curthooks'] Exit code: 3 Reason: - Stdout: start: cmd-install/stage-curthooks/builtin/cmd-curthooks: curtin command curthooks Running curtin builtin curthooks Configuring target system for distro: ubuntu osfamily: debian start: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-apt-config: configuring apt configuring apt No apt config provided, skipping Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Diverting original update-initramfs in target. Running command ['unshare', '--help'] with allowed return codes [0] (capture=True) Checking if target_proc (/target/proc) is a mount It is, so unshare will use --mount-proc=/target/proc Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'dpkg-divert', '--add', '--rename', '--divert', '/usr/sbin/update-initramfs.curtin-disabled', '/usr/sbin/update-initramfs'] with allowed return codes [0] (capture=False) Adding 'local diversion of /usr/sbin/update-initramfs to /usr/sbin/update-initramfs.curtin-disabled' Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.011 Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/writing-apt-config: SUCCESS: configuring apt configuring apt Checking if target_proc (/target/proc) is a mount It's not, using normal behavior Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'lsb_release', '--all'] with allowed return codes [0] (capture=True) start: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-missing-packages: installing missing packages Checking if target_proc (/target/proc) is a mount It's not, using normal behavior Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'dpkg-query', '--list'] with allowed return codes [0] (capture=True) Curtin config dependencies requires additional packages: ['e2fsprogs'] Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) Skipping install of {'ifenslave', 'vlan', 'bridge-utils', 'grub-pc'}. Not needed on netplan system. start: cmd-install/stage-curthooks/builtin/cmd-curthooks: Installing packages on target system: ['grub-pc'] Updating apt sources in /target Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Checking if target_proc (/target/proc) is a mount It is, so unshare will use --mount-proc=/target/proc Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--option=Acquire::Languages=none', 'update'] with allowed return codes [0] (capture=False) Running in chroot, ignoring command 'start' Get:1 file:/cdrom noble InRelease Ign:1 file:/cdrom noble InRelease Hit:2 http://au.archive.ubuntu.com/ubuntu noble InRelease Get:3 file:/cdrom noble Release [1956 B] Hit:4 http://au.archive.ubuntu.com/ubuntu noble-updates InRelease Hit:5 http://au.archive.ubuntu.com/ubuntu noble-backports InRelease Get:3 file:/cdrom noble Release [1956 B] Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease Reading package lists... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.014 Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Checking if target_proc (/target/proc) is a mount It is, so unshare will use --mount-proc=/target/proc Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'grub-pc'] with allowed return codes [0] (capture=False) Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: grub-gfxpayload-lists grub-pc-bin grub2-common Suggested packages: desktop-base The following NEW packages will be installed: grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common 0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded. Need to get 1907 kB of archives. After this operation, 5258 kB of additional disk space will be used. Get:1 http://au.archive.ubuntu.com/ubuntu noble/main amd64 grub2-common amd64 2.12-1ubuntu7 [669 kB] Get:2 http://au.archive.ubuntu.com/ubuntu noble/main amd64 grub-pc-bin amd64 2.12-1ubuntu7 [1097 kB] Get:3 http://au.archive.ubuntu.com/ubuntu noble/main amd64 grub-pc amd64 2.12-1ubuntu7 [137 kB] Get:4 http://au.archive.ubuntu.com/ubuntu noble/main amd64 grub-gfxpayload-lists amd64 0.7build1 [3514 B] Fetched 1907 kB in 1s (1409 kB/s) Download complete and in download only mode Checking if target_proc (/target/proc) is a mount It is, so unshare will use --mount-proc=/target/proc Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', 'grub-pc'] with allowed return codes [0] (capture=False) Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: grub-gfxpayload-lists grub-pc-bin grub2-common Suggested packages: desktop-base The following NEW packages will be installed: grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Preconfiguring packages ... 0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded. Need to get 0 B/1907 kB of archives. After this operation, 5258 kB of additional disk space will be used. E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device) Selecting previously unselected package grub2-common. (Reading database ... 120973 files and directories currently installed.) Preparing to unpack .../grub2-common_2.12-1ubuntu7_amd64.deb ... Unpacking grub2-common (2.12-1ubuntu7) ... Selecting previously unselected package grub-pc-bin. Preparing to unpack .../grub-pc-bin_2.12-1ubuntu7_amd64.deb ... Unpacking grub-pc-bin (2.12-1ubuntu7) ... Selecting previously unselected package grub-pc. Preparing to unpack .../grub-pc_2.12-1ubuntu7_amd64.deb ... Unpacking grub-pc (2.12-1ubuntu7) ... Selecting previously unselected package grub-gfxpayload-lists. Preparing to unpack .../grub-gfxpayload-lists_0.7build1_amd64.deb ... Unpacking grub-gfxpayload-lists (0.7build1) ... Setting up grub2-common (2.12-1ubuntu7) ... Setting up grub-pc-bin (2.12-1ubuntu7) ... Setting up grub-gfxpayload-lists (0.7build1) ... Setting up grub-pc (2.12-1ubuntu7) ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Creating config file /etc/default/grub with new version Processing triggers for install-info (7.1-3build2) ... Processing triggers for man-db (2.12.0-4build1) ... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.016 Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Checking if target_proc (/target/proc) is a mount It is, so unshare will use --mount-proc=/target/proc Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', 'clean'] with allowed return codes [0] (capture=False) Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.016 Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: SUCCESS: Installing packages on target system: ['grub-pc'] finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-missing-packages: SUCCESS: installing missing packages start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-iscsi-service: configuring iscsi service finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-iscsi-service: SUCCESS: configuring iscsi service start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-mdadm-service: configuring raid (mdadm) service finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-mdadm-service: SUCCESS: configuring raid (mdadm) service start: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-nvme-over-tcp: configuring NVMe over TCP finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-nvme-over-tcp: SUCCESS: configuring NVMe over TCP start: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-kernel: installing kernel Checking if target_proc (/target/proc) is a mount It's not, using normal behavior Running command ['unshare', '--fork', '--pid', '--', 'chroot', '/target', 'lsb_release', '--all'] with allowed return codes [0] (capture=True) Running command ['dpkg', '--print-architecture'] with allowed return codes [0] (capture=True) Updating apt sources in /target Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Checking if target_proc (/target/proc) is a mount It is, so unshare will use --mount-proc=/target/proc Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--option=Acquire::Languages=none', 'update'] with allowed return codes [0] (capture=False) Running in chroot, ignoring command 'start' Get:1 file:/cdrom noble InRelease Ign:1 file:/cdrom noble InRelease Get:2 file:/cdrom noble Release [1956 B] Get:2 file:/cdrom noble Release [1956 B] Hit:3 http://au.archive.ubuntu.com/ubuntu noble InRelease Hit:4 http://au.archive.ubuntu.com/ubuntu noble-updates InRelease Hit:5 http://au.archive.ubuntu.com/ubuntu noble-backports InRelease Hit:7 http://security.ubuntu.com/ubuntu noble-security InRelease Reading package lists... Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.010 Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/dev', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/proc', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/run', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/sys', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--bind', '/target/usr/bin/true', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Checking if target_proc (/target/proc) is a mount It is, so unshare will use --mount-proc=/target/proc Running command ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'linux-generic'] with allowed return codes [0] (capture=False) Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: linux-image-generic : Depends: linux-firmware but it is not installable Recommends: thermald but it is not going to be installed E: Unable to correct problems, you have held broken packages. Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False) TIMED subp(['udevadm', 'settle']): 0.017 Running command ['mount', '--make-private', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/usr/bin/ischroot'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/sys'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/run'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/run'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/proc'] with allowed return codes [0] (capture=False) Running command ['mount', '--make-private', '/target/dev'] with allowed return codes [0] (capture=False) Running command ['umount', '/target/dev'] with allowed return codes [0] (capture=False) finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/installing-kernel: FAIL: installing kernel finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks Traceback (most recent call last): File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/commands/main.py", line 202, in main ret = args.func(args) File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 2224, in curthooks builtin_curthooks(cfg, target, state) File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 2048, in builtin_curthooks install_kernel(cfg, target) File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 393, in install_kernel install(kernel_package) File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/commands/curthooks.py", line 369, in install distro.install_packages([pkg], target=target, env=env) File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/distro.py", line 473, in install_packages return install_cmd('install', args=pkglist, opts=opts, target=target, File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/distro.py", line 255, in run_apt_command cmd_rv = apt_install(mode, args, opts=opts, env=env, target=target, File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/distro.py", line 303, in apt_install cmd_rv = inchroot.subp(cmd + dl_opts + packages, env=env, File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/util.py", line 843, in subp return subp(*args, **kwargs) File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/util.py", line 323, in subp return _subp(*args, **kwargs) File "/snap/ubuntu-desktop-bootstrap/113/lib/python3.10/site-packages/curtin/util.py", line 172, in _subp raise ProcessExecutionError(stdout=out, stderr=err, curtin.util.ProcessExecutionError: Unexpected error while running command. Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'linux-generic'] Exit code: 100 Reason: - Stdout: '' Stderr: '' Unexpected error while running command. Command: ['unshare', '--fork', '--pid', '--mount-proc=/target/proc', '--', 'chroot', '/target', 'apt-get', '--quiet', '--assume-yes', '--option=Dpkg::options::=--force-unsafe-io', '--option=Dpkg::Options::=--force-confold', 'install', '--download-only', 'linux-generic'] Exit code: 100 Reason: - Stdout: '' Stderr: '' Stderr: ''