It’s not necessarily required but it is strongly suggested in case the package you are installing requires the latest version of a dependency.
Why should I run sudo apt update before installing a package? Why!?
Submitted 2 years ago by Maddison@sh.itjust.works to linux@sh.itjust.works
Comments
forwardvoid@feddit.nl 2 years ago
It updates the package lists APT uses. You don’t have to to run update before installing. But you could be installing the previous version of the application. If for instance you never run update, the upgrade command won’t do anything.
Maddison@sh.itjust.works 2 years ago
thanks!
Lammy@lemmy.world 2 years ago
The god of penguins will punish you if you do not follow his will.
Tux has spoken.
vpzom 1 year ago
coming from arch that's terrifying
Shikadi@lemmy.world 2 years ago
If you don’t, you can end up with dependency issues. Or at the very least you might install old out of date packages
Maddison@sh.itjust.works 2 years ago
I have some dependency issues for sure
TheKrzyk@lemmy.world 2 years ago
We all need to apt update && apt upgrade our lives from time to time
rarely@sh.itjust.works 1 year ago
Don’t ask. It makes things more exciting that way.
riodoro1@lemmy.world 2 years ago
You want to know what the store actually has in stock before buying.
Maddison@sh.itjust.works 2 years ago
actually, every morning I wake, I update first thing, so I guess, I found it somewhat useless
forwardvoid@feddit.nl 2 years ago
You don’t have to do this. Run something like apticron if you want to make sure you don’t miss security updates or want everything on the latest version all the time.