Ubuntu: Cannot update from software updater



Question:

I tried updating my 13.04 from software updater. I had about 202.9 MB to download. When I click "Install Now" and then a message came saying "It has to install from unauthenticated sources". I click OK and then the software updater Exits... There is no way I can update due to this problem.

Install NowError Popped


Solution:1

Try this. Open System settings, and click on Software & Updates. Once the window opens, click on the Authentication tab, and then click on Restore Defaults. close the window, and try the Software manager again.

enter image description here


Solution:2

Seems that somehow you messed up your keyrings or your DNS got hi-hacked. I will ask you to execute one by one these commands and stop when you see an error:

  1. Clean your sources.list:

    sudo rename 's/\.list$/\.list\.disable/' /etc/apt/sources.list.d/*.list  sudo mv /etc/apt/sources.list /etc/apt/sources.list.backup  sudo sh -c "echo 'deb http://us.archive.ubuntu.com/ubuntu/ $(lsb_release -sc) main restricted universe multiverse' >> /etc/apt/sources.list"  sudo sh -c "echo 'deb http://archives.ubuntu.com/ubuntu $(lsb_release -sc)-security main restricted universe multiverse' >> /etc/apt/sources.list"  sudo sh -c "echo 'deb http://archives.ubuntu.com/ubuntu $(lsb_release -sc)-updates main restricted universe multiverse' >> /etc/apt/sources.list"  
  2. Update your list (be sure that you have rebooted)

    sudo apt-get -y --force-yes update  sudo apt-get --allow-unauthenticated -y --force-yes install ubuntu-keyring  
  3. Now update as normal:

    sudo apt-get update  sudo apt-get upgrade  

If you have another instance of apt-get please close it, be it Ubuntu Software Center, apt-get, synaptic, aptitude, gdebi, etc.


Solution:3

Check your Software Sources list and eliminate them one by one to identify the source of your problem.

You may also run sudo apt-get -f install in terminal to try fixing things for you (it wouldn't harm your system running it anyway) and follow it with sudo apt-get update then sudo apt-get upgrade.

Also, perhaps editing your question with a print screen or error details would bring you better help :)


Update:

  1. I prefer re-checking your software source list as there should be a source that is causing the issue.
  2. Please execute the previous commands (-f install, then update, then upgrade).
  3. If issue persists, run this to override (which I don't recommend unless you know exactly what you are doing):

    sudo apt-get update && sudo apt-get upgrade --allow-unauthenticated  


Solution:4

Try typing sudo do-release-upgrade as an administrator into a terminal (Ctrl+Alt+T), and put the error here.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »