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 8 months ago by Maddison@sh.itjust.works to linux@sh.itjust.works
Comments
forwardvoid@feddit.nl 8 months 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 8 months ago
thanks!
Lammy@lemmy.world 8 months ago
The god of penguins will punish you if you do not follow his will.
Tux has spoken.
vpzom 8 months ago
coming from arch that's terrifying
Shikadi@lemmy.world 8 months 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 8 months ago
I have some dependency issues for sure
TheKrzyk@lemmy.world 8 months ago
We all need to apt update && apt upgrade our lives from time to time
rarely@sh.itjust.works 8 months ago
Don’t ask. It makes things more exciting that way.
riodoro1@lemmy.world 8 months ago
You want to know what the store actually has in stock before buying.
Maddison@sh.itjust.works 8 months ago
actually, every morning I wake, I update first thing, so I guess, I found it somewhat useless
forwardvoid@feddit.nl 8 months 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.