• omnislayer88
    link
    fedilink
    241 year ago

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

    • Spaceape
      link
      fedilink
      English
      71 year ago

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

      • @fluxion@lemmy.world
        link
        fedilink
        English
        101 year ago

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

        • @droans@lemmy.world
          link
          fedilink
          4
          edit-2
          1 year ago

          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.

          • Draconic NEO
            link
            fedilink
            71 year ago

            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.

            • @blackstratA
              link
              -2
              edit-2
              1 year ago

              So you’re telling us your server is unpatched and full of security holes. Cool, man

  • @stallmer@lemmy.one
    link
    fedilink
    English
    191 year ago

    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?

    • @Magister@lemmy.world
      link
      fedilink
      91 year ago

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

    • WheelchairArtist
      link
      fedilink
      2
      edit-2
      1 year ago

      I can see why you’d want separate “update” and “upgrade” options

      i don’t. anyone care to explain?

      • @elvith@feddit.de
        link
        fedilink
        131 year ago

        Maybe for a server - regularly update the package list and compile a list of packages needed to be upgraded. Then send the list to an admin and let them do the update, so that it isn’t unattended.

        • WheelchairArtist
          link
          fedilink
          31 year ago

          makes sense, other package managers do the same. mixed it up with upgrade dist-upgrade which i still don’t really get

          • @aulin@lemmy.world
            link
            fedilink
            71 year ago

            upgrade upgrades only installed packages, and only when it can do so without adding/removing other packages. dist-upgrade will do the same, plus upgrade packages that have dependency changes. If package A v1 depends on package B, but package A v2 depends on package C instead, using upgrade will keep your package A at v1, while dist-upgrade will install the new dependency and upgrade package A to v2.

    • 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.

    • Spaceape
      link
      fedilink
      English
      61 year ago

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

    • @stoicmaverick@lemmy.world
      link
      fedilink
      31 year ago

      Class, let’s all thank ‘TeamAssimilation’ for showing us what not to do. Now, Brian, I think it’s your turn to wipe the drool off of his face, and make sure he hasn’t pooped himself again. I’m going to go call his parole officer and tell him that he’s in CLEAR violation of his parole.

  • @Paulemeister@feddit.de
    link
    fedilink
    151 year ago

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

    • @rambos@lemm.ee
      link
      fedilink
      11 year ago

      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

    • 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.

      • Avid Amoeba
        link
        fedilink
        91 year ago

        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.

        • @TrustingZebra@lemmy.one
          link
          fedilink
          31 year ago

          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.

          • Avid Amoeba
            link
            fedilink
            21 year ago

            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.

    • @sznio@lemmy.world
      link
      fedilink
      31 year ago

      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.

      • Avid Amoeba
        link
        fedilink
        4
        edit-2
        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. ☺️

  • Lexi Sneptaur
    link
    fedilink
    English
    71 year ago

    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

      • oce 🐆
        link
        fedilink
        3
        edit-2
        1 year ago

        A command line utility to manage AUR (Arch Linux User Repository) packages. The AUR contains about any imaginable package on Earth, it’s one of the greatest features of Arch. If you need some app, someone probably already packaged it in the AUR, so you don’t have to handle a manual update.
        AUR helpers allow installing and updating both official Arch packages and AUR packages with a single command.
        Another popular one that I use is yay.

        • Firnin
          link
          fedilink
          21 year ago

          Thanks! I never knew there was an alternative to yay

  • NormalC
    link
    fedilink
    61 year ago

    sudo nala upgrade ; flatpak update

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