Me When I Was Younger:
Posted by Objective-Stranger99@reddit | linux | View on Reddit | 6 comments
I scripted this for absolutely no reason on Ubuntu (my first Linux distro):
(I want to know if anybody actually finds this useful.)
sudo apt-get clean && sudo apt-get remove && sudo apt-get autoclean && sudo apt-get autoremove && sudo apt-get update && sudo apt-get upgrade && sudo apt-get full-upgrade && sudo apt clean && sudo apt remove && sudo apt autoclean && sudo apt autoremove && sudo apt update && sudo apt upgrade -y --fix-broken && sudo apt full-upgrade -y --fix-broken && sudo pkcon update -y --fix-broken && sudo update-grub
AutoModerator@reddit
This submission has been removed due to receiving too many reports from users. The mods have been notified and will re-approve if this removal was inappropriate, or leave it removed.
This is most likely because:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
struct_iovec@reddit
Or you could have just read a man page and used
apt-get dist-upgrade
Objective-Stranger99@reddit (OP)
Nah I was really bored.
Rerum02@reddit
You kinda were just killing orphans, then upgrading, then killing them again, and then telling whose system to fix anything that broke
Objective-Stranger99@reddit (OP)
Yeah, this was when I was younger and was just starting out with Linux, so I didn't know much. Looked at the apt manpage, took every command that looked useful, and threw it into this script. My current script on Arch is way better.
jr735@reddit
Yes, if you clean, you won't need an autoclean, among other things. :)
I always advise against -y flags in apt invocations, unless someone wants to have a real mess to clean someday.