So, yesterday i installed a new shell. Xubuntu to be more exact. So today i tried to remove ubuntu-desktop, well.
Everything working perfectly, i rebooted my computer and still working.
Then i went to the terminal and typed
sudo apt-get autoremove
Everything still working so i decided to logoff that's when I realized that my mouse and keyboard did not work anymore.
I rebooted and it continues the same way.
Ps:
- The keyboard works perfectly in Grub and recovery mode.
- Dpkg gives me "Failed to fetch" in every file.e
- The same thing happens in the recovery root using apt-get update and etc "Failed to fetch"
I'm stuck at the login screen
There is a way to fix this?
Update 1:
Keyboard don't work at all at login screen, can't use Ctrl+alt+F1" and as said, Every command like that give failed to fetch in every file (using recovery mode root)
The only way to turn off the computer while in the login screen is by pressing the power button in my pc. and nope, the other kernel don't work at all. Also i tried the apt update again and i get this "chmod 0700 of directory /var/cache/archives/partial failed - setupAPTPartialDirectory (30: Read-only file system)
Ubuntu 17.04
ping www.google.comwork on that virtual console? (Ctrl+C stops it.) Doessudo apt updategive errors? Please [edit] with details. – Eliah Kagan Sep 15 '17 at 03:53Also i tried the apt update again and i get this "chmod 0700 of directory /var/cache/archives/partial failed - setupAPTPartialDirectory (30: Read-only file system)
– Ongezell Sep 15 '17 at 04:11xubuntu-desktoppackage withapt-get? If not, how? Beforesudo apt-get autoremovewhat did you run? Was itsudo apt-get remove ubuntu-desktop? What Ubuntu version is this? I recommend you [edit] your question with all the information you've given in comments. – Eliah Kagan Sep 15 '17 at 04:25sudo apt-get remove ...andsudo apt autoremoverun aftersudo apt-get install xubuntu-desktop? That might explain why you're having problems: a GUI login screen usually needslightdmandxserver-xorg. (Removing them would also remove thexubuntu-desktopmetapackage.) If the GUI login screen still looked the same, that's strange, though. In the Recovery Menu can you select "Drop to root shell prompt with networking"? Then doesping www.google.comwork? (Ctrl+C cancels it.) If not, doessudo service network-manager startshow errors and can youpingafter that? – Eliah Kagan Sep 15 '17 at 05:05Also i did the ping www.google.com I get " Ping: www.google.com: temporary failure in name resolution" update: I did something really bad, every .conf file got deleted haha i don't have the resolv.conf
– Ongezell Sep 15 '17 at 05:17