That would mean that the plugin hasn’t been updated…
When WP performs a plugin update:
- it downloads the archive
- unzips it in wp-content/upgrade
- deletes the old plugin directory
- and moves the new plugin directory from wp-content/upgrade to wp-content/plugins
So if you still have the old plugin directory, the error has to be occurred when downloading or unzipping the archive, but both those operations don’t depend on my code…
Maybe it’s been a temporary problem of WP.org serving a corrupt archive?
You should try, if you can, to perform the upgrade again, but only if you have FTP access so you can delete wp-content/plugins/duplicate-post if the site has problems…