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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packages installed using file fetcher are always marked as outdated #6610
Comments
I can comfirm this and I got this error in the Compile-Log buffer |
This is annoying, as I constantly want to update packages... |
This is strange,
Sorry about that. I still haven't looked into this problem. Will have some free time on weekends to investigate this issue. |
It seems that it's an upstream issue with quelpa. Whenever I install package using file fetcher and then use |
I can't reproduce such behaviour in (package-initialize)
(if (require 'quelpa nil t)
(quelpa-self-upgrade)
(with-temp-buffer
(url-insert-file-contents "https://raw.github.com/quelpa/quelpa/master/bootstrap.el")
(eval-buffer)))
(setq
pkg-name 'evil-unimpaired
recipe `(,pkg-name
:fetcher file
:path "/Users/d12frosted/.spacemacs/layers/+spacemacs/spacemacs-evil/local/evil-unimpaired/evil-unimpaired.el"))
(quelpa recipe)
(quelpa-checkout recipe (expand-file-name
(symbol-name pkg-name)
quelpa-build-dir)) The final sexp always returns nil. Which is expected. |
@d12frosted Any update? |
@ynilu Same problem with me! Any suggestion? |
Same problem here too, for days. |
Same problem here for weeks. |
Uh... |
@bixuanzju No, there are no updates right now. If you are not using this package - the best you can do is to exclude it. But this issue is on my list (not top priority though). If someone wants to dig into it - don't hesitate. As you might already noticed - PRs are warmly welcome 馃樃 P. S. Sorry for long replay - was away from civilisation 馃樃 |
I added the |
@korayal why |
@d12frosted well, I thought since evil-unimpaired required Btw, dash may mean two different things, there is a dash which is a minimalist shell, and there is another dash which is about documentation. I don't know which is required here and why |
There are three dashes. The two you mention, and the Emacs package. When evil-unimpaired requires dash, we're talking about dependencies between Emacs packages. (As you can see from the link, there are not many things that don't depend on dash.) It has nothing whatsoever to do with the documentation search tool dash (which is supported by the Emacs packages helm-dash and counsel-dash, and which you can obtain by using the dash layer (not the dash package)). It has even less to do with the dash shell which has nothing to do with Emacs. |
And to be precise, you cannot install the dash package by adding dash to the list of layers, that will install the dash layer. |
@korayal Oh well. Since we are discussing 'Packages installed using file fetcher are always marked as outdated' topic, I am talking only about @TheBB thanks for the comprehensive explanations 馃挴 |
Hm. How does totally ignoring required package makes 'not found error' gone? 馃樃 But keep in mind that ignoring |
@d12frosted it didn't make the error gone I thought the @TheBB whould adding it to the |
It would, but I find it hard to believe you don't already have it as a dependency of something else. |
I only recently started seeing this bug, and it happens when my Solarized theme is getting loaded. I did a Git bisect on the develop branch, and found:
The funny thing is that I didn't even have to clear package caches to find this; I get:
only on that commit (and newer); but Spacemacs and Solarized load properly before it. I'll see if I can find what's going on, but at least we have a place to start. |
Sure enough, simply reverting the commit on top of the tip of develop fixes my problem. |
@andschwa I don't get the relation between your problem and this issue. As it's not about loading packages, but rather about packages being always marked as outdated when file fetcher is used to install them. From user perspective it's actually |
@d12frosted Yeah, I'm not sure either. The cause doesn't look the same. Google brought me here because @ynilu had the same error message, but in a different place. I probably have a different problem 馃槮 |
Couldn't quelpa use a hash of the file to determine if it changed? |
@d12frosted I do really need to a file a different but. But I've reproduced the error:
On everything I use: Ubuntu 14.04 with Emacs built from source ( And reverting 5d6e9ab fixes it every time. |
Hi everyone, |
Thanks to @ynilu the issue is fixed in develop branch. 馃挴 鉂わ笍 |
Should be fixed in master. |
Description
Package installed using file fetcher are always marked as outdated when pressing 'update packages' button.
Reproduction guide 馃
evil-unimpaired
has new version (and probably some other packages).Observed behaviour: 馃憖 馃挃
Package
evil-unimpaired
has new version.Expected behaviour: 鉂わ笍 馃槃
Package
evil-unimpaired
wasn't changed. So it should not be marked as outdated.System Info 馃捇
The text was updated successfully, but these errors were encountered: