-
Notifications
You must be signed in to change notification settings - Fork 261
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
/usr/games/pacman vs /usr/bin/apt #1060
Comments
I believe this was a bug in Could you please test it and report back whether it works or not? |
This was actually using the Debian package |
Does adding this to the very beginning of your Init file, and then restarting Emacs, solve the problem?
|
That works, on my machine, as of today. But seems to me it's not robust because someone on an Arch system might have both I'd suggest putting Unfortunately I don't think there's any truly correct solution based on scanning for an executable. Sometimes people have multiple package managers installed: their native one, and also some "alien" ones for various purposes. There's a Debian package |
* system-packages.el (system-packages-package-manager): Don't try to use /usr/games/pacman. Ref: jwiegley/use-package#1060
I've now done this and released version 1.0.13, which should be on GNU ELPA shortly. Thanks. |
* system-packages.el (system-packages-supported-package-managers): Move pacman to the end of the list to avoid conflicts. Ref: jwiegley/use-package#1060
I run Debian and am a fun-loving bloke so
/usr/games
is on my path andpacman
(the game) is installed. Whenuse-package
loads and searches for an appropriate value forsystem-packages-package-manager
it finds/usr/games/pacman
so the variable gets set to"pacman"
instead of"apt"
.Woka woka woka.
👻 👻 👻
The text was updated successfully, but these errors were encountered: