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
- GitHub Pages: willie169.github.io
- GitLab: Willie169
- Mastodon: @willie_shen@mastodon.social
- Matrix: @willie169:matrix.org
- 0 Posts
- 4 Comments
WillieShen@lemmy.worldto
Technology@lemmy.world•Android users can't remove nude-scanning app as Google opens the feature to app developersEnglish
2·3 days 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.
Also ban Google. I think we should ban any schoolwork in required courses that requires students to agree to any third-party EULAs, such as Google account and Windows OS. For selective courses, considering the de facto status that many fields don’t have a mature enough open source software, banning is a bit exceeding proportionality IMHO. And offering Windows computer is probably ok as long as it’s not the default choice IMHO.
In my freshman year in the Electrical Engineering department, I took a required computer programming course, the course that I supposed it to be most aware of the existence of GNU/Linux, free format, and so on. However, it uses Google Sheets for homeworks and demands a Google Drive link of an exe for final team project and YouTube link for presentation. When they let students evaluate each other, I just got a bunch of exe, half of which doesn’t even open in Wine.
I also think they every school should offer NextCloud. Otherwise when team work occurs, Google Drive/Docs/Slides/Sheets is the de facto only choice.
BTW, I think LaTeX with git is more customizable and extensible and should be taught instead of teaching MS Office stuff. I actually take all my notes in LaTeX in a GitHub repo and do reproducible compilations.


in case I run with set -e