Results 1 to 7 of 7

Thread: problems updating with Package Manager or apt-get

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Beans
    85

    problems updating with Package Manager or apt-get

    I'm running 12.04 Unity on my HP laptop.

    My Package Manager is not working. First of all, there's an icon on the upper panel. Clicking on it reveals a message (see attached image file nopackage2.jpg) that says there was an error opening the cache. It also recommends that I run Package Manager or apt-get to find more information.

    Package Manager says it couldn't initialize the package information (see attached image file nopackage.jpg).

    Both the warning icon and Package Manager say "E:Encountered a section with no Package: header, Eroblem with MergeList /var/lib/apt/list/us.archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-amd64_Packages, E:The package list or status file could not be parsed or opened."

    If I run sudo apt-get update I get many errors associated with GPG keys and signature verifications.

    Code:
    Reading package lists... Error!
    W: GPG error: http://us.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    W: GPG error: http://ppa.launchpad.net precise Release: The following signatures were invalid: BADSIG 0D18601A1EE8660B Launchpad PPA for Darik Horn
    W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    
    W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://us.archive.ubuntu.com precise-backports Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    
    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/Release  
    
    W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/Release  
    
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    E: Encountered a section with no Package: header
    E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_binary-amd64_Packages
    E: The package lists or status file could not be parsed or opened.
    My other computer, which also runs 12.04 Unity, is set up almost identically and isn't having this problem. Any ideas?

  2. #2
    Join Date
    Apr 2011
    Location
    Maryland
    Beans
    1,461
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: problems updating with Package Manager or apt-get

    I'm not sure if it's an apt cache lists error causing the GPG error or vice versa. First, though, let's try to fix the package lists error and see what happens. From a terminal do:

    Code:
    sudo rm -rf /var/lib/apt/lists/*
    After that, run apt-get update and report back any errors you get from there. I'm hoping that rebuilding the MergeList will clear up all of your problems.

  3. #3
    Join Date
    Dec 2008
    Beans
    85

    Re: problems updating with Package Manager or apt-get

    That seems to have fixed it. I didn't notice any error messages with apt-get update, and the red warning icon disappeared from the top panel. Thanks so much.

    But I think I'll wait a day or two before I declare the thread solved.

  4. #4
    Join Date
    Dec 2008
    Beans
    85

    Re: problems updating with Package Manager or apt-get

    Update ran successfully yesterday, so I declare it solved. Thanks for providing me the solution.

  5. #5
    Join Date
    Feb 2009
    Location
    Indianapolis, IN
    Beans
    2
    Distro
    Xubuntu 8.10 Intrepid Ibex

    Re: problems updating with Package Manager or apt-get

    Worked for me, too. Thanks.

  6. #6
    Join Date
    Dec 2010
    Location
    tejas
    Beans
    34
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: problems updating with Package Manager or apt-get

    I have been getting similar errors for a while now also. I followed the above directions but did not get the same results. When I run the 'apt update' command this is kicking out in my terminal:

    W: Failed to fetch http://extras.ubuntu.com/ubuntu/dist...source/Sources 404 Not Found

    W: Failed to fetch http://extras.ubuntu.com/ubuntu/dist...-i386/Packages 404 Not Found

    E: Some index files failed to download. They have been ignored, or old ones used instead.

    Any ideas please?
    Microsoft Sucks. Ubuntu Rocks.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •