Maxime, I'm doing the upload for 26.04. I strongly recommend you to make the test plan more detailed than what I did to decrease the chances the SRU is rejected.
** Description changed: + [Impact] + + Firefox deb package causes ubuntu-desktop installation to fail when + autoinstalling. + + [Test plan] + + Do an autoinstall of Ubuntu[1]. It must succeed. + + [Regression potential] + + Regressions could occur during the installation of the package (similar + to what the original report describes) or the installation of the + package could succeed and have the Firefox browser nonetheless missing + (e.g. by not really running snap install). + + [Original bug report] + Hi, I use Ubuntu autoinstall[1] to automate Ubuntu installations. While testing 26.04, I noticed that the ubuntu-desktop installation failed with apt error 100. I use the `packages` section of the autoinstall[2] to install ubuntu- desktop. To troubleshoot this issue, I have added the following command in late- commands[3] since the logs did not provide sufficient details. curtin in-target --target=/target -- apt-get install -y ubuntu-desktop 2>&1 | tee /target/ubuntu-desktop-apt.log The ubuntu-desktop-apt.log then showed: ``` ==> Installing the firefox snap /var/lib/dpkg/tmp.ci/preinst: 80: cannot create /dev/tty: No such device or address dpkg: error processing archive /tmp/apt-dpkg-install-jl4ZBb/019-firefox_1%3a1snap1-0ubuntu8_amd64.deb (--unpack): - new firefox package preinst maintainer script subprocess failed with exit status 2 + new firefox package preinst maintainer script subprocess failed with exit status 2 Errors were encountered while processing: - /tmp/apt-dpkg-install-jl4ZBb/019-firefox_1%3a1snap1-0ubuntu8_amd64.deb + /tmp/apt-dpkg-install-jl4ZBb/019-firefox_1%3a1snap1-0ubuntu8_amd64.deb ``` The /dev/tty in the preinst script has been added to workaround LP: #1886414 which is now fixed in snapd. Could this workaround be removed ? - [1] https://canonical-subiquity.readthedocs-hosted.com/en/latest/intro-to-autoinstall.html [2] https://canonical-subiquity.readthedocs-hosted.com/en/latest/reference/autoinstall-reference.html#packages [3] https://canonical-subiquity.readthedocs-hosted.com/en/latest/reference/autoinstall-reference.html#late-commands -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2152888 Title: [SRU] Firefox fails to install with Ubuntu subiquity autoinstall: preinst cannot create /dev/tty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2152888/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
