• LoafedBurrito@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    24 hours ago

    It’s insanity. I had to upgrade my work laptop to windows 11 this week.

    IT didn’t do their research and turns out our main software isn’t compatible with windows 11 at all. So i had to downgrade back to windows 10. When i did, photos don’t work and the microsoft store wont open.

    Windows is such a horrible system, i have no idea why they made it so poorly. I could have installed any distro of linux and had it working well in less than 20 minutes. Upgrading to windows 11 took almost 2 hours and it still didn’t work.

    Now IT has to scramble to find a solution before the 14th and we lose all security updates, which they are very concerned about. What a nightmare to be in IT.

    • WhatsHerBucket@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      23 hours ago

      It’s always a nightmare being in IT lol

      Nobody ever calls to say, “Hey! Just wanted to let you know that my email is working great, keep up the good work!”

      We only hear from people when shit is broken.

      Being in a windows shop only makes it 100x more difficult and expensive.

    • Infernal_pizza@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      5
      ·
      22 hours ago

      Install Windows - does updates as part of the installation process. Get to desktop and check for updates - more updates to install. Reboot and check for updates again - yet more updates.

    • groet@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      22 hours ago

      No it will update and once that is done it will shut down. But the update includes a restart so it will restart and then require you to type your password so it can finish the update, after which it will shut down.

    • JojoWakaki@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 hours ago

      “I use arch … btw”, also btw

      For APT enjoyers, alias yay="sudo apt update && sudo apt upgrade"

      Also, alias nay="yay -Rns"

      Or yeet if you prefer, for the yay/nay or yay/yeet pair.

        • MsFlammkuchen
          link
          fedilink
          arrow-up
          22
          ·
          1 day ago

          && executes the second command, if the command before was successful, || executes the second command if the first one was unsuccessful and ; executes the second command regardless of success.

          • ITGuyLevi@programming.dev
            link
            fedilink
            arrow-up
            2
            ·
            20 hours ago

            I may be totally confused but I’ve also always done it in that order, otherwise I feel like it would run upgrades from your cache of the apt repos (possibly hitting errors as stuff likes to change), then after it would run apt update (updating the repos).

            My thought has always been update repos, then check those repos for software upgrades. I could definitely be wrong though.

              • ITGuyLevi@programming.dev
                link
                fedilink
                arrow-up
                3
                ·
                3 hours ago

                Yeah but shouldn’t the order matter? My understanding was that && just said 'after the previous command, run this… ’ so running upgrade before update would miss any changes changes to repos… From what I can tell update is required before upgrade (just like you have it), doing it in reverse missed a ton of updates for me.

                • reggu@lemmy.world
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  1 hour ago

                  If it were upgrade && update, yes that would miss the boat. --update is a baked in feature of apt upgrade, so it knows what to do ^_^

      • Cevilia (she/they/…)
        link
        fedilink
        English
        arrow-up
        8
        ·
        1 day ago

        I’m absolutely serious.

        You can also add a package name to install it at the same time as doing the upgrade, though personally I prefer to do that as a separate command so I can see what dependencies are needed.

    • SmoochyPit@lemmy.ca
      link
      fedilink
      arrow-up
      36
      ·
      2 days 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.)

      • groet@feddit.org
        link
        fedilink
        arrow-up
        4
        ·
        18 hours ago

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

        No problems anywhere you can always install older versions from a repo.

        Upgrade -> update two days ago and then again today will leave me with exactly the same packages as it would if I ran it correctly the first time and then not at all today. Just the state of two days ago.

      • MimicJar@lemmy.world
        link
        fedilink
        arrow-up
        19
        ·
        2 days 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.

        • groet@feddit.org
          link
          fedilink
          arrow-up
          2
          ·
          18 hours ago

          If you run it like that every day you will always be one day behind in packages. Not realy that big of a problem (unless on an internet facing server)

      • dev_null@lemmy.ml
        link
        fedilink
        arrow-up
        5
        ·
        2 days 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

    • Samskara@sh.itjust.works
      link
      fedilink
      arrow-up
      9
      ·
      2 days 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.

      • eta@feddit.org
        link
        fedilink
        English
        arrow-up
        19
        ·
        2 days ago

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

          • DaTingGoBrrr@lemmy.world
            link
            fedilink
            arrow-up
            6
            ·
            1 day ago

            If you’re too stupid to remember one or two commands there are GUI applications available where you can click “a button” to update your system.

            Or make an alias with the update command and name it “update”. This works on every distro.

              • DaTingGoBrrr@lemmy.world
                link
                fedilink
                arrow-up
                3
                ·
                1 day ago

                If you can’t remember one or two commands then you are in fact stupid. With that said, Linux is for everyone.

                There are distros that have auto updates as a feature they ship (Linux Mint comes to mind). There are distros that are basically impossible to break and there are distros where you are responsible for building your own system and keeping it functioning. It all depends on your own needs. Linux gives you the freedom to choose and there are more than one way to do things.

      • moobythegoldensock@infosec.pub
        link
        fedilink
        arrow-up
        12
        ·
        2 days 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.

      • DacoTaco@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 day 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

      • Catoblepas@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 days 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)

    • Storm@slrpnk.net
      link
      fedilink
      arrow-up
      6
      ·
      2 days 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

      • DacoTaco@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        1 day 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.

  • ohshit604@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    38
    ·
    edit-2
    2 days 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
      45
      ·
      2 days 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
        12
        ·
        1 day 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
          10
          ·
          1 day 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.

      • ohshit604@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        9
        ·
        edit-2
        2 days 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.

    • TrickDacy@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      2 days 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?

      • krooklochurm@lemmy.ca
        link
        fedilink
        arrow-up
        5
        ·
        2 days 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

      • minkymunkey_7_7@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 days 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.

    • Snot Flickerman
      link
      fedilink
      English
      arrow-up
      41
      ·
      2 days ago

      Yeah apt-get is so old it officially misses packages that apt… gets.

      • CoyoteFacts@piefed.ca
        link
        fedilink
        English
        arrow-up
        27
        ·
        2 days 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
          link
          fedilink
          English
          arrow-up
          22
          ·
          edit-2
          2 days 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
            12
            ·
            2 days 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
            7
            ·
            2 days 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

            • Snot Flickerman
              link
              fedilink
              English
              arrow-up
              3
              ·
              2 days ago

              You’re right, I misspoke, it’s that it can’t install new packages, it can only upgrade existing ones. I guess I was thinking the only reason it would need to install new packages was if that was a new dependency.

        • ExtremeDullard@piefed.social
          link
          fedilink
          English
          arrow-up
          9
          ·
          2 days 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.

      • ozymandias117@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        18 hours ago

        Is it?

        refresh makes it more clear than update that you’re not updating the computer’s packages, just the database of packages

        DPKG based distros also need dist-upgrade or full-upgrade, rather than just upgrade, when you are switching versions where removals might be needed

        • NewNewAugustEast@lemmy.zip
          link
          fedilink
          arrow-up
          2
          ·
          16 hours ago

          Oh don’t get me wrong, I use Suse on a laptop. The commands strike me as funny looking. Like if I didn’t know what they did.

          There is nothing more serious than Zypper!