top 98 comments

sorted by: hot top controversial new old
[–] 231 points 1 year ago (19 children)

The poster would be more convincing if you hadn't inverted apt-get update and apt-get upgrade...

  • source
  • hideshow 19 child comments
  • [–] [S] 33 points 1 year ago (2 children)
  • [–] 33 points 1 year 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.)

  • source
  • parent
  • [+] 2 points 1 year ago (9 children)
  • [–] 11 points 1 year ago* (4 children)

    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.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 1 year ago* (last edited 1 year ago) (3 children)

    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.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 5 points 1 year ago (2 children)

    Curious what happens in windows now

  • source
  • parent
  • hideshow 2 child comments
  • [–] 6 points 1 year ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • load more comments (1 reply)
  • [–] 53 points 1 year ago (1 child)

    Dont you mean: sudo apt update && sudo apt upgrade

  • source
  • hideshow 1 child comment
  • [–] 35 points 1 year ago*

    This is so cursed.

    1. Wrong order
    2. Dont use apt-get in the terminal
    3. Reboot
  • source
  • [–] 34 points 1 year ago* (last edited 1 year ago) (6 children)

    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.

  • source
  • hideshow 6 child comments
  • [–] 43 points 1 year ago (5 children)

    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.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 11 points 1 year ago (3 children)

    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.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 9 points 1 year ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 8 points 1 year ago* (last edited 1 year 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.

  • source
  • parent
  • [+] 32 points 1 year ago (17 children)
  • [–] 22 points 1 year ago (15 children)

    Are you serious? That's a thing? I've been doing apt update and apt upgrade for years

  • source
  • parent
  • hideshow 15 child comments
  • [–] 8 points 1 year ago* (12 children)

    Yes.

    Also don't forget && exists for sequential completion of any commands

  • source
  • parent
  • hideshow 12 child comments
  • [–] 23 points 1 year ago (5 children)

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

  • source
  • parent
  • hideshow 5 child comments
  • [–] 7 points 1 year ago (3 children)

    These are much more useful than the :(){ :|:& };: operator

  • source
  • parent
  • hideshow 3 child comments
  • load more comments (1 reply)
  • [–] 4 points 1 year ago (5 children)

    Yeah, I was doing sudo apt update && sudo apt upgrade

  • source
  • parent
  • hideshow 5 child comments
  • [–] 2 points 1 year ago (4 children)

    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.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 1 year ago (3 children)

    Presumably running upgrade with the update flag does it all in one go.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 1 year ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 year ago

    Presumably running upgrade with the update flag is smart enough to do it in the proper order because there would be no point in doing it in the opposite order. Many other package managers just work like this out of the box. Homebrew is such an example. Running upgrade automatically does "update" first.

  • source
  • parent
  • load more comments (1 reply)
  • [–] 25 points 1 year ago (9 children)

    Ain't nobody got time for apt-get. apt all the way.

  • source
  • hideshow 9 child comments
  • [–] 7 points 1 year ago (8 children)

    Yeah it's crazy to me that people default to it. For scripts, sure, but apt is so much prettier.

  • source
  • parent
  • hideshow 8 child comments
  • [–] 1 point 1 year ago (6 children)

    I recall somewhere that it makes some kind of difference in scripts

  • source
  • parent
  • hideshow 6 child comments
  • [–] 3 points 1 year ago (5 children)

    apt-get has a stable API is my understanding.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 1 point 1 year ago (4 children)
  • [–] 1 point 1 year ago (2 children)

    The apt(8) commandline is designed as an end-user tool and it may change behavior between versions. While it tries not to break backward compatibility this is not guaranteed either if a change seems beneficial for interactive use.

    https://manpages.debian.org/buster/apt/apt.8.en.html

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 year ago (1 child)

    oh, ok.

    but i wouldn't care. i'd say "fuck it, we ball"

    (confirmable by the number of --noconfirms used in history)

  • source
  • parent
  • hideshow 1 child comment
  • [–] 47 points 1 year ago (7 children)
  • [–] 5 points 1 year ago (2 children)

    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?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 23 points 1 year ago* (1 child)

    Click Update and Shut Down

    Windows: Updates and restarts

    trollface.jpg

  • source
  • hideshow 1 child comment
  • [–] 21 points 1 year ago (1 child)

    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.

  • source
  • hideshow 1 child comment
  • [–] 11 points 1 year 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.

  • source
  • parent
  • [–] 21 points 1 year ago (2 children)
  • [–] 17 points 1 year ago

    Well, true, one of the slowest packaging systems in Linux world is still faster than Windows Update.

  • source
  • [–] 16 points 1 year ago (5 children)
  • [–] 2 points 1 year ago (1 child)

    I'm on Garuda, so I just type

    sudo update
    

    I can still type out pacman -Syu, but nice that I don't have to.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 1 year ago*

    The beauty of Linux is the triviality of creating an alias that runs whatever long or short update command by typing "upd" or "release_the_epstein_files". E.g., in ~/.bashrc, place:
    alias release_the_epstein_files="sudo pacman -Syu --noconfirm"

  • source
  • parent
  • [+] 16 points 1 year ago (3 children)
  • [–] 9 points 1 year ago* (last edited 1 year ago)

    That's literally everything ever that is worth it.

    Imagine saying "I really wanna play piano but I just wish I understood how to play it better. I keep having to look up how to do things".

  • source
  • parent
  • [–] 15 points 1 year ago (6 children)

    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

  • source
  • hideshow 6 child comments
  • [–] 7 points 1 year ago (4 children)

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

  • source
  • parent
  • hideshow 4 child comments
  • [–] 7 points 1 year 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.

  • source
  • parent
  • [–] 15 points 1 year 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.

  • source
  • [–] 14 points 1 year ago (7 children)
  • [–] 5 points 1 year ago (5 children)
  • [–] 12 points 1 year ago

    ⬆️⬆️⬆️⬆️⬆️⬆️ enter

  • source
  • load more comments
    view more: next β€Ί