Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have Ubuntu 13.04 in a Virtualbox, and getting

SQLite header and source version mismatch

In fact, for completeness, it's part of a wider problem with SVN, where svn update responds with

E200029: Couldn't perform atomic initialization svn
E200030: SQLite compiled for 3.7.15.2, but running with 3.6.23

I followed these instructions:

$apt-get purge libsqlite3-0

and got

After this operation, 994 MB disk space will be freed.

As I had taken a backup of my VM I said Yes, and it deleted almost all of Ubuntu (before then restoring the backup!). Is this a know bug? Or another issue?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

This is probably "working as intended":

SQLite is a very common technology, and there are many, many programs which depend upon it. If you purge it from your system, then all the programs which require it will also be removed. I.e., if SVN requires SQLite and you remove SQLite, then SVN will also be removed. You need to install another version of or package which provides libsqlite3-0 before or at the same time as you remove libsqlite3-0 v3.6.23 to prevent this from happening.

share|improve this answer
    
Ah, ok - that makes sense. –  ChrisW Aug 12 '13 at 17:57
    
Although, after 3 hours, I still can't sort out my SQLite header and source version mismatch issue... –  ChrisW Aug 12 '13 at 18:58
    
@ChrisW did you build svn from source? SVN was compiled with version 3.7.15.2 of the SQLite development headers (the -dev package), but you only have version 3.6.23 of the actual library installed on your system. You should rebuild against version 3.6.23 of the development headers, or install version 3.7.15.2 on your system. –  Darth Android Aug 12 '13 at 19:02
    
I didn't compile SVN from source. Whatever I do with uninstalling and resintalling SQLite (using apt-get and compiling from source) I can't get rid of the issue... I can't even find the SQLite dev package –  ChrisW Aug 12 '13 at 19:08
    
(for completion, I've made a new question based on the overarching issue: superuser.com/questions/631088/… –  ChrisW Aug 12 '13 at 22:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.