Results 1 to 3 of 3

Thread: Apt-get package problem - no header

  1. #1
    Join Date
    Nov 2009
    Location
    Croatia/Hrvatska
    Beans
    492
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Apt-get package problem - no header

    please help!
    i cant update or install anything.

    i have started update manager and i got an error. then i tried to update through terminal and got this:

    Code:
    marin@marincelo:~$ sudo apt-get upgrade
    Reading package lists... Error!
    E: Encountered a section with no Package: header
    E: Problem with MergeList /var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_Packages
    E: The package lists or status file could not be parsed or opened.
    marin@marincelo:~$ sudo apt-get upgrade -f
    Reading package lists... Error!
    E: Encountered a section with no Package: header
    E: Problem with MergeList /var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_Packages
    E: The package lists or status file could not be parsed or opened.
    marin@marincelo:~$ sudo apt-get upgrade
    Reading package lists... Error!
    E: Encountered a section with no Package: header
    E: Problem with MergeList /var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_Packages
    E: The package lists or status file could not be parsed or opened.
    any way of fixing this?

  2. #2
    Join Date
    Apr 2010
    Beans
    1,584
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Apt-get package problem - no header

    sudo rm /var/lib/apt/lists/* sudo apt-get clean sudo apt-get update sudo apt-get upgrade

  3. #3
    Join Date
    Nov 2009
    Location
    Croatia/Hrvatska
    Beans
    492
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Apt-get package problem - no header

    Quote Originally Posted by linuxinstalledfromhdd View Post
    sudo rm /var/lib/apt/lists/* sudo apt-get clean sudo apt-get update sudo apt-get upgrade
    so, i should remove whole /var/lib/apt/lists folder?
    i know what the rest does... does apt-get generate removed files automatically?


    EDIT: nevermind, i removed contents of the folder and now everything works thank you!!!
    Last edited by marin123; May 21st, 2011 at 10:12 PM.

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
  •