Strange error while updating pkgs (SOLVED)

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
txtinman
Level 1
Level 1
Posts: 22
Joined: Sun May 15, 2011 12:28 am

Strange error while updating pkgs (SOLVED)

Post by txtinman »

Package updater could not refresh the list of packages. If I run apt-get update I get this:

Code: Select all

E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_quantal_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.Describe your new note here.
If I run cat /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_quantal_main_i18n_Translation-en I get this:

Code: Select all

<HTML><HEAD><TITLE>NETGEAR Router</TITLE><Meta http-equiv="Expires" Content="0"><body bgcolor=#ffffff><script>window.top.location.replace("http://www.mywifiext.com/")</script>
Which makes no sense to me. Should I just delete the file and try again? I don't know why an html file pointing to a netgear router would show up while updating packages. Any help is appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
viking777

Re: Strange error while updating pkgs

Post by viking777 »

Code: Select all

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
Should fix ya :)
User avatar
txtinman
Level 1
Level 1
Posts: 22
Joined: Sun May 15, 2011 12:28 am

Re: Strange error while updating pkgs

Post by txtinman »

That fixed it for me, thanks.
Locked

Return to “Software & Applications”