Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
Valso ( Valso@lemmy.ml )  to Memes@lemmy.ml · 1 year ago

Let's update...

lemmy.ml

message-square
42
link
fedilink
119

Let's update...

lemmy.ml

Valso ( Valso@lemmy.ml )  to Memes@lemmy.ml · 1 year ago
message-square
42
link
fedilink
alert-triangle
You must log in or # to comment.
  • hperrin ( hperrin@lemmy.ca ) 
    link
    fedilink
    English
    arrow-up
    51
    ·
    1 year ago

    And yet I’ve never had an apt upgrade break my whole system.

    • basiclemmon98 ( basiclemmon98@lemmy.dbzer0.com ) 
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      Define ‘Break’… /j

      • hperrin ( hperrin@lemmy.ca ) 
        link
        fedilink
        English
        arrow-up
        11
        ·
        1 year ago

        Unable to boot after the update. That’s happened to me multiple times with pacman, so I eventually switched to Fedora.

        • unique_hemp ( unique_hemp@discuss.tchncs.de ) 
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          Jokes on you, this happened to me on fedora with an nvidia gpu.

    • highduc ( highduc@lemmy.ml ) 
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      You must be very lucky then. I’ve seen it happen so many times.

  • ☂️- ( umbrella@lemmy.ml ) 
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    1 year ago

    deleted by creator

    • JackbyDev ( JackbyDev@programming.dev ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I use informant which in theory fixed this but even then there is an issue on it about some things happening earlier in pacman than the transaction hook it uses so… Bleh. This shit needs to be built into pacman itself, seriously.

    • BunScientist ( BunScientist@lemmy.zip ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Every time there’s been need for manual intervention the update just fails, I check the news to do the thing, then update as usual

    • Valso ( Valso@lemmy.ml ) OP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Been using Arch since 2019, that has never happened to me. Apparently it’s all about the device behind the keyboard, not about pacman. 🤣

  • Zanka ( Zanka@lemmy.ml ) 
    link
    fedilink
    arrow-up
    9
    ·
    1 year ago

    Fedora: sudo dnf update, type the letter y, done.

    I don’t understand why apt still has update and upgrade as two separate things.

    • PotatoesFall ( PotatoesFall@discuss.tchncs.de ) 
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      You can even add the -y flag to skip typing y. Which apparently doesn’t work for pacman judging by the command above

      • deadcade ( deadcade@lemmy.deadca.de ) 
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Since lowercase y as an option to uppercase S already exists to update the database, --noconfirm exists to continue without user confirmation.

        • NuclearDolphin ( NuclearDolphin@lemmy.ml ) 
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Pacman has the worst CLI flags I’ve ever seen.

  • Evil_Shrubbery ( Evil_Shrubbery@thelemmy.club ) 
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    Zypper gang, dup!!
    [an hour later]
    Done!

    (But actually I like it.)

  • Johanno ( Johanno@feddit.org ) 
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    sudo nix-rebuild switch

    • itslilith ( itslilith@lemmy.blahaj.zone ) 
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      uhm, akshually it’s sudo nixos-rebuild switch --upgrade

    • Malgas ( Malgas@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago
      nix flake update
      nix flake check --no-build
      git commit -a
      nh os switch
      

      Is the routine I’ve settled into. Flake update because I use flakes, flake check because it’s easier to see any warnings about deprecated options and the like so I can fix them preemptively, git commit after the check to avoid back-to back commits where the second is fixing some issue with the first, and nh because I like the pretty dependency graph and progress bar.

      • NuclearDolphin ( NuclearDolphin@lemmy.ml ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Lots of useful stuff here. Taking all of it.

        Does nh use fast-nix-build (or whatever the fancy nix builder CLI is called) to build your system?

        • Malgas ( Malgas@beehaw.org ) 
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          I honestly don’t know how nh works under the hood, but it does seem to do concurrent builds, so it’s probably something like that.

    • SuppenMartl ( SuppenMartl@beehaw.org ) 
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      This is the way.

    • Andrew ( Andrew15_5@mander.xyz ) 
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Actually nixos-rebuild switch --sudo.

  • sudo ( sudo@programming.dev ) 
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    --noconfirm

  • tomenzgg ( tomenzgg@midwest.social ) 
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    guix upgrade

  • cerement ( cerement@slrpnk.net ) 
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    $ doas apk -U upgrade

  • Fives ( Fives@discuss.online ) 
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    And that’s why I don’t use PPAs, but you do you, I guess…

    • poweruser ( poweruser@lemmy.sdf.org ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Yep. I’m on Debian for many years now. Every broken update I can recall was either caused by an undocumented PPA or nvidia drivers (which have finally been fixed, for my card at least)

  • pewpew ( pewpew@feddit.it ) 
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    That’s because you have to use

    apt
    

    , not apt-get. Yes, there is a difference

    • Valso ( Valso@lemmy.ml ) OP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I don’t see much of a difference between the two. That’s why now I’m uninstalling everything I use everyday and put them back as “portable” variants - downloaded as tarballs from their sites, github, or downloaded from Arch’s archive. Already did that with Telegram, Pinta and the browser, soon Audacious will meet the same fate cuz for some reason it uses GTK2, not GTK3 as it should. Plus, having them as tarballs means I can have better versions than those in mint’s repo.

      Too bad that pacman can’t be used on Mint, that would be awesome!

  • Dessalines ( dessalines@lemmy.ml ) 
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    topgrade --no-retry --cleanup --yes

  • Comrade_Squid ( Comrade_Squid@lemmy.ml ) 
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Using Debian as my main laptop distro, I am usually an arch user but figured with it being a light weight laptop I wouldn’t need arch, its been fine but installing updates can be frustrating, after a few weeks gnomes appstore breaks, then I need to use terminal to apt update, apt --fix-broken install.

    • Hirom ( Hirom@beehaw.org ) 
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Which Debian distribution are you using, stable, testing, unstable?

      I take care of a couple machines for family members. Those have Debian stable with automatic update (unattended-upgrade). I can’t recall the system or packages ever breaking. At most users are a bit confused when an update change the UI a bit.

      Sticking to stable and avoiding third party repos gives a pretty solid system. Only developers or sysadmins might consider Debian testing. Only people working on Debian itself should use unstable.

  • Björn ( bjoern_tantau@swg-empire.de ) 
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago
    pkcon update
    
    • Ephera ( Ephera@lemmy.ml ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Did you decide to use that instead of the normal distro package manager or is there a distro which actually only has pkcon for the CLI?

      • Björn ( bjoern_tantau@swg-empire.de ) 
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Nah, I just wanted to toss it in. I kinda want to get used to it, but I always fall back to the native managers.

        But I was pleasantly surprised by pkcon (through Discover) being able to do proper system updates on OpenSUSE Tumbleweed. It used to be discouraged to use it for system updates.

        • Ephera ( Ephera@lemmy.ml ) 
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Ah, fair enough. Yeah, I kind of have the same problem that I forget about it. I have to use Ubuntu at work and APT is confusing in many ways, so I keep meaning to try pkcon instead, but I still have to do so…

  • alk ( alk@lemmy.blahaj.zone ) 
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Or the superior and succinct paru

  • JoshCodes ( joshcodes@programming.dev ) 
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    sudo nala upgrade

Memes@lemmy.ml

memes@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !memes@lemmy.ml

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 367 users / day
  • 870 users / week
  • 2.17K users / month
  • 5.71K users / 6 months
  • 1.36K local subscribers
  • 57.2K subscribers
  • 10.8K Posts
  • 84.5K Comments
  • Modlog
  • mods:
  • ghost_laptop ( gary_host_laptop@lemmy.ml ) 
  • Cyclohexane ( cyclohexane@lemmy.ml ) 
  • Arthur Besse ( cypherpunks@lemmy.ml ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code