Can't update through update manager (Natty)

Asked by Steven Major

When I attempt to install updates through the updates manager I get this message:
   Requires installation of untrusted packages

  The action would require the installation of packages from not authenticated sources.

  Details:
      r-cran-foreign r-cran-lattice r-cran-matrix

I recently installed R and R-studio...

I went into settings, unchecked the CD ROM box and checked the source code box (many posts similar to mine have this as a solution), but there is no change in behavior. This error occurs no matter which updates I try to install.

Any help would be very appreciated. I'm a recent convert from windows, so I may require a large amount of hand-holding ... apologies in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Steven Major
Solved:
Last query:
Last reply:
Revision history for this message
Richard Garvin (garvinrick4) said :
#1

Comment out any ppa installed without a key to authenticate. Look in software sources to see ppa's installed and the keys
to authenticate. Every ppa must be authenticated with key. In software sources you can just untick the box with the
ppa that is in question and:
sudo apt-get update

Revision history for this message
Steven Major (semajor) said :
#2

Thanks for the reply. I'm not sure how to do any of the things you suggest.

1) Where do I comment out "any ppa without a key" - is this in /etc/apt/sources.list? I look in here but don't see anything that looks like the r-cran items listed in the error message.

2) How would I know which ppa has a key?

3) Which box am I unticking? There are 5: Cononical supported, Cononical maintained, proprietary drivers, software restricted by copyright, and source. Nothing in the error indicates which of these is the problem.

Revision history for this message
Richard Garvin (garvinrick4) said :
#3

Look in /etc/apt/sources.list.d

Revision history for this message
Steven Major (semajor) said :
#4

Richard, in response to your first post, I asked 3 specific questions. Does your second post answer any of them? If so, which? What am I looking for in this folder: /etc/apt/sources.list.d?

Revision history for this message
Steven Major (semajor) said :
#5

Someone was kind enough to provide a solution to this problem. Since the actual solution does not involve commenting things out, as was suggested in this thread, I thought I'd post it in case others encounter this.

in a terminal, submit:
      sudo apt-get update

There will be an error like this:
      GPG error: http://software.rc.fas.harvard.edu natty/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ####

where #### is some string of digits and letters.

'####' is the missing key. To provide this key, submit:
      sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ####