Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
mbtuckersimm opened this issue Aug 22, 2024 · 3 comments
Open
2 tasks done
Labels
bug Something isn't working needs-triage Any bug that requires classification by a contributor

Comments

@mbtuckersimm
Copy link

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

  • Regolith Install Stage: testing
  • Regolith Version: 3.2
  • Host OS: Linux Mint 22

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 mbtuckersimm added bug Something isn't working needs-triage Any bug that requires classification by a contributor labels Aug 22, 2024
@mbtuckersimm
Copy link
Author

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
Copy link
Member

kgilmer commented Aug 24, 2024

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

@mbtuckersimm
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Any bug that requires classification by a contributor
Projects
None yet
Development

No branches or pull requests

2 participants