rust-lang / rust-lang/rustup

"cannot find current revision for snap rustup" on 'rustup update'

Open
#2,688 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

O-linux
Dominant language
Rust
Stars
7k
Forks
1.1k
Avg merge
22h 40m
Merged PRs (30d)
46

Description

$ rustup update
internal error, please report: running "rustup" failed: cannot find current revision for snap rustup: readlink /snap/rustup/current: no such file or directory

I also deleted some rust files in an attempt to delete the Rust programming language in an attempt to later reinstall because the normal rustup self uninstall was not working

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported rustup update entry point and the Snap installation path /snap/rustup/current. Reproduce the missing-revision error in a comparable Snap setup and determine whether the broken installation state is expected to be recoverable. Done means rustup update completes without this error or reports a clear recovery path.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.