[Bug 1055614] Re: captive web portal corrupt Indexes
Launchpad Bug Tracker
1055614 at bugs.launchpad.net
Mon Sep 24 16:44:35 UTC 2012
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: update-manager (Ubuntu)
Status: New => Confirmed
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
captive web portal corrupt Indexes
Status in “update-manager” package in Ubuntu:
When the computer is connected to a captive web portal, the update
manager does not check to see that files downloaded are valid indexes.
This results in the web portal's html file being written over some or
all of the files in /var/lib/apt/lists. I have been able to remove
the corrupted files (assuming if they are that easy to overwrite, then
blowing them away will be OK too) with the following command:
for foo in `grep -r weblogin.jsp .|cut -f 1 -d ':'`; do sudo rm -f $foo; done
This is not something a new user could be expected to do. I don't
know if the behavior has changed recently, but this is the second time
I have run into this bug in the last month.
This results in complete breakage of the update system stops all
updating until it is fixed. The user does get a little red error icon
with an relatively opaque error message which was how I knew to look
in the /var/lib/apt/lists directory.
This prevents all security updates so I have flagged it as a security
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
bryan at bryan-Aspire-V3-771:~/temp$ lsb_release -rd
Description: Ubuntu 12.04.1 LTS
2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
bryan at bryan-Aspire-V3-771:~/temp$ apt-cache policy update-manager
*** 1:0.156.14.9 0
500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
3) What you expected to happen
/var/lib/apt/lists should not get corrupted when the computer is on a captive portal before login.
4) What happened instead
/var/lib/apt/lists does get corrupted in a way that has no (obvious to a normal user) fix.
To manage notifications about this bug go to:
More information about the foundations-bugs