sudo apt update vs sudo apt upgrade to update packages in Ubuntu/WSL
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
**Is your feature request related to a problem? Please describe.**
I am extremely new to everything computer, so maybe it's not a thing, and it's not exactly a problem. When I was updating my ubuntu package I just had to run:
sudo apt update
Then also
sudo apt upgrade
The first seemed to download the updates, and the second actively installed them? Only the first one was mentioned in the instructions at:
https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps
**Describe the solution you'd like**
Either add a step for upgrading or (if someone has a couple minutes to reply) tell me why what I did was unnecessary or harmful.
**Describe alternatives you've considered**
I have considered that I'm new to all this and maybe implementing a googled solution before asking here was a mistake, but it appeared to work so *weeeeeeee*
**Additional context**
You guys do wonderful work here and without it I'd be lost.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the Ubuntu/WSL GUI apps tutorial linked in the issue and compare its `sudo apt update` step with the reported `sudo apt upgrade` behavior. Confirm the intended package-update guidance, then update the tutorial or clarify why the existing command is sufficient; done when the instructions resolve this question.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ubuntu
- Domain
- documentation, operating-systems
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100