I use an fzf based script that queries for updates and lets me choose what to install.
If you use xbps, or are just curious:
::: xu #!/bin/env sh
self=“$(basename “$0”)”
error() { printf ‘%s:’ “$self” >&2 # shellcheck disable=SC2068 printf ’ %s’ $@ >&2 printf ‘\n’ >&2 }
fatal() { error “$@” exit 1 }
if [ -x “$(command -v sk)” ]; then finder=sk elif [ -x “$(command -v fzf)” ]; then finder=fzf else echo “neither fzf or sk are installed” >&2 exit 1 fi
tmp=“$(mktemp)” || fatal “couldn’t source bindings” grep ‘^export’ “$DOTFILES/.zshenv” | grep -E ‘FZF|SKIM’ >“$tmp” . “$tmp” rm “$tmp”
shellcheck disable=SC2046
choices=“$(xbps-install -nSu | cut -f1 -d’ ’ | sed ‘s/-[^-]*$//g’ | $finder | tr ‘\n’ ’ ')”
[ -n “$choices” ] || exit
guard=pkexec command -v “$guard” >/dev/null 2>/dev/null || guard=sudo
shellcheck disable=SC2086
while ! $guard xbps-install -Syu $choices; do :; done
:::
I’ll keep making Debian users aware that they can do it all in one command since Trixie.
sudo apt --update --autoremove --with-new-pkgs upgradeFirst they changed apt-get to apt. Now this.
I can’t keep up with all the sudden changes.
I also like topgrade for this.
I love you. Thanks for sharing 😌
Ok now that’s pretty good. Can we use this with dist-upgrade/full-upgrade?
Yes, you don’t need
--with-new-pkgsif you usefull-upgradeinstead ofupgrade.Yes, it’s a command from apt-get that apt only passes through:
–auto-remove, --autoremove
If the command is either install or remove, then this option acts like running the autoremove command, removing unused dependency packages. Configuration Item: APT::Get::AutomaticRemove.–with-new-pkgs
Allow installing new packages when used in conjunction with upgrade. This is useful if the update of an installed package requires new dependencies to be installed. Instead of holding the package back upgrade will upgrade the package and install the new dependencies. Note that upgrade with this option will never remove packages, only allow adding new ones. Configuration Item: APT::Get::Upgrade-Allow-New.-U, --update
Run the update command before the specified command. This is supported for commands installing, removing, or upgrading packages such as install, remove, safe-upgrade, full-upgrade. This can be useful to ensure a command always installs the latest versions, or, in combination with the –snapshot option to make sure the snapshot is present when install is being run.Excellent! Feel like I’ve been continuously learning new things about Aptitude for the better part of 20 years lmao
On Arch, Discover only updates flatpaks though, smh
If that’s the game we’re gonna play:
yay
I’m old enough to
yum
RIP in peace yellow dog linux
Yum was used on way more than Yellow Dog Linux. CentOS, Fedora, RHEL, etc all did
YaST?
I was annoyed when i discovered cachyos used paru.
I understand defaulting to prompting a code review is a good idea, especially now, but i was very used to typing yay (yes I installed yay instead of making an alias)
paru is based, Rust >> Go lol
nix flake update && nixos-rebuild switch --flake .Or
nh os switchNix has ruined me. I can never go back.
`nh os switch --update’
Non of those.
sudo zypper dupAnother on Tumbleweed?? Hi!
indeed :)
me three!
TIL what dnf is finally.
Did not finish. Used a lot in racing after an accident…oh wait…
The fingers tho
Yes. At the beginning I preferred distro’s specifically with a graphical software manager. Now i force uninstall it and use terminal for anything.
My first Ubuntu (8), the software manager was so buggy, that I rage quit and learned about the terminal
I miss Synaptic
Synaptic is still on Debian lxqt for me. Synaptic is also installed on trisquel 12, which is what I am using also.
There is nothing wrong with using your distro’s app center. Often it will save you extra steps by updating things like Flatpaks as well, if you use them (or Snaps, if you’re an insane person).
Unless you use openSUSE Tumbleweed, right? Then it’s “sudo zypper dup”, from what I’ve heard.
OpenSUSE used to use yum and then briefly dnf. Zypper is fairly recent in the last several years.
I also like graphical frontends because there I can see screenshots of the software, because there’s a lot of software out there with really bad UI and UX.
Flatpaks and snaps are two examples of deliverables with terribad integration and low SLSA scores. They should be considered toxic.
Snaps I agree just because there is no open source snap store and it’s impossible to set up a 3rd party store.
Flatpaks though? They let people install packages with weird / rare / not available requirements on any distro. All open source with a really nice sandbox. I think flatpaks are great.
Let’s look at the alternatives:
- System packages: not viable for the majority of packages because the distro devs don’t have time to manually package everything
- AppImage: even worse integration (like no desktop shortcuts on install). Developer has to guess what libraries need to be included and which ones are already installed by the user. No sandboxing. Probably worse SLSA scores.
- AUR: even worse security. No sandboxing. Packages are often compromised by hackers.
Immutable Linux users didn’t like that
ujust update
I use Bazzite BTW
I use bazzite on my BC250 console but bazzite’s package management is horrible lmao.
It’s good for something you install and never touch but not adequate for general purpose computing.
Pacman is an amazing package manager, dnf is probably better but inertia has me prefer pacman. The rest suck
yay
When I just want to go to bed and deal with the repercussions of my actions in the morning:
yay --noconfirm && reboot
sudo apt update && sudo apt upgrade -y && sudo flatpak update -yflatpak is only “flatpak update -y” from what i remember
Sure, if you want to type your password 17 times.
it’s not supposed to ask for any password at all
I’m not seeing any smitty love
Aren’t you supposed to do
apt full-upgradeinstead ofapt upgrade?Also wtf is
pkconfor?It is what Sailfish OS uses as default package manager even though it can also use zypper.
For extra fun, there’s also
dist-upgrade


















