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

Error during melpa package update to lsp-ui-20200617.544 #462

Closed
0-wiz-0 opened this issue Jun 17, 2020 · 7 comments
Closed

Error during melpa package update to lsp-ui-20200617.544 #462

0-wiz-0 opened this issue Jun 17, 2020 · 7 comments

Comments

@0-wiz-0
Copy link

0-wiz-0 commented Jun 17, 2020

I just used the automatic update method (list-packages + 'U') to update my install packages and got this error:

Compiling file /home/wiz/.emacs.d/elpa/lsp-ui-20200617.544/lsp-ui-doc.el at Wed Jun 17 21:37:18 2020
Entering directory ‘/home/wiz/.emacs.d/elpa/lsp-ui-20200617.544/’
lsp-ui-doc.el:33:1:Error: Cannot open load file: No such file or directory, lsp-protocol
^L
Compiling file /home/wiz/.emacs.d/elpa/lsp-ui-20200617.544/lsp-ui-flycheck.el at Wed Jun 17 21:37:18 2020
lsp-ui-flycheck.el:34:1:Error: Cannot open load file: No such file or directory, lsp-protocol
^L
Compiling file /home/wiz/.emacs.d/elpa/lsp-ui-20200617.544/lsp-ui-imenu.el at Wed Jun 17 21:37:18 2020
^L
Compiling file /home/wiz/.emacs.d/elpa/lsp-ui-20200617.544/lsp-ui-peek.el at Wed Jun 17 21:37:18 2020
lsp-ui-peek.el:37:1:Error: Cannot open load file: No such file or directory, lsp-protocol
^L
Compiling file /home/wiz/.emacs.d/elpa/lsp-ui-20200617.544/lsp-ui-sideline.el at Wed Jun 17 21:37:18 2020
lsp-ui-sideline.el:33:1:Error: Cannot open load file: No such file or directory, lsp-protocol
^L
Compiling file /home/wiz/.emacs.d/elpa/lsp-ui-20200617.544/lsp-ui.el at Wed Jun 17 21:37:18 2020
lsp-ui.el:37:1:Error: Cannot open load file: No such file or directory, lsp-protocol
^L

I hope this is the right place to report this problem.

@0-wiz-0 0-wiz-0 changed the title melpa package update failed Error during melpa package update to lsp-ui-20200617.544 Jun 17, 2020
@yyoncho
Copy link
Member

yyoncho commented Jun 17, 2020

When you update one component from emacs LSP organization you should update all. Even better is to delete the old packages and install all of them after restarting.

@0-wiz-0
Copy link
Author

0-wiz-0 commented Jun 17, 2020

I marked all installed packages for upgrading. Is there dependency handling in melpa packages?

@yyoncho
Copy link
Member

yyoncho commented Jun 17, 2020

Pretty much no. Your issue is probably caused by package.el trying to update lsp-ui before lsp-mode.

@0-wiz-0
Copy link
Author

0-wiz-0 commented Jun 17, 2020

So is the package probably broken now and I should reinstall it, or is it fine? What's the best way forward?

@yyoncho
Copy link
Member

yyoncho commented Jun 17, 2020

Reinstall all lsp-* packages. One way to do that is to go to .emacs.d/elpa and delete them. Then restart emacs and let it download them again in the way you normally do.

@0-wiz-0
Copy link
Author

0-wiz-0 commented Jun 17, 2020

I have only three: lsp-mode, lsp-treemacs, and lsp-ui. I think there should probably be a package.el bug report to have a (better) dependency system...
Thanks for the feedback!

@0-wiz-0
Copy link
Author

0-wiz-0 commented Jun 17, 2020

I filed an upstream bug report:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41926
for package.el.

@0-wiz-0 0-wiz-0 closed this as completed Jun 17, 2020
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