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

Ubuntu specific installer used for InputMethod installer #324

Open
2 of 3 tasks
worldofpeace opened this issue Sep 4, 2020 · 3 comments
Open
2 of 3 tasks

Ubuntu specific installer used for InputMethod installer #324

worldofpeace opened this issue Sep 4, 2020 · 3 comments
Labels
Good First Issue Small, self-contained issue. Good for newcomers, and/or should be an easy fix. Priority: Wishlist Status: Confirmed

Comments

@worldofpeace
Copy link
Contributor

Prerequisites

  • I have searched open and closed issues for duplicates.

Describe the bug

I'm on NixOS, which isn't going to have apt at all, and it appears to be programmed in a way that assumes an apt client exists. At the very least it could bail out with a dialog or only add the Install Unlisted Engines button if an apt client exists.
I currently just get this error in the console

UbuntuInstaller.vala:75: Could not queue downloads: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.debian.apt was not provided by any .service files

To Reproduce

  1. Be on a platform without apt
  2. Click on Input method view
  3. Click the ➕
  4. Click Install Unlisted Engines and select an engine
  5. 💥 what happened? (hint: it appears like nothing)

Expected behavior

It's possible to use packagekitd this without being specific to Ubuntu.
If it isn't present I shouldn't even be able to access this in the interface.
(On a side note, nix will have support for packagekitd in Nix 3.0)

Platform Information

  • OS: NixOS
  • OS Version: 20.09-pre-git
  • I'm using the latest version from git that I've manually compiled
  • I'm using the latest released stable version
@worldofpeace
Copy link
Contributor Author

@ryonakano
Copy link
Member

Yeah, Dan suggested me to use packagekit when I made the PR that adds the input method view, but I have no knowledge about it so I stolen the apt-based code from the locale plug… If we use packagekit we can provide this function not only NixOS but also other non-apt distros like Fedora.

@worldofpeace
Copy link
Contributor Author

Yeah, Dan suggested me to use packagekit when I made the PR that adds the input method view, but I have no knowledge about it so I stolen the apt-based code from the locale plug… If we use packagekit we can provide this function not only NixOS but also other non-apt distros like Fedora.

Yeah, I believe because of the code in the locale plug it remains unused/unpackaged on other distros.
Yep, it will work on whatever platforms has a packagekit backend.

@lenemter lenemter added the Good First Issue Small, self-contained issue. Good for newcomers, and/or should be an easy fix. label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First Issue Small, self-contained issue. Good for newcomers, and/or should be an easy fix. Priority: Wishlist Status: Confirmed
Projects
Development

No branches or pull requests

3 participants