Public bug reported: 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 Errors were encountered while processing: /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 ** Affects: firefox (Ubuntu) Importance: Undecided Status: New -- 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: 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
