Delete old files core/shipped.json is not available

I got the same error on an upgrade from 21.0.3 tot 21.0.4. I copied recreated the folder ‘core’ and copied shipped.json and signature.json from a backup into the folder. Don’t forget to check ‘www-data’ ownership…

Then a ‘retry upgrade’ finished without further issues.