I try to update or download applications on ubuntu software. When I click install, it asks me for authorization and my password. After I type in my password, the install bar will appear for a second before going back to the install button. I have tried the sudo apt update lines in the terminal but it does not seem to be working. I am able to download packages using npm, what is the cause of the issue and how can i fix it?