Public bug reported:
Ubuntu release upgrade to 26.04.1 LTS on a Lenovo ThinkPad T490 was
interrupted during package configuration. The upgrader had started dpkg
--configure -a and became blocked on matlab-support's debconf
configuration, which repeatedly opened whiptail asking for a local
MATLAB installation directory. MATLAB had previously been removed, and
no MATLAB installation or executable was found. The matlab-support
maintainer script failed with exit status 2.
At the same time, GNOME on Wayland displayed an Authentication Required
dialog over the upgrade window. It said the software was not from a
trusted source and reported incorrect permissions on
/usr/lib/polkit-1/polkit-agent-helper-1 (needs to be setuid root). The
dialog could not be authenticated or dismissed, so the upgrade window
underneath could not be operated. Restarting polkit and switching
between the graphical session and a text console did not clear this
dialog.
Recovery: I used tty3 to inspect the process tree and confirmed the
release upgrader (resolute) and its dpkg process were still running and
held the package locks. I terminated only the whiptail prompt; the
MATLAB configuration script remained and opened another prompt. After I
terminated the matlab-support configuration shell and its reopened
prompt, the upgrader continued to its completion screen. I then
acknowledged the upgrader's final screen on its original terminal and
waited for it to exit and release its locks. I did not remove lock
files. Once package management was available, I confirmed MATLAB was
absent, removed matlab-support, ran dpkg --audit and apt-get check, and
ran update-grub. dpkg --audit and apt-get check reported no remaining
package problems, and update-grub found the new 7.0.0-43 kernel and
initrd as well as the previous kernels. The system then rebooted
successfully.
Expected: the release upgrade should handle a package configuration
failure or an inaccessible debconf prompt in a way that lets the user
recover, and the authentication dialog should not leave the upgrade
interface unusable.
Actual: the configuration prompt and Polkit dialog blocked the GUI; dpkg
reported matlab-support as half-configured and the upgrader reported an
error.
Notes: I do not know whether the Polkit helper permission warning was a
separate issue or related to the upgrade. The helper permissions were
not changed manually. I used ChatGPT to help organize this report; the
recovery steps and successful reboot were observed on my laptop.
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- Ubuntu release upgrade blocked by matlab-support configuration and Polkit
authentication error
+ Ubuntu release upgrader left inaccessible behind a stuck Polkit
authentication dialog
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174788
Title:
Ubuntu release upgrader left inaccessible behind a stuck Polkit
authentication dialog
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2174788/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs