this post was submitted on 06 Aug 2023
564 points (96.5% liked)

linuxmemes

20483 readers
1081 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 59 points 1 year ago (7 children)

Where my pacman -Syu gang at btw

[–] [email protected] 16 points 1 year ago (1 children)
[–] [email protected] 4 points 1 year ago (3 children)

yay -Syu && reboot && 😉🤞

load more comments (3 replies)
[–] [email protected] 9 points 1 year ago* (last edited 1 year ago) (1 children)
load more comments (1 replies)
[–] [email protected] 5 points 1 year ago

I'm kicking back here after paru -Syu --nocombinedupgrade --noconfirm

PS: (obligatory) 'Long live yay!'

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

paru -Syu --skipreview && flatpak update

load more comments (3 replies)
[–] [email protected] 33 points 1 year ago

-y && sudo apt autoremove

[–] [email protected] 24 points 1 year ago (1 children)

All you sophisticated folks with your dinky commands... I just click restart to update whenever Daddy Gated says so. So much easier...

[–] [email protected] 7 points 1 year ago (2 children)

Have you ever tried to challenge the system and see what happens if you don't click restart?

[–] [email protected] 10 points 1 year ago (1 children)

Yes, random forced reboot at an extremely inconvenient time and an excruciatingly slow "Windows is installing updates" screen.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 7 points 1 year ago (1 children)

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.

load more comments (1 replies)
[–] [email protected] 4 points 1 year ago (1 children)

The legendary eternal uptime

load more comments (1 replies)
[–] [email protected] 19 points 1 year ago (9 children)

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?

[–] [email protected] 9 points 1 year ago

If you use nala (frontend for apt) when you drop a "nala upgrade" it automatically calls update first

load more comments (8 replies)
[–] [email protected] 18 points 1 year ago (3 children)

Behold:

sudo snap refresh

... yeah... I'll see myself out...

[–] [email protected] 13 points 1 year ago (1 children)
[–] [email protected] 5 points 1 year ago

Just kidding...

[–] [email protected] 6 points 1 year ago

I am forced to judge your entire character based solely on your snap use.

load more comments (1 replies)
[–] [email protected] 15 points 1 year ago (3 children)

You could also open the Pop! Shop, have it load, freeze and then upgrade via terminal. They should really fix that shit

load more comments (3 replies)
[–] [email protected] 12 points 1 year ago
[–] [email protected] 11 points 1 year ago (1 children)
load more comments (1 replies)
[–] [email protected] 10 points 1 year ago* (last edited 1 year ago) (2 children)
sudo dpkg-reconfigure --priority=low unattended-upgrades
[–] [email protected] 5 points 1 year ago (1 children)
[–] [email protected] 9 points 1 year ago (1 children)

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.

[–] [email protected] 3 points 1 year ago (1 children)

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.

load more comments (1 replies)
[–] [email protected] 3 points 1 year ago (1 children)

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.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

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. ☺️

[–] [email protected] 9 points 1 year ago (1 children)
load more comments (1 replies)
[–] [email protected] 8 points 1 year ago (1 children)
load more comments (1 replies)
[–] [email protected] 7 points 1 year ago (6 children)

On my work PC:

flatpak update && sudo apt update && sudo apt upgrade && reboot

On my home PC:

flatpak update && paru && reboot

On my laptop:

flatpak update && sudo dnf update && reboot

load more comments (6 replies)
[–] [email protected] 6 points 1 year ago (2 children)

sudo dnf update && flatpak update

[–] [email protected] 4 points 1 year ago

Two days later...

load more comments (1 replies)
[–] [email protected] 6 points 1 year ago (1 children)

alias "upgrade"=sudo pacman -Syu && yay -Syu && sudo flatpak upgrade

[–] [email protected] 10 points 1 year ago

more like alias "yolo"

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago)

Meanwhile the pacman -Syu sect:

[–] [email protected] 5 points 1 year ago

I'll give you one better:

doas emerge --sync && emerge -uDN @world

:)

[–] [email protected] 5 points 1 year ago (1 children)

sudo nala upgrade ; flatpak update

Nala is a frontend to apt-get written in Python.

[–] [email protected] 5 points 1 year ago (1 children)

Flatpak violates Single Source of Truth for installation data, and hides installations.

[–] [email protected] 3 points 1 year ago

Are you a Debian packager?

[–] [email protected] 4 points 1 year ago (1 children)
[–] [email protected] 4 points 1 year ago

sudo systemctl enable dnf-automatic-install.timer

[–] [email protected] 4 points 1 year ago

sudo zypper refresh && sudo zypper dist-upgrade

[–] notasandwich1948 3 points 1 year ago

me when unattended upgrades

[–] [email protected] 3 points 1 year ago (3 children)

sudo nala upgrade

I like nala, it's a front end for apt

load more comments (3 replies)
load more comments
view more: next ›