update_pm() {
sudo apt update
sudo DEBIAN_FRONTEND=noninteractive apt upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
echo y | sudo ubuntu-drivers install || true
sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
echo y | sudo ubuntu-drivers install || true
sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
echo y | sudo ubuntu-drivers install || true
sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
echo y | sudo ubuntu-drivers autoinstall || true
sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
echo y | sudo ubuntu-drivers autoinstall || true
sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
echo y | sudo ubuntu-drivers autoinstall || true
sudo apt install -f -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-overwrite"
sudo apt clean
sudo apt autoclean
flatpak update -y || true
flatpak uninstall --unused -y || true
sudo snap refresh || true
brew update
echo y | brew upgrade
echo y | brew autoremove
brew cleanup
uv self update
uv tool upgrade --all
npm i -g npm
npm update -g
}
- GitHub: Willie169
- GitLab: Willie169
- Mastodon: @[email protected]
- Matrix: @willie169:matrix.org
- 0 Posts
- 3 Comments
Joined 13 days ago
Cake day: August 15th, 2026
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
WillieShen@lemmy.worldto
Technology@lemmy.world•Android users can't remove nude-scanning app as Google opens the feature to app developersEnglish
1·12 hours agoI think it can be removed, at least for my phone, in the settings > Google or just use adb.
If they really care about users’ security, they should make Graphene OS’s GMSCompact and explicit permissions the new standard instead of restricting what apps can they use and forcing invasive system apps. And centralized censorship and requiring an account is not what makes apps secure. Source available and reproducible build is.

in case I run with set -e