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

[Bug/Support]: "Cannot determine URL from recipe" with many packages #410

Closed
2 of 3 tasks
brabalan opened this issue Jan 20, 2025 · 4 comments
Closed
2 of 3 tasks

Comments

@brabalan
Copy link

Confirmation

  • I have checked the documentation (README, Wiki, docstrings, etc)
  • I am checking these without reading them.
  • I have searched previous issues to see if my question is a duplicate.

Elpaca Version

Elpaca f83af38 HEAD -> master, origin/master, origin/HEAD
installer: 0.9
emacs-version: GNU Emacs 29.4 (build 2, aarch64-apple-darwin24.1.0, NS appkit-2575.20 Version 15.1 (Build 24B83))
of 2024-11-07
git --version: git version 2.48.0

Operating System

macos sequoia 15.2

Description

After updating elpaca, I have many packages (including compat) that have the error Cannot determine URL from recipe. Here is what elpaca-logs shows after starting emacs (and doing C-g since updating transient blocks everything).

compat                         failed               Unable to determine repo dir: (error "Cannot determine URL from recipe: (:source nil :protocol https :inherit t :depth treeless :package \"compat\")") 00.144223
transient                      failed               User quit                                                                        62.844267
ef-themes                      failed               Unable to determine repo dir: (error "Cannot determine URL from recipe: (:source nil :protocol https :inherit t :depth treeless :package \"ef-themes\")") 62.940357
consult-denote                 failed               Unable to determine repo dir: (error "Cannot determine URL from recipe: (:source nil :protocol https :inherit t :depth treeless :package \"consult-denote\")") 62.987667
ebdb                           failed               Unable to determine repo dir: (error "Cannot determine URL from recipe: (:source nil :protocol https :inherit t :depth treeless :package \"ebdb\")") 62.993976
capf-autosuggest               failed               Unable to determine repo dir: (error "Cannot determine URL from recipe: (:source nil :protocol https :inherit t :depth treeless :package \"capf-autosuggest\")") 63.030963
pulsar                         failed               Unable to determine repo dir: (error "Cannot determine URL from recipe: (:source nil :protocol https :inherit t :depth treeless :package \"pulsar\")") 63.031567
vundo                          failed               Unable to determine repo dir: (error "Cannot determine URL from recipe: (:source nil :protocol https :inherit t :depth treeless :package \"vundo\")") 63.032086
doom-modeline                  failed               Failed dependencies: (compat)                                                    63.051180
queue                          failed               Unable to determine repo dir: (error "Cannot determine URL from recipe: (:source nil :protocol https :inherit t :depth treeless :package \"queue\")") 63.057467
citar                          failed               Failed dependencies: (citeproc)                                                  63.058426
citeproc                       failed               Failed dependencies: (queue compat)                                              63.059078
magit                          failed               Failed dependencies: (transient)                                                 63.074706
geiser-guile                   failed               Failed dependencies: (transient)                                                 63.101036
@brabalan
Copy link
Author

As a workaround:

  • I added the url of many packages that had :ensure t before (using the one from the elpaca/repos)
  • I added (use-package compat :ensure (:host github :repo "emacs-compat/compat" :branch main)) so that compat can be installed
  • I removed packages using queue, I still need to find the correct use-package for that

@progfolio
Copy link
Owner

Did you try updating your recipe menus via elpaca-update-menus?

@seblemaguer
Copy link

seblemaguer commented Jan 20, 2025

I am also facing the same issue with emacs-30. I didn't manage to ping down completely what is going on but when I run elpaca-manager (after running elpaca-update-menus) none of the elpa parts are showing (i.e., only melpa and org packages show)

Just realised it seems to be a duplicate of #407

@brabalan
Copy link
Author

Did you try updating your recipe menus via elpaca-update-menus?

I just tried it and it did not change anything (as I was back to a working state). I restored my previous config (without the explicit hosts) and it’s still working, but I don’t know if it’s because the error was transient or if the menu update did the trick.

when I run elpaca-manager (after running elpaca-update-menus) none of the elpa parts are showing

I see the NonGNU ELPA and the GNU ELPA at the end of the (long) list here.

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

3 participants