this post was submitted on 02 Jul 2023
258 points (96.4% liked)

linuxmemes

21178 readers
647 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 0 points 1 year ago (3 children)

    Is there a safe way to do uodates automatically? I could store my password in plaintext and thats barbaric but it still doesnt fix the problem that packages and dependecies can break during updtaes without user input if im right. Tho i guess you could write a script that automatically looks for updates and notifies the user.

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

    The task is objectively unsafe. Both live updates are unsafe and require intervention but also Arch does not guarantee updates require no manual tasks.

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

    You can set up a Cron job or systemd timer for the root account to run that command regularly, if it is a non-interactive command!

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

    System updates aren't something I'd really trust to be non-interactive.

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

    I've never had to interact with system updates in Linux distros beyond saying "yes I want to update" in the last decade. If I didn't want to, there's usually a force update flag available to skip the asking part. Would I do this for a server without backups? Absolutely not. For home use? I'll roll the dice; I have backups even if there's a couple days of shipping time to get all 12TB mailed to me.

    Of course, major distribution releases are a different monster. Fortunately, I don't deal with those often and when I do, I migrate instead of upgrade.

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

    Ah, I forget sometimes that I'm in a general linux community and not the arch community.

    I run arch, btw.

    Which I think is why I have a different attitude about this, the rolling release system can occasionally cause snags. I haven't had any of the major chaos that other people will warn you about, but I have had some oddities relating to shifting dependencies or upstream changes. I've had one or two things refuse to update citing mandatory manual intervention.