Flashing CM 11, I get `set_metadata_recursive: some changes failed`: ClockworkMod Recovery v6.0.2.3 gives me the folling error when I try to update my Samsung Galaxy Tab 2 (GT-P5113) to Cyanogenmod 11:

Restarting adbd...
Finding update package...
Opening update package...
Installing update...
set_metadata_recursive: some changes failed
E:Error in /tmp/update.zip
(status 7)
Installation aborted.


Being desperate I tried the same thing with Team Win Recovery Project (TWRP) v2.6.3.0 -- also the latest for my platofrm,

Checking for MD5 file...
Skipping MD5 check: no MD5 file file found.
set_metadata_recursive: some changes filed
E:Error: executing updater binary in zip '/data/media/0/sideload.zip'
In short, if you want to flash KitKat Android 4.4, you'll have to upgrade to a version of CWM greater than v6.0.4.5. Or, use an alternate bootloader. For the Galaxy Tab 2 GT-P5113 or GT-p5110 you can find the instructions here.