Hey everyone, I've seen this around with a few fixes but this is how I got around it.

As you know, if you don't upgrade CCK to a more recent version in v5 before a v6 upgrade you get this error when you try to upgrade:

content module can not be updated. Its schema version is 1006. Updates up to and including 1008 have been removed in this release. In order to update content module, you will first need to upgrade to the last version in which these updates were available.

I did a quick and dirty fix by uploading the latest dev version of CCK, and then running this SQL query:

UPDATE `yourdata`.`system` SET `schema_version` = '5999' WHERE CONVERT( `system`.`filename` USING utf8 ) = 'modules/cck/content.module' LIMIT 1 ;

This changes the 'system' table scheme version for CCK to 5999.

Now you can run update.php and CCK won't moan about being upgraded.

PLEASE NOTE: Although I managed to do this I had NO CCK configurations in my site. What I mean is I wasn't using CCK, it was just installed. If you have Data in your tables I have no idea what will happen!

Sorry for the downer at the end, but this does get rid of the nagging pink errors in the admin panel....