Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How can I fix my update problem. I am using Maverick 10.10 and update daily, however I get the warning triangle that tells me that the update information is outdated. After I perform an update it tells me that it was last updated 26 days ago.

Upon looking at the sources list in /etc/apt/sources.list it shows the following:

# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
# See http:/ /help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http:// mirror01.th.ifl.net/ubuntu/ maverick main restricted
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirror01.th.ifl.net/ubuntu/ maverick-updates main restricted
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick-updates main restricted

## 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://mirror01.th.ifl.net/ubuntu/ maverick universe
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick universe
deb http://mirror01.th.ifl.net/ubuntu/ maverick-updates universe
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick-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.
deb http://mirror01.th.ifl.net/ubuntu/ maverick multiverse
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick multiverse
deb http://mirror01.th.ifl.net/ubuntu/ maverick-updates multiverse
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://gb.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## 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 maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://mirror01.th.ifl.net/ubuntu/ maverick-security main restricted
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick-security main restricted
deb http://mirror01.th.ifl.net/ubuntu/ maverick-security universe
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick-security universe
deb http://mirror01.th.ifl.net/ubuntu/ maverick-security multiverse
deb-src http://mirror01.th.ifl.net/ubuntu/ maverick-security multiverse
deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main
#E-UAE and other funky Amiga stuff
deb http://ppa.launchpad.net/bjfs/ppa/ubuntu jaunty main
share|improve this question
    
Is there any warnings when you do an update? What does sudo apt-get update say? –  Alvin Row Jan 26 '11 at 17:10
    
Update your main post with the things you tried (eg the methods suggested here) and their errors messages so people don't have to dig through every comment to find that info. –  Ward Muylaert Jan 26 '11 at 17:33
    
Can you please reformat that using the code formatting? It's just unreadable as it is now. –  lmontrieux Jan 26 '11 at 19:16
    
You'll see this when one or more of your sources fails to update. You can manually comment out or remove those, but I'm not sure this is the best way to preserve your desired sources. Ah -- looks like you need to get the correct gpg key. I'll update if someone doesn't do it first. –  belacqua Jan 26 '11 at 19:43
    
reformatting - do i just put 4 spaces before each line? –  user9665 Jan 26 '11 at 19:44

3 Answers 3

You should simply run: sudo apt-get update

share|improve this answer
    
tried that it doesnt sort the problem –  user9665 Jan 26 '11 at 17:23
    
tried sudo apt-get update and it scrolls through loads of mirrors then gives me:: GPG error: ppa.launchpad.net hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7D2C7A23BF810CD5 –  user9665 Jan 26 '11 at 17:27
    
sorry. Please also run sudo apt-get upgrade –  lmontrieux Jan 26 '11 at 17:27
    
W: GPG error: ppa.launchpad.net jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0CC1223EE2314809 –  user9665 Jan 26 '11 at 17:28
    
: GPG error: morgoth.free.fr dapper-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8CC68B397E2E4741 W: Failed to fetch download.tuxfamily.org/syzygy42/dists/feisty/… 404 Not Found W: Failed to fetch download.tuxfamily.org/syzygy42/dists/feisty/… 404 Not Found E: Some index files failed to download, they have been ignored, or old ones used instead. –  user9665 Jan 26 '11 at 17:28

run

  sudo aptitude

press u

then g

accept the changes if any (which means some dependencies have to be resolved)

and g again if necessary

share|improve this answer
    
command not found –  user9665 Jan 26 '11 at 19:36
1  
sudo apt-get install aptitude –  jet Jan 27 '11 at 1:04

You'll see this kind of message when one or more of your sources fails to update. Sometimes this is because your system can't get to one of the sites to download repository information (this is usually because of an outage at the site in question, a problem with an internet link somewhere along the path to the site, or a problem with DNS). Here it looks like you can't confirm the identity of the site, so Ubuntu doesn't think it is safe to use this source.

Based on your update output, you'll need to get the correct identity key for tuxfamily.org, or comment it out of your sources.

See these answers for explicit help: How do I fix the GPG error "NO_PUBKEY" without terminal?

share|improve this answer
    
do i really need the public key for hardy and jaunty release –  user9665 Jan 27 '11 at 9:36
    
@Meddy Ah. You should probably just comment those out in your /etc/apt/sources.list. –  belacqua Jan 27 '11 at 13:53
    
@Meddy Any luck? –  belacqua Jan 28 '11 at 5:55

Your Answer

 
discard

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