Today I wanted to start my Ubuntu 21.04 and I got a black screen with this message: /dev/nume0n1p7: clean 287687/3129344 files, 3564030/12499968 blocks
.
I think something must have been updated and I can't fix the problem. I know it has to do with the drivers. I have tried to do the following, in ttyn: sudo apt-get purge "nvidia*"
but i get multiple errors like this: Failed to get http... Temporary failure resolving <<en.archive.ubuntu.com>>.
I've search for this error and what i found is something related with the DNS and /etc/resolv.conf
. In my case, resolv.conf was not created, so with nano i made one and i put nameserver 8.8.8.8 (in the next line) nameserver 8.8.4.4
. This was the solution that i found in every forum but it didn´t work for me.
Also i wrote sudo ubuntu-drivers autoinstall
, sudo apt install --reinstall nvidia-settings
. Nothing works.
In my computer (asus tuf f15 nvidia geforce gtx) ubuntu-drivers devices
shows me that the the non-free recommended driver is the 470. But as i said before, i cant do sudo apt install nvidia-driver-470
because i get the same error.
Sorry for my english but in conclusion i have 2 big problems: problem with network which dont allow me to install anything that it seems thay i may need. Please i need your help.
PS: i dont know if this has anything to do but yesterday i finished configurating my polybar, powerlevel10k,zsh,bspwm and sxhkd. Maybe i touched something and screw it all.
PS: I have also entered from the recovery mode and I have done the steps mentioned in some forums and nothing works either.