• Captain Aggravated@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    34 minutes ago

    I do both. If I know exactly what I want to install, I’ll install it from the terminal because it’s often more direct. If I go “I need an app that does thing, what’s available?”

  • WillieShen@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    6 hours ago
    update_pm() {
      sudo apt update
      sudo DEBIAN_FRONTEND=noninteractive apt upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers install || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers install || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers install || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers autoinstall || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers autoinstall || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      echo y | sudo ubuntu-drivers autoinstall || true
      sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
      sudo apt clean
      sudo apt autoclean
      flatpak update -y || true
      flatpak uninstall --unused -y || true
      sudo snap refresh || true
      brew update
      echo y | brew upgrade
      echo y | brew autoremove
      brew cleanup
      uv self update
      uv tool upgrade --all
      npm i -g npm
      npm update -g
    }
    
  • plateee@piefed.social
    link
    fedilink
    English
    arrow-up
    8
    ·
    9 hours ago

    Aren’t you supposed to do apt full-upgrade instead of apt upgrade?

    Also wtf is pkcon for?

  • Zacryon@feddit.org
    link
    fedilink
    arrow-up
    4
    ·
    9 hours ago

    Don’t forget to check needrestart or similar afterwards if you have no idea what has happened.

    • Nutteman@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      9 hours ago

      When I just want to go to bed and deal with the repercussions of my actions in the morning:

      yay --noconfirm && reboot
      
  • chronicledmonocle@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    14 hours ago

    There is nothing wrong with using your distro’s app center. Often it will save you extra steps by updating things like Flatpaks as well, if you use them (or Snaps, if you’re an insane person).

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      2
      ·
      14 hours ago

      Flatpaks and snaps are two examples of deliverables with terribad integration and low SLSA scores. They should be considered toxic.

      • mholiv@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        11 hours ago

        Snaps I agree just because there is no open source snap store and it’s impossible to set up a 3rd party store.

        Flatpaks though? They let install packages with weird / rare / not available requirements on any distro. All open source with a really nice sandbox. I think flatpaks are great.

      • hirihit640@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        ·
        11 hours ago

        Let’s look at the alternatives:

        • System packages: not viable for the majority of packages because the distro devs don’t have time to manually package everything
        • AppImage: even worse integration (like no desktop shortcuts on install). Developer has to guess what libraries need to be included and which ones are already installed by the user. No sandboxing. Probably worse SLSA scores.
        • AUR: even worse security. No sandboxing. Packages are often compromised by hackers.
    • Disgruntled@lemmy.ca
      link
      fedilink
      arrow-up
      3
      ·
      14 hours ago

      Unless you use openSUSE Tumbleweed, right? Then it’s “sudo zypper dup”, from what I’ve heard.

  • darthsundhaft@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 hours ago

    Am I the only one that always has to LOL when I think about how Red Hat tried so hard to push for modules to be a thing with DNF but then they decided to kill it off because nobody wanted to maintain it. lmao