Cannot fully install nvidia or Xorg videodrivers

Solution 1:

first we remove every remaining conf files from deinstallt packages.

sudo dpkg -P $(dpkg -l | egrep '^rc' | awk '{print $2}')

Then we try again to install initramfs-tools.

wget -c http://mirrors.kernel.org/ubuntu/pool/main/i/initramfs-tools/initramfs-tools-bin_0.136ubuntu6_amd64.deb

we need this package fully installed.

sudo dpkg -i initramfs-tools-bin_0.136ubuntu6_amd64.deb

Only the this works without error!! (If not make a backup and install anew)

sudo apt -f install 

for the future do not following youtube tutorials :D