I have bad internet connection. Starting spacemacs takes a long time because of the "refreshing package archive melpa or gnu or others...". or "installing package: ...".

When i put the computer on plane mode and start emacs this is not a problem since the actions are not executed. Nevertheless, when I forget to do so and the internet connection is bad emacs enters in a sort of "crashing state" trying to refresh or install the packages.

Is there a way to stop packages from automatically refreshing and installing on emacs start up?

Thanks in advanced.

  • 3
    You have a misconfigured .emacs file. Check if you have something like ‘package-refresh-contents’ in your init. Jan 1 '21 at 11:28
  • I agree, check your emacs startup file. Emacs does not refresh or install packages by default.
    – amitp
    Jan 1 '21 at 12:48
  • I don't find anything like that
    – L S
    Jan 1 '21 at 19:16
  • I Tried this and it seems faster when starting: dotspacemacs-elpa-timeout 0
    – L S
    Jan 2 '21 at 5:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.