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

On Void, helm-system-packages asks about missing apt dependencies #33

Open
emacsomancer opened this issue Aug 6, 2019 · 4 comments
Open

Comments

@emacsomancer
Copy link

When I run helm-system-packages in Emacs on my Void machine, I get the message:

Dependencies are missing (apt-get, apt-cache, apt-mark), please install them

I don't see anything in the instructions about specially configuring the system to know that it's Void.

I also tried (require helm-system-packages-xbps) but that only give me one additional command helm-system-packages-xbps-refresh, which seems to work, but does not give me an interface to system packages.

@Ambrevar
Copy link
Member

Ambrevar commented Aug 6, 2019

Thanks for the report.

The xbps package is clearly outdated, but the setup should not be.
Look at https://github.com/emacs-helm/helm-system-packages/blob/master/helm-system-packages.el#L637, you'll see it should try to detect XBPS based on the existence of the xbps-query command.

Now it's weird that it matches dpkg for you. Do you have a dpkg command on your system? What does which dpkg return in a shell?

@emacsomancer
Copy link
Author

emacsomancer commented Aug 6, 2019

Yes, I did have the (in the Void repos) dpkg package installed (I don't recall what for); removing it resolved the issue (is there a way to manually/forcefully choose which package manager to have helm-system-packages attach to? rather than letting it automatically do so? In the case I need the dpkg package installed, for instance?)

@Ambrevar
Copy link
Member

Ambrevar commented Aug 9, 2019 via email

@emacsomancer
Copy link
Author

Yes, I can work on a patch, though it might take me a little bit to get round to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants