Strange error while updating pkgs (SOLVED)

Questions about applications and software
Forum rules
Before you post please read how to get help

Strange error while updating pkgs (SOLVED)

Postby txtinman on Tue Apr 16, 2013 10:37 am

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 txtinman on Fri Apr 19, 2013 10:01 am, edited 1 time in total.
txtinman
Level 1
Level 1
 
Posts: 6
Joined: Sun May 15, 2011 12:28 am

Linux Mint is funded by ads and donations.
 

Re: Strange error while updating pkgs

Postby viking777 on Tue Apr 16, 2013 12:21 pm

Code: Select all
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update


Should fix ya :)
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Strange error while updating pkgs

Postby txtinman on Fri Apr 19, 2013 10:01 am

That fixed it for me, thanks.
txtinman
Level 1
Level 1
 
Posts: 6
Joined: Sun May 15, 2011 12:28 am


Return to Software & Applications

Who is online

Users browsing this forum: roostertree and 17 guests