Ubuntu 11.04 Update Manager Could not initialize the package information.

I have been running the latest Ubuntu 11.04 for about a month now, and the update manager was always working like a charm, though I had an error few days back when trying to update my Ubuntu using Ubuntu Update Manger. The error was as follow:

Could not initialize the package information. Please report this bug agaist the ‘update-manager’ package that include the following error message:

‘E:Encoutered a section with no Package: header, E:problem with MergeList /var/lib/apt/lists/ae.archive.ubuntu.com_ubuntu_dist_natty_main_binary-amd64_Package, E:The package lists or status files could not be parsed or opened.’

A snapshot image of the error is showing below:

ubuntu-update-manager-could-not-initialize-the-package-information1

As I fuzzed with the error for two days, I thought I will share how I resolved it with other Ubuntu users in the community to make sure they are well on in no time. below is the commands I have ran that resolved the above problem & should work out for you too:

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

After that just run the Ubuntu Update Manager, & you should be all ready to go.

Enjoy using Ubuntu & happy updating.

Ubuntu is like any other distro of Linux is also greatly used by many of the best 10 web hosting and is referred to as LAMP at times. Linux, Apache, MySQL and PHP are all great solutions to using Linux for a web hosting alternative. Its great that the community always respond to such Linux bugs with fixes in a very quick manner, that has always kept Linux the most spread webhosting platform.


Blogsphere: TechnoratiFeedsterBloglines
Bookmark: Del.icio.usSpurlFurlSimpyBlinkDigg
RSS feed for comments on this post
 |  TrackBack URI for this post


56 Responses to “Ubuntu 11.04 Update Manager Could not initialize the package information.”

  1. ogvon says:

    It works. Thanks a lot.

  2. admin says:

    I am glad it did & hope you enjoy your Ubuntu ride :).

  3. Allan says:

    Perfect. Works great!

  4. Dickson says:

    May I my problem is bigger than yours because it persisted. An error regarding my proxy was presented. Could be that my proxy settings are corrupted. How can you help me.

  5. ljackass says:

    Awesome. Thanks. Any idea how the update manager developed this error?

  6. TR says:

    It did work for me too. Thank you very much!

  7. stoiloff says:

    1).

    Could not initialize the package information

    An unresolvable problem occurred while initializing the package information.

    Please report this bug against the ‘update-manager’ package and include the following error message:

    ‘E:Malformed line 5 in source list /etc/apt/sources.list (dist)’

    please help

    I tried what not :(

    pls help stoiloff@yahoo.com

  8. Paulak says:

    It works for anyone that gets that message! You saved me oodles of time!

  9. admin says:

    Hi Paulak,

    I am glad I was able to save you a bit of time, maybe you will use it to give back some to the community.

    Regards,
    Eiad

  10. admin says:

    Hi Stoiloff,

    Please try to run updates right after you follow the procedure in the post, that should fix it.

    Regards,
    Eiad

  11. admin says:

    Hi ljackass,

    It seems unfortunately a bug, but its fixed after you install the latest updates.

    Regards,
    Eiad

  12. Goutam says:

    yoooooooooo….this saved me now…thanks alot…

  13. admin says:

    You welcome Goutam :).

  14. Othman says:

    thank you very much
    i just feel i must format until i see this site
    it’s work
    thanks again

  15. Divya says:

    Thanks a ton :)

  16. alex says:

    i did the command and it didnt work it loaded alot of stuff in the terminal but then said

    E:encounter a section with no package: header
    E: problem with mergelist /var/lib/apt/lists/repository.cario-dock.org_ubuntu_dists_interpid_cario-dock_binary-i386_packages
    E: the package lists or status file could not be parsed or opened

  17. Patrick says:

    Awesome – thanks a bunch, it worked great – and I am NOT a savy Linux user!

  18. ray says:

    It worked but I had to load the Update Manager twice. The first time it had an error message but I didn’t read it, sorry, but the second time it worked, then I updated.

  19. Whitney says:

    I have the same issue as Alex. The error throws:

    ‘E:Encountered a section with no Package:header,
    E:Problem with MergeList/var/lib/apt/lists/
    us.archive.ubuntu.com_ubuntu_dist_natty_main_binary-
    amd64_Packages,E:The package lists or status file could not
    be parsed or opened.’

  20. ABhi says:

    Information sharing will save lot of time for others and help others in moving fast instead of roaming around the problem.

    Thanks for your post. you post solved my problem.. you saved 2 days of effort that i have to spend. (which you already did :) )

    Keep posting . Thank you

    Abhi

  21. anurag says:

    thanks man this worked perfectly!!!!!!!!!

  22. Rawit says:

    Yah it’s work. Thank you very much.

  23. Ashraf uddin says:

    Hello
    I am using Natty, I have tried to install a software using PPA. Then I have write some commands 2/3 times in Terminal as per instruction. Since then I can’t update or can’t install any software.
    Forum friends, would you please give me the solution to resolve the problem.
    Here is the report I am having.

    Could not initialize the package information

    An unresolvable problem occurred while initializing the package information.

    Please report this bug against the ‘update-manager’ package and include the following error message:

    ‘E:Type ‘c’ is not known on line 2 in source list /etc/apt/sources.list.d/kaustav-dasmodak-kido-natty.list’

    Please note I am a newbie of Ubuntu. Started with 10.10 then updated to 11.04

    Best Regarding.
    Ashraf uddin (beacon54)

  24. Ashraf uddin says:

    Dear Friends n Foe
    I have resolved my just now with this indication above,
    working my updates. Thanks Admin
    Thank you very much.
    beacon54.

  25. satya says:

    thanks dear………..

    Yah it’s work.

  26. Andrew Newnham says:

    Perfect, thanks.

  27. 6.7 says:

    This is a life saver man. Thanks a bunch!

  28. Rob says:

    Thank you so much! this worked. you are the best :)

  29. spaceman says:

    Thanks for sharing – worked flawlessly! I love the ubuntu community!!

  30. admin says:

    Spaceman, the Ubuntu Community love you too.

  31. sky t-s says:

    thank you so much from this newbie!!

  32. P says:

    Thanks a lot! saved me quite some time!

  33. Andy says:

    Hi!

    I added the following repository’s:-

    ‘https://dl-ssl.google.com/linux/linux_signing_key.pub’ and
    ‘deb http://dl-ssl.google.com/linux/deb/stable non-free main’

    After doing this i tried to update and i received the following error message:-

    Could not initialise the package information

    An unresolvable problem occurred while initializing the package information.

    Please report this bug for the ‘update-manager’ package and try to include the following error message:

    ‘E:Malformed line 50 in source list /etc/apt/sources.list (URI parse)’

    I would be grateful if someone could help. Thanks

  34. Samarth says:

    I have follow the procedure given in the post.
    but i got a message

    samarth@ubuntu:~$ sudo rm /var/lib/apt/lists/* -vf
    rm: cannot remove `/var/lib/apt/lists/partial': Is a directory

    Please Help.

  35. admin says:

    Hi Andy,

    Maybe that repository you added is incorrect. Try to remove it and see if that help solver your problem.

    Regards,
    Erick

  36. Obedraju says:

    I could not find solution to this. Every thing worked but again its giving error

    obedraju@ubuntu:~$ sudo apt-get update
    E: Malformed line 58 in source list /etc/apt/sources.list (URI parse)
    E: The list of sources could not be read.

    Help…!!!

  37. manoj joshi says:

    Wow it’s working fine.

  38. kvgpraveen says:

    HI,
    This is praveen. Iam new to ubuntu. i have same problem of update manager.

    Could not initialize the package information

    An unresolvable problem occurred while initializing the package information.

    Please report this bug against the ‘update-manager’ package and include the following error message:

    ‘E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.’

    But i dont know how to solve the problem completely and where to type the command exactly.
    (sudo rm /var/lib/apt/lists/* -vf
    sudo apt-get update)

    Could u please help me in detail.

  39. kvgpraveen says:

    I have follow the procedure given in the post.
    but i got a message

    kvgpraveen@kvgpraveen-Vostro-3500:~$ sudo rm /var/lib/apt/lists* -vf
    [sudo] password for kvgpraveen:
    rm: cannot remove `/var/lib/apt/lists': Is a directory

    could u please help me………..in detail….

  40. kvgpraveen says:

    I got resolved using this….

    sudo rm /var/lib/apt/lists/* –
    sudo dpkg –clear-avail
    sudo dpkg –configure -a
    sudo apt-get clean
    sudo apt-get update
    sudo apt-get upgrade

  41. katrina67 says:

    this did not work for me with error E: Malformed line 54 in source list /etc/apt/sources.list (dist parse) could not be read told me could not be removed because it is a directory

  42. Chris says:

    Thanks so much this worked first time :D

  43. romil says:

    Could not initialize the package information

    An unresolvable problem occurred while initializing the package information.

    Please report this bug against the ‘update-manager’ package and include the following error message:

    ‘E:Unable to parse package file /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_oneiric_multiverse_i18n_Translation-en (1), E:The package lists or status file could not be parsed or opened.’

    Pls help me out with this error. /it occured when i was trying to update ubuntu 11.04

  44. Bala says:

    thanks :)..it worked

  45. Will Ubuntu Unity Be the End or the Start of a New Ubuntu? | Top IT Point says:

    […] initialize the package information.”. Fortunately, I have quickly found the resolution on: Ubuntu Update Manager Could not initialize the package information Article. At least this one was resolved quickly, but I […]

  46. Erwanto Sync says:

    TQ so Much.. It’s work..
    I think this need to reinstall, it was not necessary..

  47. bfb says:

    I have the same problem as katrina
    ” could not be removed because it is a directory”
    Has anybody solved this please?

  48. Jonas says:

    Thank you!! It works!

  49. sss says:

    hai Im having a similar problem
    E:malformed line 6 in source list /etc/apt/sources.list (dist parse)
    E: the list of sources could not be read.
    Please help.

  50. Will Ubuntu Unity Be the End or the Start of a New Ubuntu? | damn god says:

    […] not initialize the parcel info.”. Fortunately, I have quickly remuneration the resolve on: Ubuntu Update Manager Could not initialize the parcel information Article. At least this one was resolved quickly, but I […]

  51. Ryan says:

    “Couldn’t initialize it?” I can’t even find it. I have never seen a more compiled conglomeration of garbage than the Linux Operating Systems; at this point I’m pretty much done with it. What is it that usually happens to something you get for free? You throw it in the trash!

  52. Ravi says:

    This uBuntu is junk… i also have this problem of
    rm: cannot remove `/var/lib/apt/lists/partial': Is a directory

    why is it so hard in linux?
    If i try to delete the partial directory, i get permission error
    also, i cannot change attrib to 777…

    planning to un-install… this is not workable…

  53. admin says:

    Hi Ravi,

    I guess you should run back to Windows if you can not spend some time to adapt to the great Linux. Don’t forget that you have spent most of your life learning windows, so if you needed few weeks to adapt to Linux that should not be bad.

    Enjoy,
    Erick

  54. Bhavin says:

    This works like a charm and helped me save a lot of time.
    Many Thanks!

  55. relationship tips and advice says:

    It’s very easy to find out any matter on web as compared to textbooks, as I found this piece of writing at this web page.

  56. tomi says:

    thanks a lot!!!
    its very helped me :)

Leave a Reply