this post was submitted on 02 Jul 2023
264 points (96.5% liked)

linuxmemes

21393 readers
1851 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!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    top 44 comments
    sorted by: hot top controversial new old
    [–] whoops@lemmy.world 21 points 1 year ago* (last edited 1 year ago) (4 children)
    [–] AI_toothbrush@lemmy.zip 8 points 1 year ago (1 children)
    [–] jeansibelius@lemmy.world 6 points 1 year ago (1 children)
    [–] cyanarchy@sh.itjust.works 2 points 1 year ago (1 children)
    [–] Krompus@lemmy.world 2 points 1 year ago (1 children)

    You don't need the -Syu, it's the same as yay --devel

    [–] cyanarchy@sh.itjust.works 1 points 1 year ago (1 children)

    Something new every day, I'm prone to assuming pacman and by extension yay will do weird things if I don't have the correct number of us and is.

    [–] Krompus@lemmy.world -2 points 1 year ago* (last edited 1 year ago) (1 children)

    man yay

    If no operation is specified 'yay -Syu' will be performed

    It has been this way for years. RTFM.

    [–] cyanarchy@sh.itjust.works 2 points 1 year ago (1 children)

    Fun fact jackass, new people start learning these tools every single day.

    [–] Krompus@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

    Sorry, I misinterpreted the intent and tone of your comment. Was only trying to be helpful and save you some keystrokes, carry on.

    Edit: lol my app kept telling me it failed to post the comment but it posted it every time. Wish it wouldn't show the deleted comments.

    [–] Macropolis@lemmy.world 1 points 1 year ago

    Every damn time! That's why I started aliasing 'sudo pacman -Syu && paru' to 'U'

    [–] fzacq9td@lemmy.world 1 points 1 year ago

    make a cron job.

    [–] minh2134@programming.dev 1 points 1 year ago

    I alias it to fuck to remind me of the appropriate reaction

    [–] pix@lemmy.blahaj.zone 11 points 1 year ago* (last edited 1 year ago) (2 children)
    [–] RustyWizard@programming.dev 10 points 1 year ago (1 children)

    Can’t have grub problems if you don’t have grub. The howto is great, I’ve converted a few machines using it without any (subsequent bootloader-related) issues.

    [–] insaneduck@lemmy.world 2 points 1 year ago

    refind master race

    [–] js24@lemmy.world 10 points 1 year ago

    yay yay yay

    every 15 minutes

    [–] SaltyIceteaMaker@lemmy.ml 6 points 1 year ago

    Did that, arch broke, installed arch again lol

    [–] TableCoffee@lemmy.ca 6 points 1 year ago (1 children)

    I put this in my taskbar which helped me stop running paru habitually.

    https://github.com/bouteillerAlan/archupdate

    [–] foxrumor@lemmy.world 2 points 1 year ago

    I run it every time I power on my laptop. Just can't help it.

    [–] TheMemorius@lemmy.world 4 points 1 year ago

    Guys what are you talking about, pacman is a cheese with a ghost problem

    [–] Ninmi@sopuli.xyz 4 points 1 year ago (2 children)

    On the opposite end here. I know if there's a kernel update then I'd need to reboot and restart everything.

    [–] gerbilOFdoom@lemmy.world 3 points 1 year ago (1 children)

    Only to activate the new kernel! You can just leave the current one running with minimal issues, even less if you have something like KernelCare live patching security bugs

    [–] AProfessional@lemmy.world 3 points 1 year ago (1 children)

    Any dynamicly loaded module will fail. Just reboot.

    [–] gerbilOFdoom@lemmy.world 1 points 1 year ago (1 children)

    Assuming any dynamically loaded module will fail, why does KernelCare exist and why is it used so prevalently in web hosting environments? It costs money, so buying it when it doesn't work seems odd.

    [–] AProfessional@lemmy.world 1 points 1 year ago

    Very valuable high uptime servers exist but they take care, as in professional admins, to maintain it.

    None of this applies to Arch or home users. You get full kernel updates and no old modules are kept. You reboot.

    Other distros like Fedora keep old versions around but you still have to reboot to get updates.

    [–] backhdlp@lemmy.blahaj.zone 1 points 1 year ago

    I still haven't restarted my system since updating to 6.4

    [–] countdankula420@lemm.ee 4 points 1 year ago

    I unironically do that

    [–] Piatro@programming.dev 1 points 1 year ago (2 children)

    God I miss apt, why would I not want to run -Syu?

    I use manjaro btw

    [–] backhdlp@lemmy.blahaj.zone 2 points 1 year ago (1 children)

    sudo pacman -Syu is equivalent to sudo apt-get update && sudo apt-get upgrade, you'd want to run it about once a day to ensure you have all current updates. Pamac should allow you to update everything from a GUI, so you don't have to worry about that.

    [–] Piatro@programming.dev 1 points 1 year ago (1 children)

    Cool that's what I thought, just confused by the people saying they've bricked their systems by doing it!

    [–] Adelphius@lemmy.world 2 points 1 year ago

    Packages get updated a lot in arch. Occasionally a package may push an update with a big that can cause major problems. Often times those bugs are fixed relatively quickly, but if you update too often, you are more likely to update to a package with such bugs.

    [–] fzacq9td@lemmy.world 1 points 1 year ago

    is that an excuse?

    [–] Yasuke@lemmy.fmhy.ml 1 points 1 year ago

    Sudo Pac-Man -Sy

    [–] konqi@lemmy.world 1 points 1 year ago
    [–] vrighter@discuss.tchncs.de 1 points 1 year ago

    guilty as charged

    [–] Krompus@lemmy.world 1 points 1 year ago
    [–] AI_toothbrush@lemmy.zip 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.

    [–] AProfessional@lemmy.world 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.

    [–] gerbilOFdoom@lemmy.world 1 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!

    [–] cyanarchy@sh.itjust.works 3 points 1 year ago (1 children)

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

    [–] gerbilOFdoom@lemmy.world 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.

    [–] cyanarchy@sh.itjust.works 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.

    load more comments
    view more: next ›