Can’t install windows feature – Error; 0x800f081f

I went into C:\windows\logs\cbs.log and found the following entry;

Store corruption, manifest missing for package: Package_1379_for_KB4025336~31bf3856ad364e35~amd64~~6.3.1.4

Mark store corruption flag because of package: Package_1379_for_KB4025336~31bf3856ad364e35~amd64~~6.3.1.4

After a lot of troubleshooting i found the solution;

Go to windows catalogue and download the KB.

extract the kb with the following command;

Expand –F:* c:\fix\kb4025336\windows8.1-kb4025336-x64_b13c98376d2b720889d7cd0aaed50f772100bc49.msu c:\fix\kb4025336\extract

After the extraction install with dism;

DISM.exe /Online /Add-Package /PackagePath:c:\fix\kb4025336\extract\Windows8.1-KB4025336-x64.cab