And yet I’ve never had an apt upgrade break my whole system.
post
Debian users:
What do you mean by PPA?
Also: apt-get is intended as low-level APT interface for scripts, just use apt instead. I get why people are confused nowadays, because APT documentation is terrible.
apt-getis intended as low-level APT interface for scripts
Ah, that's what they call it now.
I wonder to what they degraded dpkg then?
I thought apt-get was a transitional command made so that the devs could make a breaking change, but now that that is done, its no longer needed
This meme brought to you by outdated packages in the official repo
Why -Syyu and not -Syu?
You ... you understand pacman cli switches?
No, I just hold my y key until there are many many ys.
Yes. -Syyu is for "Sync (repository action), database update (forced), upgrade packages", in that order (though the flags don't have to be). Doubling a lowercase character like yy or uu is to force the operation. yy in particular shouldn't be needed, as it only overrides the "is your database recent" check. Unless you're updating more than every 5 minutes, using a single y is perfectly fine.
Never had an update break on headless Debian. Even when switching from 12 to 13. That shit is solid.
I'm getting used to arch on my main desktop and I still can't figure out why the hell "sync" is the wording pacman uses for updating or why 'y' is refresh. Sync refresh upgrade my ass. I will admin, it is fast.
Because you’re “sync”ing with the state of the repo. You’re not necessarily upgrading. Sometimes the repos have a lower version than what you have, so you would be downgrading in that case. Or sometimes you’re just using it to install a new package and its dependencies.
-u is upgrade. And -uu is upgrade or downgrade. It’s used to filter the packages that sync operates on, so basically you’re syncing any packages that have a different version than the repo.
-y for refresh? No idea. -r is root, so I guess it was already in use by the time someone added refresh?
I did it on the GUI all day yesterday! The only problem Debian has is being unbreakable!
Heck, I switched repos from bookworm to trixie and installed 3 GiB worth of packages - 2.5k packages - and booted into a PERFECTLY WORKING system!
Installed the other 8 GiB afterwards and booted into a perfectly working system. Just before I thought Steam was broken, I rebooted and it came alive too.
And my GTX 1650 worked right away! Do you know how many times the daily 1 GiB update on Ubuntu breaks that?!
Flatpak updates are kinda' slow, no 4 GiB downloads needed per day, Debian updates arrive at like 200 MiB a month except for apps like VSCode, Signal, or Discord. And - to be honest - that's the Windows-unlike experience every distro is missing.
Debian really is unbreakable.
Fedora: sudo dnf update, type the letter y, done.
I don't understand why apt still has update and upgrade as two separate things.
You can even add the -y flag to skip typing y. Which apparently doesn't work for pacman judging by the command above
I’m more of a fan of just adding the -y parameter to skip the question and go straight to updating. Works with the install command too.
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.
Don't use gnome appstore. It's always broken
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.
And that’s why I don’t use PPAs, but you do you, I guess…
That's happened like once in the last 3 years and the notice was right in pacman before you accepted.
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.
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
Been using Arch since 2019, that has never happened to me. Apparently it's all about the device behind the keyboard, not about pacman. 🤣
That's because you have to use
apt
, not apt-get. Yes, there is a difference
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!
sudo emerge -avuDN world
sudo emerge -avuDUg world
--changed-use, -U:
- Tells emerge to include installed packages where USE flags have changed since installation. This option also implies the --selective option. Unlike --newuse, the --changed-use option does not trigger reinstallation when flags that the user has not enabled are added or removed.
--getbinpkg [ y | n ], -g:
- Using the server and location defined in PORTAGE_BINHOST (see make.conf(5)), portage will download the information from each binary package found and it will use that information to help build the dependency list. This option implies -k. (Use -gK for binary-only merging.)
Yay
Flatpack update
Of course it won't do anything, you need to update (refresh the index) before you upgrade (download and install updates), silly you
pkcon update
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?
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.
Sudo dnf update
Using bluefin or bazzite it is automatic in the background and I don't need to click anywhere or enter any command, I don't even need to open the terminal.


all 70 comments