regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.5k stars 31 forks source link

Cannot install updates from Update Manager with Regolith 3.2 (testing) on Linux Mint 22 #1047

Open mbtuckersimm opened 3 weeks ago

mbtuckersimm commented 3 weeks ago

Describe the bug On Linux Mint 22 (based on Ubuntu 24.04), using Regolith 3.2 testing, I am unable to install system updates via the Update Manager. When I try, the tray icon for the update manager turns red with an exclamation point (as shown in the attached screenshot) and nothing installs.

I can install updates through the command line just fine.

I don't know much about this stuff, but a little googling suggests that the problems lies with something called polkit.

I know Linux Mint isn't one of your supported distros, but I used Regolith 2 just fine on Mint 21. I upgraded to Mint 22 not realizing that Ubuntu 24.04 wasn't fully supported yet by Regolith. I really hope this can be fixed! Please let me know if there's anything I can do to get more information or otherwise help fix the bug.

To Reproduce

  1. Open Update Manager.
  2. Click "Install Updates"

Expected behavior The updates should install with no problems.

Screenshots The tray icon after I try to install updates:

image

The log information shown in the View > Information menu item:

image

Configuration file(s) Please attach or mention any customization you've done to configuration files which might have an impact on the bug you are describing. It'll help us determine the root cause of your issue.

The only customization I've done to my Regolith install is changing these Xresources:

i3xrocks.date.format2: %a %b %d %H:%M %Z
wm.bar.separatorchar: " | "
i3xrocks.value.font: Jetbrains Mono 14
regolith.wallpaper.file: /home/matthew/Pictures/wallpapers/sshah_star_trails.jpg
regolith.lockscreen.wallpaper.file: /home/matthew/Pictures/wallpapers/sshah_star_trails.jpg
gtk.icon_theme_name: Papirus-Dark
Xcursor.theme: Bibata-Modern-Classic

# use Nemo instead of Nautilus for file browser
wm.program.files: /usr/bin/nemo

Installation Details

Additional context

Here is the logging data from View > Information in text form:

08.22@12:38 ++ Inhibited power management
08.22@12:38 ++ Install requested by user
08.22@12:38 ++ Will install libgoa-1.0-common
08.22@12:38 ++ Will install libgoa-1.0-0b
08.22@12:38 ++ Will install libgoa-backend-1.0-2
08.22@12:38 ++ Will install gnome-online-accounts
08.22@12:38 ++ Will install gir1.2-goa-1.0
08.22@12:38 ++ Will install udev
08.22@12:38 ++ Will install libnss-myhostname
08.22@12:38 ++ Will install systemd-timesyncd
08.22@12:38 ++ Will install libpam-systemd
08.22@12:38 ++ Will install libsystemd0
08.22@12:38 ++ Will install libnss-systemd
08.22@12:38 ++ Will install systemd
08.22@12:38 ++ Will install libudev1
08.22@12:38 ++ Will install systemd-dev
08.22@12:38 ++ Will install systemd-resolved
08.22@12:38 ++ Will install systemd-coredump
08.22@12:38 ++ Will install libsystemd-shared
08.22@12:38 ++ Will install systemd-sysv
08.22@12:38 ++ Will install libsystemd-dev
08.22@12:38 ++ Will install ubuntu-kernel-accessories
08.22@12:38 ++ Will install google-chrome-stable
08.22@12:38 ++ Will install vivaldi-stable
08.22@12:38 ++ Ready to launch synaptic
Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address
08.22@12:38 ++ Return code:127
08.22@12:38 ++ Install failed
08.22@12:38 ++ Resumed power management
mbtuckersimm commented 3 weeks ago

I should note that that I do not have this problem when using the Update Manager while logged in in a Cinnamon session. It's only when I use the Regolith session.

kgilmer commented 2 weeks ago

I'm guessing this would be related to xdg-desktop-portals configuration

mbtuckersimm commented 2 weeks ago

@kgilmer Can you give me a little more to go on? I've googled enough to find the various config files in /usr/share/xdg-desktop-portal but I have to admit I'm a bit out of my depth here. Do you think that the regolith-portals.conf file might be misconfigured, or is there something else going wrong? Presumably this works when Regolith is installed on top of Ubuntu, so something is going wrong when running it on top of Mint. But I have no idea as to what that could be.