TropicalDingdong@lemmy.world to linuxmemes@lemmy.world · 4 months agoi guess its about time..lemmy.worldimagemessage-square33linkfedilinkarrow-up1354arrow-down11
arrow-up1353arrow-down1imagei guess its about time..lemmy.worldTropicalDingdong@lemmy.world to linuxmemes@lemmy.world · 4 months agomessage-square33linkfedilink
minus-squareslazer2au@lemmy.worldlinkfedilinkEnglisharrow-up26·4 months agoI get that when I forget to update a Ubuntu VM for a week.
minus-squareTropicalDingdong@lemmy.worldOPlinkfedilinkarrow-up22·4 months agoi’m like 80/20 if this is just going to straight bork the machine.
minus-squareslazer2au@lemmy.worldlinkfedilinkEnglisharrow-up20arrow-down1·4 months agoExecute order Sudo apt update && sudo apt upgrade -y && sudo apt auto remove -y Needs a more concise order name…
minus-squareSkullgrid@lemmy.worldlinkfedilinkarrow-up10·edit-24 months agocd ~ nano .bash_aliases At the end of the file alias executeOrder="sudo apt update && sudo apt upgrade -y && sudo apt auto remove -y" Ctrl+X Y Enter. source .bash_aliases There. Now it’s executeOrder Edit : .bash_alias(es?) should be in the home folder. Switch to it with cd ~
minus-squareloweffortname@lemmy.dbzer0.comlinkfedilinkarrow-up6·4 months agoTiny nits: apt dist-upgrade is more potentially destructive. It’s apt autoremove (no spaces) Otherwise, I do this every morning on my work machine. It’s very satisfying to have updates.
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up3·4 months agoThere’s a flag for upgrade that will do an update as well. I don’t have it memorized, but you don’t need to “update and upgrade” anymore.
minus-squarefuckwit_mcbumcrumble@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up7·4 months agothat’s what backups are for. If it’s a vm then snapshots are a godsend. Update didn’t work? Revert.
minus-squareViceversa@lemmy.worldlinkfedilinkarrow-up3arrow-down5·4 months agoSo much hassle just for routine update. Windows seems more stable in comparison.
minus-squarefloquant@lemmy.dbzer0.comlinkfedilinkarrow-up5·4 months agoYou either test your backups or your lack of backups tests you
I get that when I forget to update a Ubuntu VM for a week.
i’m like 80/20 if this is just going to straight bork the machine.
Execute order
Sudo apt update && sudo apt upgrade -y && sudo apt auto remove -yNeeds a more concise order name…
At the end of the file
Ctrl+X
Y
Enter.
There. Now it’s executeOrder
Edit : .bash_alias(es?) should be in the home folder. Switch to it with cd ~
Tiny nits:
apt dist-upgradeis more potentially destructive.apt autoremove(no spaces)Otherwise, I do this every morning on my work machine. It’s very satisfying to have updates.
There’s a flag for upgrade that will do an update as well. I don’t have it memorized, but you don’t need to “update and upgrade” anymore.
that’s what backups are for.
If it’s a vm then snapshots are a godsend. Update didn’t work? Revert.
So much hassle just for routine update. Windows seems more stable in comparison.
You either test your backups or your lack of backups tests you