Highlight of my Morning
Highlight of my Morning
Highlight of my Morning
Fedora does this too, it reboots to install updates...
Gnome Software does this with offline upgrades. It's optional. Doing sudo dnf upgrade is the same as sudo apt update && upgrade. No reboot. Obviously you should reboot for kernels and certain hooks but otherwise yeah. You can disable gnome software automatic downloads etc
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.
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.
The poster would be more convincing if you hadn't inverted apt-get update
and apt-get upgrade
...
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.)
(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.
I mean, it's definitely faster this way around
It accurately got them backwards, the same way I always do. :)
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.
Not necessarily. On Arch it's just "sudo pacman -Syu" and on Fedora it's just "sudo dnf update".
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.
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)
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
Fully Automatic Update Against Your Will.
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
Wait I'm confused, did OP invert it or did you?
Op inverted. apt update
updates the local package cache of apt so it knows what packages have updates. apt upgrade
then installs those updates.
Click Update and Shut Down
Windows: Updates and restarts
trollface.jpg
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.
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.
Ain't nobody got time for two commands.
sudo apt upgrade --update
Are you serious? That's a thing? I've been doing apt update and apt upgrade for years
It also has sudo apt autopurge which does autoremove --purge
Yes.
Also don't forget && exists for sequential completion of any commands
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.
sudo apt update && sudo apt upgrade
Well, true, one of the slowest packaging systems in Linux world is still faster than Windows Update.
sudo nix-channel --update
sudo nixos-rebuild switch
nvim flake.nix
sudo nixos-rebuild switch --flake .#flake
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.
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.
I've started noticing websites just to refuse to work on Linux:
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.
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.
Meanwhile in Fedora:
It is done that way for better reliability. It is optional and not even needed with Silverblue.
Is it just me or does it feel like this takes longer than just upgrading and restarting manually?
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?
When it updatedssystem files it'll do this when you shut down your computer.
If you never shut it down it never will lol
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.
Who even uses apt-get these days?
Yeah apt-get
is so old it officially misses packages that apt
... gets.
have been out of the loop for a while. what am I missing, what should I use in the future?
yay
"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.
Thank you for this, I love it. We use Ubuntu at work and I am quite tempted to covertly add yay as an alias.
Ain't nobody got time for apt-get. apt all the way.
Yeah it's crazy to me that people default to it. For scripts, sure, but apt is so much prettier.
pacman -Syu
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.
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"
This is so cursed.
sudo zypper ref && sudo zypper dup
Fellow OpenSUSE enjoyer right there
Which just sounds ridiculous frankly. Even when you know what it means it still is rediculous.
sudo dnf up
yay
. permissions for sudo will be asked for automatically.
sudo zypper dup
I really like Linux but I just wish I understood how to use it better. I keep having to look up how to do things.
Thatโs how you learn to use it better!
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".
I had the same problem trying to use a Windows 11 laptop after running linux at home for years. Turns out the "looking stuff up" part is how you learn how to use it better.
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
I did this until my coworker got annoyed enough that they told me to start using history | grep
lmaoo
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.
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!
Wow, thank you for this.
fish
shell and you can type the first chars of the command and it will show an autocompleate.
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.
โฌ๏ธโฌ๏ธโฌ๏ธโฌ๏ธโฌ๏ธโฌ๏ธ enter
topgrade -y
And my work here is done.
unattended-upgrades
and cron
jobs for everything else ftw.
I never got unattended-upgrades
to work for me on the machine I tried it on. Best I could tell, it just didn't do anything. It was frustrating.
But many years back I set up my raspberry pi with a cron job that was effectively (if not literally) apt update && apt full-upgrade && reboot
and that seemed to be working just fine.
Atomic zypper gang!! <3
Non-atomic zypper enjoyers here!!!
yay -Syu
Also just yay
cd /etc/nixos nix flake update sudo nixos-rebuild switch git add -A . git commit -m "Update"
๐โโ๏ธ
alias up='topgrade'
I love topgrade, fantastic piece of software.
They both require a restart.
You don't have to reboot after updating Debian (and most mutable distros I think?) packages, you just need to restart the updated software/software using updated libraries.
The easiest way to achieve this is of course to reboot, but it's not required at all.
Usually only for kernal revisions on Linux.
bash
sudo apt-get install unattended-upgrades sudo dpkg-reconfigure unattended-upgrades
And then go into the config and uncomment stuff
My experience, updates usually work fine. Dist upgrades work fine 2/3 of the time.
The support for updating to a new version of a distribution is often still a headache. Some distributions donโt support it at all.
Except that every so often my graphics drivers get messed up somehow and I need to spend the afternoon debugging it. Tbf this has happened to me on Windows too, although less often.
Found the nvidia user ๐
Yepโฆ
Aight. Question.
Should I upgrade THEN update ?
Or vise versa?
apt-get update updates the package index files, while apt-get upgrade upgrades the actual packages installed in your system.
The OP did it in the wrong order. First do update
to refresh, then do upgrade
to install.
WHEW. I have been unnecessarily worried about that for like, 2 years.
takes 1 minute on an 8 year old machine. foss gang cant meme.
yay -Syu
yay -Syu --noconfirm
ok just found out yay is an alias so ive just embarrassed myself publicly
It's through Update Manager (mintupdate) for me, but I definitely feel like the happy guy looking out at the nice view.
It's missing the part where invoking su requires your password. For the sake of accuracy, I think you should show how you enter your password.
Also, I'm nervous about the command ifconfig. Can you try running that and paste your results here, to help quiet my fears, of course.
You dont need su for updates
Am I incorrect to say that using the command "super user do" can be expressed conversationally as "invoking super user?" I'm confused. The meme literally says "sudo." And while you don't need to begin the command with "sudo," you'll then get a message asking you to enter your root password. So you're still kinda invoking super user.
Maybe you should double-check me, though. Type $ apt-get update into your terminal. If it asks for your password, reply with what you entered to satisfy that prompt. For research reasons.
As you have apt in your sudo file? Or maybe you just log in as root?
Yeah but I really need to update the kernel
Nach dem Update dann kaputt oder bootet nicht mehr...
Glorifiziert mal keine Paketbasierten Systeme
Debian 13 ist gerade hart am strugglen zB
I'm on arch so its the highlight of every morning ๐คฃ