• groet@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        43 minutes ago

        I use apt in scripts and docker files. I don’t even know what apt-get is supposed to do better there?

  • ohshit604@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    23
    ·
    edit-2
    6 hours ago

    Be me -

    Gets the Ok from IT to switch to a Linux Distro for my work desktop.

    Gets the Ok from my direct manager.

    Gets the Ok from our contracts manager who used to be in my direct managers position before.

    Direct manager reaches out to lead developer, who happens to be a windows fanboy, for the web app we use to ensure “compatibility”, gets told to be careful of what I do and our cybersecurity insurance won’t cover it.

    Be me, looking around at all the minuscule pieces of hardware connected to the internet likely running some form of Linux or Unix.

    • ByteOnBikes@discuss.online
      link
      fedilink
      arrow-up
      25
      ·
      5 hours ago

      It’s a fucking web app. Make sure it works for a browser. You suck as a web developer if your shit web app needs to work on a specific OS.

      And those are fighting words because I build web apps.

      • Technus@lemmy.zip
        link
        fedilink
        arrow-up
        3
        ·
        1 hour ago

        I’ve started noticing websites just to refuse to work on Linux:

        • Xfinity
        • Microsoft
        • United Airlines
        • American Airlines

        It’s not like some weird script error either. It’s straight up a 403 Forbidden on certain routes. Works perfectly fine if I switch to my Windows laptop. It’s like it took one look at my user agent string and decided I was a bot.

        • ChunkMcHorkle@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          40 minutes ago

          Not saying you’re wrong, but if you’re running a VPN it could be that as well. More and more sites are demanding CAPTCHA tests and verification holds or just returning 403 for VPN access no matter what OS you are running.

          • NateNate60@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            8 minutes ago

            I cooked up my own VPN and I still get blocked sometimes because it’s a data centre IP. For example, Wikipedia blocked the whole /30 range.

      • ohshit604@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        4 hours ago

        Man they get really up in your business if you aren’t using Chrome and their dinky extension, that I swear he pulled from someone’s GitHub and rebranded as his own, which all it does is open file links in the file browser.

        I made a point by switching my user agent on Zen Browser to report as Chrome, Ubuntu haven’t heard a peep about it yet.


        Side note at one point in time the clock-in we use, which is also a web app, had its admin/manager panel exposed to everyone in the company, I reported it and all I got was a thanks.

    • SmoochyPit@lemmy.ca
      link
      fedilink
      arrow-up
      30
      ·
      10 hours ago

      Maybe OP knew all along that they wanted to use the previous package list to upgrade and fetch the new one after! Maybe we’re all actually inverting it…

      (I’m just being silly, I recognize that an old package list would probably cause issues with installing or upgrading packages.)

      • dev_null@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        5 hours ago

        It’s fine! You were trying to show how Windows is better because you can’t make a mistake like that and succeeded!

        I’m joking

      • MimicJar@lemmy.world
        link
        fedilink
        arrow-up
        13
        ·
        9 hours ago

        I mean technically you did “update” the OS. It wasn’t a particularly useful command by going second, but I bet it was fast.

      • DacoTaco@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        32 minutes ago

        Op inverted. apt update updates the local package cache of apt so it knows what packages have updates. apt upgrade then installs those updates.

    • Storm@slrpnk.net
      link
      fedilink
      arrow-up
      7
      ·
      9 hours ago

      Thank you, I mostly use pacman but have Debian (rasbian?) on raspberry pi and was fully willing to believe I’d been updating it wrong this whole time

    • Samskara@sh.itjust.works
      link
      fedilink
      arrow-up
      10
      arrow-down
      4
      ·
      9 hours ago

      That’s the best part of this post. Windows is fully automatic, while on Linux you need to tell apart two terminal commands with confusing naming.

      • DacoTaco@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        29 minutes ago

        You think ive touched the apt commands in linux…?
        I mean, youre right, but thats because i like to be hands on. But i dont have to if i wanted :p

      • moobythegoldensock@infosec.pub
        link
        fedilink
        arrow-up
        8
        ·
        edit-2
        7 hours ago

        On linux, you can do what you wish. You can use a desktop environment with a GUI software center that pops up a notification that prompts you to install updates. Or update by opening the software center and selecting the ones you want. Or use the terminal commands. Or write an alias so you can type “update” and have it execute all your commands in the right order. Or script it to run silently in the background on an automated schedule.

        And you can use your computer during updates, there’s no mandatory update during shutdown/boot.

        • primrosepathspeedrun@anarchist.nexus
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          5 hours ago

          If I try to update my GPU while I’m running a game sometimes it falls back to integrated graphics and gets slow+warm til I restart. That’s a fuckup I just couldn’t make on windows. Sorry, checkmate fosscommie.

            • missfrizzle@discuss.tchncs.de
              link
              fedilink
              arrow-up
              3
              ·
              5 hours ago

              fun fact: GPU drivers on Windows run in userspace, because MS got fed up with all the blue screens they caused and kicked them out of the kernel. if the GPU driver crashes, the screen will go dark for a second and then flick back on. if the GPU driver can’t restart then Windows will fall back to software rendering.

              • DacoTaco@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                27 minutes ago

                Which is what you see happening when updating or reinstalling a gpu driver.

                Funny thing is, gpu drivers can still cause a bsod by causing fuckups in the directx driver, which ive seen happen :')

      • eta@feddit.org
        link
        fedilink
        English
        arrow-up
        15
        ·
        9 hours ago

        Not necessarily. On Arch it’s just “sudo pacman -Syu” and on Fedora it’s just “sudo dnf update”.

      • Catoblepas@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 hours ago

        On Mint I set up an automatic update schedule and have been double checking it when I think to. All GUI, no terminal commands. So far it’s been seamless. (Knock on wood)

    • TrickDacy@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      7 hours ago

      Wait what? I have been running silver blue and vanilla fedora recently and I don’t remember this happening. I always run my update script manually every day or so though. When do you see this screen?

      • minkymunkey_7_7@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        6 hours ago

        It updates just like Windows automatically, in Discover. Then it asks to restart and upgrade and it’s just like Windows. I did this just today. Nice UI and UX with Fedora with Plasma.

      • krooklochurm@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        6 hours ago

        When it updatedssystem files it’ll do this when you shut down your computer.

        If you never shut it down it never will lol

      • greedytacothief@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 hours ago

        What? I’ve never had fedora reboot itself. Sometimes it asks if I want to install updates on reboot or shutdown. But I am always in charge of when that happens.

  • Echolynx@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 hours ago

    I gotta say, apt-get is not my favorite way to update… yay is so much simpler.

        • Arthur Besse@lemmy.ml
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          1
          ·
          edit-2
          6 hours ago

          sudo apt --update --autoremove upgrade -y

          note

          this doesn’t actually do the same thing as the previous comment running autoremove afterwards does; the former will remove things which were rendered removable by the upgrade while the latter will only remove things which were already autoremovable prior the upgrade.

  • gari_9812@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    8 hours ago

    Nothing like the joy of my system upgrading without a hassle… just need to press the up arrow key until I find the command… I’ll get there eventually

    • Bappity@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      7 hours ago

      I did this until my coworker got annoyed enough that they told me to start using history | grep lmaoo

      • felbane@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 hours ago

        Or ctrl+r and start typing what you’re searching for, and repeat ctrl+r to find the next newest match.

        For example, [C-r] ssh [C-r] [C-r] will auto fill the 3rd most recent ssh command you’ve run. Try it, your life will be filled with rainbows and unicorns.

      • NeatNit@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        5 hours ago

        There are even better ways built into the shell, but I can never remember any of them. I also never thought of history|grep, I think I might actually remember that one. Thanks!

      • CoyoteFacts@piefed.ca
        link
        fedilink
        English
        arrow-up
        20
        ·
        10 hours ago

        Whoa, do you have something to read up on that? I’d be extremely surprised, since apt-get is supposed to be the script-safe variant, i.e. I’d imagine it’s the more stable of the two.

        • Snot Flickerman@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          17
          ·
          edit-2
          8 hours ago

          It’s actually just personal experience, but I stopped using apt-get a few years back now because I noticed if I did apt after apt-get there would often be a bunch of packages it missed.

          Edit: looks like it might be because apt-get can’t satisfy dependencies install new packages when upgrading while apt can since apt is a suite of different apt tools rolled into one.

          • CoyoteFacts@piefed.ca
            link
            fedilink
            English
            arrow-up
            9
            ·
            10 hours ago

            Yeah I’m reading a little bit on it, and it seems like apt-get can’t install new packages during an upgrade. On initial reading I was thinking there were specific packages it couldn’t download or something, but this makes sense too. Regardless, this is news to me; I always assumed that apt and apt-get were the same process, just with apt-get having stable text output for awk’ing and apt being human-readable. I’ve been using nala for a long time anyway, but this is very useful knowledge.

          • boredsquirrel@slrpnk.net
            link
            fedilink
            arrow-up
            6
            ·
            10 hours ago

            Wait what.

            apt-get is made for scripting, apt is interactive. Both should resolve dependencies. dpkg does not resolve them.

            But for interactive usage always use apt, guides using apt-get have no idea what they are doing

        • ExtremeDullard@piefed.social
          link
          fedilink
          English
          arrow-up
          7
          ·
          10 hours ago

          apt generally downloads more things than apt-get on my Debian machine. apt-get never broke anything, but I tend to eye it suspiciously now.

      • 9point6@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        10 hours ago

        Legitimately didn’t know this and occasionally type apt-get just for a bit of frivolity

  • alecsargent@lemmy.zip
    link
    fedilink
    arrow-up
    14
    ·
    9 hours ago

    Last week my brother had to use my laptop and install Rstudio(for some University project) because his Mac was too old and slow. I was out of home so I had to instruct him through the phone and I could hear his awe while he explained how easy was to install the program. He told me laughing that he could see the pacman and started to cheer for it, this made my day.