Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I tried installing VLC Player yesterday, and I got the Requires installation of untrusted packages error. I searched for hours for a solution to this problem, and finally came upon a suggestion that said to change servers for downloading updates from. I did this, and it gave me a 404 error when I clicked on "Check" in the Update Manager. I tried switching my server back to the main one (and after that, several other ones), but I am now still getting a 404 error: enter image description here

And the other error I get when downloading or updating: enter image description here

Edit: Output of cat /etc/apt/sources.list:

deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted #Added by software-properties

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates restricted main multiverse universe #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise universe
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse #Added by software-properties

deb http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security restricted main multiverse universe #Added by software-properties
deb http://us.archive.ubuntu.com/ubuntu/ precise-security universe

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
share|improve this question
paste output cat /etc/apt/sources.list and then gpg --list-keys paste in paste Ubuntu – Gaurav_Java Sep 8 '12 at 4:28
I edited my question. – Isaiah Bugarin Sep 8 '12 at 4:49

3 Answers

up vote 13 down vote accepted
+50

Based on the errors you pasted in the comments section of my previous answer, I have another possible solution:

sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean 
sudo apt-get update

This will rebuild the cache.
Courtesy:http://ubuntuforums.org/showthread.php?t=1983220#8

share|improve this answer
Thank you! I actually stumbled upon that thread just a few minutes before you posted it. – Isaiah Bugarin Sep 8 '12 at 14:47
@IsaiahBugarin : If this helped you, I recommend accepting the answer so that the question will be marked as solved. – Steve Kroon Sep 9 '12 at 10:01

This link may help. It addresses a very similar problem.

Basically, you open a terminal and type sudo apt-get update && sudo apt-get upgrade. That did it for me.

share|improve this answer

When I get an error as in the third image. I install the packages via terminal. Use: sudo apt-get update and then
sudo apt-get upgrade. In the second step you'll be asked for a confirmation, which will be similar to what you see below:

WARNING: The following packages cannot be authenticated!
patch
Install these packages without verification [y/N]? 

Reply to the above with y, then that package will be installed.
After that update should work normally again.

share|improve this answer
I get a 404 error on the last few lines when it runs sudo apt-get update – Isaiah Bugarin Sep 8 '12 at 4:34
Could you post that somewhere and post the link. Also even if the 404 occurs, do try sudo apt-get upgrade, as said above. That may help. If not please post that 404. – saji89 Sep 8 '12 at 4:35
Here's the lines that gave me a 404 error: *Err ppa.launchpad.net precise/main Sources *W: Failed to fetch ppa.launchpad.net/awn-testing/ppa/ubuntu/dists/precise/main/… *W: Failed to fetch ppa.launchpad.net/awn-testing/ppa/ubuntu/dists/precise/main/… – Isaiah Bugarin Sep 8 '12 at 4:37
I also got this error: W: GPG error: us.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com> – Isaiah Bugarin Sep 8 '12 at 4:40
Are you using squid apt-cache? – saji89 Sep 8 '12 at 6:38

Your Answer

 
discard

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.