Failed to install emacs

Hi there,
I’m new to EOS and was installing emacs with pacman but failed.
The command I used was the basic:

pacman -S emacs

The error I got:

tree-sitter-0.25.2-1-x86_64.pkg.tar.zst failed to download
error: failed retrieving file 'tree-sitter-0.25.2-1-x86_64.pkg.tar.zst' from mirror.moson.org : The requested URL returned error: 404

That same message was repeated for a couple other addresses.
It doesn’t seem to be a connection problem from my end as my internet is working fine

Any suggestions?

Cheers and thanks in advance

Update your mirrors from the welcome app. Also if you are running wayland, install emacs-wayland instead of plain emacs.

Hi, still not working (installing the emacs-wayland one now)
I did both the

Update mirrors(Arch,reflector-simple)

and the

Update Mirrors (EndeavourOS)

in the welcome app.

The list of failed in smaller now though:

error: failed retrieving file 'tree-sitter-0.25.2-1-x86_64.pkg.tar.zst' from mirror.wuki.li : The requested URL returned error: 404
error: failed retrieving file 'tree-sitter-0.25.2-1-x86_64.pkg.tar.zst' from arch.yhtez.xyz : The requested URL returned error: 404
error: failed retrieving file 'tree-sitter-0.25.2-1-x86_64.pkg.tar.zst' from mirror.srv.fail : The requested URL returned error: 404
error: failed retrieving file 'tree-sitter-0.25.2-1-x86_64.pkg.tar.zst' from mirror.5i.fi : The requested URL returned error: 404
error: failed retrieving file 'tree-sitter-0.25.2-1-x86_64.pkg.tar.zst' from archlinux.doridian.net : The requested URL returned error: 404
error: failed retrieving file 'tree-sitter-0.25.2-1-x86_64.pkg.tar.zst' from geo.mirror.pkgbuild.com : The requested URL returned error: 404
error: failed retrieving file 'tree-sitter-0.25.2-1-x86_64.pkg.tar.zst' from ftpmirror.infania.net : The requested URL returned error: 404
error: failed retrieving file 'tree-sitter-0.25.2-1-x86_64.pkg.tar.zst' from mirror.rackspace.com : The requested URL returned error: 404

Update the system before installing a new package. For example: sudo pacman -Syu emacs

Thanks! All good now

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.