coming from arch that's terrifying
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
vpzom 8 months ago
Lammy@lemmy.world 8 months ago
The god of penguins will punish you if you do not follow his will.
Tux has spoken.
oleorun@lemmy.fan 8 months ago
It’s not necessarily required but it is strongly suggested in case the package you are installing requires the latest version of a dependency.
Maddison@sh.itjust.works 8 months ago
thank you!
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!
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
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.
rarely@sh.itjust.works 8 months ago
Don’t ask. It makes things more exciting that way.