TropicalDingdong@lemmy.world to linuxmemes@lemmy.world · 30 days agoi guess its about time..lemmy.worldimagemessage-square33fedilinkarrow-up1321arrow-down12
arrow-up1319arrow-down1imagei guess its about time..lemmy.worldTropicalDingdong@lemmy.world to linuxmemes@lemmy.world · 30 days agomessage-square33fedilink
minus-squareslazer2au@lemmy.worldlinkfedilinkEnglisharrow-up24·edit-230 days agoI get that when I forget to update a Ubuntu VM for a week.
minus-squareTropicalDingdong@lemmy.worldOPlinkfedilinkarrow-up21·30 days agoi’m like 80/20 if this is just going to straight bork the machine.
minus-squareslazer2au@lemmy.worldlinkfedilinkEnglisharrow-up19·30 days agoExecute order Sudo apt update && sudo apt upgrade -y && sudo apt auto remove -y Needs a more concise order name…
minus-squareSkullgrid@lemmy.worldlinkfedilinkarrow-up9·edit-230 days agonano .bash_alias At the end of the file alias executeOrder="Sudo apt update && sudo apt upgrade -y && sudo apt auto remove -y" Ctrl+X Enter. Source .bash_alias 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·edit-230 days 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·29 days 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·30 days 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·30 days agoSo much hassle just for routine update. Windows seems more stable in comparison.
minus-squarefloquant@lemmy.dbzer0.comlinkfedilinkarrow-up5·30 days 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
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