Package List out of date.

Discussion in 'Linux, BSD and Other OS's' started by DavidNW, Nov 5, 2006.

  1. DavidNW

    DavidNW Big Geek

    Likes Received:
    0
    Trophy Points:
    16
    When I go to 'Add/Remove Programs' on the Ubuntu desktop and open it up, I get the following error message telling me the list is out of date (please see screenshot). I reload the list and the error message disappears until the next time I click on 'Add/Remove Programs' .

    I have been to the 'Getting The Most Out Of Kubuntu/Ubuntu' sticky and followed all the instructions for deleting the current list of repositories and replacing it with the copy & paste list in the sticky, then saved and closed but the error message still comes up. Any thoughts on how to resolve this issue?

    Cheers,

    David.


    Edit: I must have copied and pasted the list incorrectly. I've redone it now and everything seems fine - no error messages.
     
  2. Addis

    Addis The King

    Likes Received:
    91
    Trophy Points:
    48
    Are you sure you did apt-get update after changing the sources.list file?
     
  3. DavidNW

    DavidNW Big Geek

    Likes Received:
    0
    Trophy Points:
    16
    Thanks, Addis.

    Just tried that command and I got the following:

    david@Home:~$ apt-get update
    E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
    E: Unable to lock the list directory
    david@Home:~$

    Anyway, as I said, no more error messages at present.
     
  4. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    Should have entered:

    Code:
    [B]sudo [/B]apt-get update
    But it doesn't matter because the problem is solved anyway, as you say :)
     
  5. DavidNW

    DavidNW Big Geek

    Likes Received:
    0
    Trophy Points:
    16
    Well, the said error message has returned + now when I type 'gksu gedit /etc/apt/sources.list' in the terminal window I get the following error (see 'screenshot', then the 'sources list' pops up (can also be seen in same screen shot).

    I select all the text, then delete it and reload the new source list - save, close and exit and then I type 'sudo apt-get update' and I get the following (see screenshot 1).

    I go back and try the 'add/remove programs feature - but the original 'program list is out of date' keeps coming back! I just don't know what's going on here.
     
  6. megamaced

    megamaced Geek Geek Geek!

    Likes Received:
    0
    Trophy Points:
    36
    The error refers to the Opera repository. In the terminal, type:

    Code:
    gpg --keyserver subkeys.pgp.net --recv 6A423791
    Then type:

    Code:
    gpg --export --armor 6A423791 | sudo apt-key add -
    And finish by typing:

    Code:
    sudo apt-get update
    Ignore the error in the first screenshot
     
  7. DavidNW

    DavidNW Big Geek

    Likes Received:
    0
    Trophy Points:
    16
    Thanks for that, Mega.

    I've just typed in those commands but the original error box about the package list being out of date still pops up when I hit 'Add/Remove' programs.
     
  8. DavidNW

    DavidNW Big Geek

    Likes Received:
    0
    Trophy Points:
    16
    Right, got it sorted! Started everything from scratch re: repositories and took my time on the guide. No more error messages!

    Thanks for your help, and I'm now starting to learn things for myself.

    Cheers,

    David.
     
  9. donkey42

    donkey42 plank

    Likes Received:
    9
    Trophy Points:
    38
    [ot]you may want to checkout these extentions David
    [​IMG]
    CustomizeGoogle - add to google - just install it and search for something on google
    Foxmarks is brill - it uploades all your bookmarks and downloads them when you start FF (never loose a bookmark again, no matter which OS your using, your bookmarks will remain the same)[/ot]
     

Share This Page