Where my
pacman -Syu
gang at btwThey’re trying to boot.
I died at this one ngl
paru -Syu --skipreview && flatpak update
I’ve got “syu” aliased to the above on Debian etc. boxes. Save me some typing.
yay :)
Whooooo! Pacman -Syyu for extra safety.
All you sophisticated folks with your dinky commands… I just click restart to update whenever Daddy Gated says so. So much easier…
Have you ever tried to challenge the system and see what happens if you don’t click restart?
Yes, random forced reboot at an extremely inconvenient time and an excruciatingly slow “Windows is installing updates” screen.
I’ve never had that with my work laptop. If I’ve got programs open that require close prompts, it won’t even reboot when it’s been idle. Eventually IT will lock it down unless I update though.
No big deal either way. You should be restarting at least weekly with any OS.
Plus, at least with Ubuntu, kernel updates happen much more frequently than Windows updates and require a restart to take effect. The only difference is you can ignore them, which is almost never a good idea.
No big deal either way. You should be restarting at least weekly with any OS.
Uh my laptop has been running for 35 days (according to neofetch) and my server PC (which is just a tower PC I repurposed as a server) has been running for 288 days.
So you’re telling us your server is unpatched and full of security holes. Cool, man
You could also open the Pop! Shop, have it load, freeze and then upgrade via terminal. They should really fix that shit
Haha. Yeah its lagging a lot on startup, but seems like its working fine after 30 sec. Well, Im getting updates almost every day…idk maybe its not working lol
“Maybe I’ll look at the Pop Shop to see if there’s any cool softw–aaaand it crashed”
It ain’t just Pop my guy! I just hopped from Elementary and about shit myself when I found that Pop uses the same app center. Gues I’ll just use apt until I die.
-y
yay
this is the way
sudo dpkg-reconfigure --priority=low unattended-upgrades
What does that do?
It enables automatic security updates. You could also enable automatic updates for all, not just security. Basically have the system run the meme commands for you.
That’s interesting, I didn’t know this can be configured in one line. When I searched how to configure unattended-upgrades myself I only found long solutions.
I’m sure there are longer solutions as well. This is straight up from the Ubuntu wiki. If you want to configure it differently, e.g. do all updates, not just security, you probably have to change some more vars in the apt config files.
First thing I do on Debian is disabling unattended upgrades. I will need to install some package now and it will always get in the way.
That’s odd. If unattended upgrades are running, the system will do upgrades regularly. That means it’s unlikely to get a significant backlog of updates queued up. Upgrade cycles typically finish briefly as a result. All my systems, interactive or headless, are running an update and upgrade cycle every hour. I’ve yet to to run into a case when I couldn’t install a package because
apt
was in use. It’s not impossible, but I haven’t. Or at least it’s been so long ago that I’ve forgotten about it. I don’t have to think about unpatched vulnerabilities. ☺️
Behold:
sudo snap refresh
… yeah… I’ll see myself out…
I am forced to judge your entire character based solely on your snap use.
sudo dnf update && flatpak update
Two days later…
The Silverblue prayer
sudo rpm-ostree update && flatpak update
Is there a reason these commands weren’t at some point combined into one flag?
I can see why you’d want separate “update” and “upgrade” options, but another flag that does both without writing such a long command would be nice.
Maybe I just don’t know enough about apt and such a flag does exist? Maybe they’re just expecting folks to create an alias?
If you want to install something, do you wish to just update before hand, or to upgrade too ? I guess the former.
Now you could add update to the install function, but it would mean if you updated 5 mins ago for install something, you would need to update again as you install something else.
Better to keep them separated and call them as you wish.
sudo nala upgrade ; flatpak update
Nala is a frontend to apt-get written in Python.
Flatpak violates Single Source of Truth for installation data, and hides installations.
Are you a Debian packager?
I’ll give you one better:
doas emerge --sync && emerge -uDN @world
:)
sudo zypper refresh && sudo zypper dist-upgrade
-y && sudo apt autoremove
alias “upgrade”=sudo pacman -Syu && yay -Syu && sudo flatpak upgrade
Termux gang