I am able to install applications with
sudo apt-get install <packagename> and
sudo dpkg -i <packagename> through the terminal, but not with Ubuntu's Software Center.
When I try to install a package either straight from the database available or a debian package I downloaded it doesn't work. I press the install button, and it asks for my password and says
Installing..., but then after a few moments it stops and goes back to its previous state and the install buttons is a available again. Also the total size text below keeps saying
Calculating... and never finishes. I don't know what is wrong, and would appreciate the help.
This is how it looks before I press install and put in my password.
This is what it looks like for a couple moments after I press install and put in my password, and then it goes back to looking like the previous picture.
Notice, it just keeps saying
Calculating... for total size.