Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 Now Error Popped

share|improve this question
what does sudo apt-get update && sudo apt-get upgrade prints on terminal? – Stefano Mtangoo May 27 '13 at 19:53

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

share|improve this answer
Nope..still didnt work...after i click intall, i am getting " You have to install from unauthenticated sources" And whne i click Insatll, The window just closes... – Naveen Cherian May 29 '13 at 13:42

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 $(lsb_release -sc) main restricted universe multiverse' >> /etc/apt/sources.list"
    sudo sh -c "echo 'deb $(lsb_release -sc)-security main restricted universe multiverse' >> /etc/apt/sources.list"
    sudo sh -c "echo 'deb $(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.

share|improve this answer

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 :)


  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
share|improve this answer
The Screenshots – Naveen Cherian May 27 '13 at 18:00
I have given above the screen shots of the errors – Naveen Cherian May 27 '13 at 18:03
Sorry it said "Unauthenticated Sources" Not "untrusted sources.. – Naveen Cherian May 27 '13 at 18:05
No problem, updates in the post for better formating – Ahmadgeo May 27 '13 at 18:18
Oh GOD.. I did sudo apt-get update && sudo apt-get upgrade --allow-unauthenticated and this came up..Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) – Naveen Cherian May 27 '13 at 18:31

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

share|improve this answer
I did and it says "No new release found" – Naveen Cherian May 27 '13 at 17:43
That means that Ubuntu thinks, maybe incorrectly that it's on the latest release, 13.04. – Yet Another User May 27 '13 at 18:02
@YetAnotherUser he is just doing and Update not upgrade (already using 13.04) so do-release-upgrade won't do anything unless using -d switch for a development release – Ahmadgeo May 27 '13 at 18:25
And he is already having the latest release :) – Ahmadgeo May 27 '13 at 18:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.