I was having the exact same problem as the previous posters. I had just
upgraded the Debian mythtv packages. Perhaps it is because I previously used
the DataDirect 0.14 backend method?
Anyway, I used
drop table networkiconmap;
to get past the second error.
Peter