every time I try to install or update anything it gives this error
dpkg: error: failed to open package info file `/var/lib/dpkg/available' for reading: No such file or directory E: Sub-process /usr/bin/dpkg returned an error code (2)
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
open ternimal and type these one by one
sudo dpkg --configure -a sudo apt-get -f install sudo apt-get --fix-missing install sudo apt-get autoclean sudo apt-get clean sudo apt-get autoremove
this should fix it.