u-m 64bit amd 22.04 lts installer reports error removing initramfs-tools package and installation stops

Bug #1972044 reported by rich painter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu MATE
New
Undecided
Unassigned
ubiquity (Ubuntu)
New
Undecided
Unassigned

Bug Description

lenovo x1 extreme gen 4; 16gb ram; nvme gen 4 ssd samsung 980 pro 2 TB; nvme gen 3 ssd samsung 970 EVO plus 2 TB.
built usb flash drive from ubuntu-mate-22.04-desktop-amd64.iso.
booted this flash drive and selected GUI installer.
primary drive is nvme gen4 ssd 980 pro.
selected normal install
selected a wifi network interface (but was never asked for any credentials).
selected 3rd party tools.
created a gpt on the 980 pro ssd with:
p1 200mb, ext4, /boot
p2 rest of drive, ext4, /
Denver timezone
After a short time the installer showed it was running dpkg and a popup appeared stating:
Error removing initramfs-tools package post installation script subprocess returned error exit status 1 - OK
Selected OK
Installer summarized the error, installation finished, and requested reboot.

I have no clue if the installation is really finished! It never asked for the wifi credential nor did it download any 3rd party tools.
It didnt seem like it took enough time to perform the portion that it appears to have done.

What to do?
---
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 22.04
Package: ubiquity
ProcEnviron:
 LANGUAGE=en_US
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Uname: Linux 5.15.0-25-generic x86_64
UnreportableReason:
 An error occurred while attempting to process this problem report:

 'NoneType' object has no attribute 'origins'
UserGroups: N/A
_MarkForUpload: False
---
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 22.04
Package: ubiquity
ProcEnviron:
 LANGUAGE=en_US
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Uname: Linux 5.15.0-25-generic x86_64
UnreportableReason:
 An error occurred while attempting to process this problem report:

 'NoneType' object has no attribute 'origins'
UserGroups: N/A
_MarkForUpload: False

summary: - u-m 64bit amd 22.04 lts installer reports removing initramfs-tools
- package and installation stops
+ u-m 64bit amd 22.04 lts installer reports error removing initramfs-
+ tools package and installation stops
description: updated
Revision history for this message
rich painter (painterengr) wrote :

One would expect some interest in a new release that wont install properly on a brand new Lenovo X1 Extreme gen 4....

Hearing nothing I tried to install 20.04.4 lts amd64. It failed in the SAME manner with the SAME error message!

tags: added: 20.04.4 lts
Revision history for this message
Norbert (nrbrtx) wrote :

Please run

apport-collect 1972044

tags: added: jammy
tags: added: focal
removed: 20.04.4 22.04lts installer lts
tags: added: apport-collected
description: updated
description: updated
Revision history for this message
rich painter (painterengr) wrote (last edit ):

I want to let you know that the apport-collect process did not go without errors. In order to get this I first blew away the entire installation again. I installed from USB 22.04 lts amd 64bit. I did NOT run the live but rather just the Install Ubuntu.
1. check Normal Install
2. check 3rd party software
3. uncheck Config Secure boot
4. selected the (only) net interface intel wifi.
5. Select Something Else
6. on nvme0 I deleted the 2 partitions I created for the last UM install attempt
7. I created a 200mb /boot and remaining space / of the 2 TB samsung 980 pro ssd
8. set TZ Denver
9. entered user name and pw
10. Installing pane appeared and indicated "copying files" and "removing files".
11. then the error dialog popped up which I have previously reported. it was identical to the previous ones.

12 NOTE... no where did the installer ask for the wifi credentials. the subsequent UM that was installed did not have any wifi connections upon startup.

13. Upon the first startup following the failed installation a dialog popped up "System Program Problem Detected. Do you want to report?" Answering Yes caused nothing to happen.
14. from a root shell I ran apport-collect 1972044. this indicated to use a browser and go to a launchpad.net URL. That wanted my login which I provided
15. Next the launchpad.net web page indicated "Almost finished". I waited about 5 minutes for that status to change to "Finished" or the like. That never happened. I suppose this is another bug...
16. While that web page showed "Almost finished" I gambled going back to the apport-collect program which was waiting for an ENTER. I ENTERED.
17. An error emitted from apport-collect: "ERROR: AttributeError)"'NoneType' object has no attribute 'origins'"). I suppose this is yet another BUG...
18. The web page still waiting showing "Almost finished" did not finish or change in any way.
19. I ran apport-collect 1972044 again. Without output about authenticating apport-collect emitted again the same "ERROR: AttributeError("'NoneType' object has no attribute 'origins'").
20 Now I return to the bug report and see that something did actually get inserted into this bug report.

regards
painter

Revision history for this message
rich painter (painterengr) wrote :

With the help of a Lenovo person I learned that the error message was caused by the /boot partition size being too small. I made it 300mb and the installer did not produce any errors.

HOWEVER, the installer STILL does not 1) ask for WiFi credentials, 2) does not report that it cannot do any updates or 3rd party packages. It is silent. So with a laptop that only has WiFi networking and the installer does offer to select it to be used I think it is an error that never gets used and doesnt report an error.

regards
painter

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.