Errors from scrollkeeper during updates from gutsy-{security,updates}

Bug #158901 reported by Daniel Hahler
8
Affects Status Importance Assigned to Milestone
scrollkeeper (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: scrollkeeper

I've installed Gutsy in a virtual machine, apparently the network was somehow broken. Install went fine though, after reboot I've enabled the online repositories and restarted the virtual machine, so that network was available again.

Then I've installed the updates from gutsy-security and gutsy-updates.
During this process there were errors in the console window, where scrollkeeper was complaining about the format of /var/lib/scrollkeeper/el/scrollkeeper_cl.xml first and later about /var/lib/scrollkeeper/C/scrollkeeper_extended_cl.xml (which has been generated from the first one?)

I'm attaching /var/log/apt/term.log, which includes those errors and the xml files referenced by scrollkeeper.

ERROR:
(Reading database ... 88935 files and directories currently installed.)
Preparing to replace libssl0.9.8 0.9.8e-5ubuntu3 (using .../libssl0.9.8_0.9.8e-5ubuntu3.1_i386.deb) ...
Unpacking replacement libssl0.9.8 ...
Preparing to replace firefox-gnome-support 2.0.0.6+2nobinonly-0ubuntu1 (using .../firefox-gnome-support_2.0.0.8+2nobinonly-0ubuntu1_i386.deb) ...
Unpacking replacement firefox-gnome-support ...
Preparing to replace firefox 2.0.0.6+2nobinonly-0ubuntu1 (using .../firefox_2.0.0.8+2nobinonly-0ubuntu1_i386.deb) ...
Unpacking replacement firefox ...
Preparing to replace libpng12-0 1.2.15~beta5-2build1 (using .../libpng12-0_1.2.15~beta5-2ubuntu0.1_i386.deb) ...
/var/lib/scrollkeeper/el/scrollkeeper_cl.xml:112: parser error : AttValue: ' expected
      <sect categorycode="Applicatio
                                    ^
/var/lib/scrollkeeper/el/scrollkeeper_cl.xml:112: parser error : attributes construct error
      <sect categorycode="Applicatio
                                    ^
/var/lib/scrollkeeper/el/scrollkeeper_cl.xml:112: parser error : Couldn't find end of Start Tag sect line 112
      <sect categorycode="Applicatio
                                    ^
/var/lib/scrollkeeper/el/scrollkeeper_cl.xml:112: parser error : Premature end of data in tag sect line 110
      <sect categorycode="Applicatio
                                    ^
/var/lib/scrollkeeper/el/scrollkeeper_cl.xml:112: parser error : Premature end of data in tag sect line 6
      <sect categorycode="Applicatio
                                    ^
/var/lib/scrollkeeper/el/scrollkeeper_cl.xml:112: parser error : Premature end of data in tag ScrollKeeperContentsList line 2
      <sect categorycode="Applicatio
                                    ^

Revision history for this message
Daniel Hahler (blueyed) wrote :
Revision history for this message
Daniel Hahler (blueyed) wrote :
Revision history for this message
Daniel Hahler (blueyed) wrote :
Revision history for this message
Bwoaas (breuderink) wrote :

I had the same problem, and solved it using:

sudo scrollkeeper-rebuilddb

I don't know what caused it though.

Revision history for this message
Clemmitt Sigler (cmsigler) wrote :

> I had the same problem, and solved it using:
>
> sudo scrollkeeper-rebuilddb

Confirmed for my installation, Edubuntu 7.10 installed from Server CD in a VirtualBox VM. Not sure if a networking glitch occurred during install or update, but no reason to suspect it did. Solved by `sudo scrollkeeper-rebuilddb'. Now all is well.

Install info: The initial boot-up menu screen was graphical, but during the install the frame buffer X server must have had a problem, as my install and config screens fell back to curses-looking text. I used all defaults during the install except:

- I did a custom partitioning of my virtual HD
- I chose screen resolutions of 1280x960, 1024x768, 800x600, and 640x480

BTW, I installed Ubuntu 7.10 from the desktop CD inside another VB VM and didn't run into this error. Perhaps it's a glitch, or a corner case triggered if installing/updating Server inside VB or any VM? HTH.

Revision history for this message
Brian Pitts (bpitts) wrote :

I see errors for /var/lib/scrollkeeper/sv/scrollkeeper_extended_cl.xml

/var/lib/scrollkeeper/sv/scrollkeeper_extended_cl.xml:2291: parser error : Opening and ending tag mismatch: tocsect1 line 2291 and title
<tocsect1 linkid="myapp-basic-play">Basie>Guider</title>
                                                        ^
/var/lib/scrollkeeper/sv/scrollkeeper_extended_cl.xml:2292: parser error : Opening and ending tag mismatch: toc line 2282 and sect
        </sect>
               ^
/var/lib/scrollkeeper/sv/scrollkeeper_extended_cl.xml:2296: parser error : Opening and ending tag mismatch: doc line 2282 and sect
    </sect>
           ^
/var/lib/scrollkeeper/sv/scrollkeeper_extended_cl.xml:3396: parser error : Opening and ending tag mismatch: sect line 1140 and ScrollKeeperContentsList
</ScrollKeeperContentsList>
                           ^
/var/lib/scrollkeeper/sv/scrollkeeper_extended_cl.xml:3397: parser error : Premature end of data in tag ScrollKeeperContentsList line 2

Revision history for this message
Ralph Corderoy (ralph-inputplus) wrote :

I too have seen these corrupted files on amd64. If you look at the end of those files you'll see they end abruptly part way through the XML. I've found the answer is to `sudo scrollkeeper-rebuilddb -v'. This deletes the whole database and re-builds it from scratch. The problem is that scrollkeeper-update, which it uses, clearly has memory corruption problems so you have to keep doing the rebuild until it gets to the end without crashing.

Changed in scrollkeeper:
status: New → Confirmed
Revision history for this message
Richard Hansen (rhansen) wrote :

Possibly related bugs: bug #175971, bug #181424, bug #186368

Revision history for this message
Daniel Hahler (blueyed) wrote :

Sounds like a duplicate of bug 175971, too.

description: updated
Changed in scrollkeeper:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.