I'm currently using Ubuntu on my university PC, and I've run into some serious trouble. I was trying to install some packages, but faced problems with the command 'sudo apt --configure -a'. After attempting to get help from an AI, my system has now booted directly into the terminal instead of the desktop environment. I can't seem to fix this, especially since I'm facing internet issues—my 'ping google.com' command returns a destination path error, preventing me from executing commands like 'sudo apt --fix-broken'. Does anyone have suggestions on how to resolve this?
4 Answers
Honestly, if things are that broken, a fresh install of Ubuntu 24.04 might be your quickest path to getting back on track. Just back up any important files first if you can!
Have you tried using 'apt --help'? It’s great for getting a sense of what commands do and their usage. You could also check the manual with 'man apt' for more detailed instructions. Just curious, what were you trying to achieve with the package installation initially?
Given your situation, it sounds like your installation might have gotten messed up significantly. If the AI's recommendations broke your system further, it could help to provide those exact error messages to narrow down the issue. At this point, if the network manager isn’t compatible, your best bet might be to reinstall Ubuntu or switch to a different version. It might be time for a fresh start, especially if you're really stuck here!
First things first, make sure you have admin permissions on your university PC since you need those to use 'sudo'. You can check by simply running any 'sudo' command. If that works, then you're good to go! Otherwise, you might be stuck without admin rights.
I can use 'sudo', so I think I have the permissions sorted out.

Got it, I think the version I have (22 Jammy) isn’t working well with the current network manager compatible with version 24. I'm leaning towards a reinstall, but what would you suggest as the next steps?