Same happens from 8.0.0, seems the file it is looking for isn't downloaded first.
Windows 10 Enterprise
failed to dispatch actions, error: failed verification of agent binary: 2 errors occurred:
* fetching asc file from 'C:\Program Files\Elastic\Agent\data\elastic-agent-7f30bb\downloads\elastic-agent-8.1.2-windows-x86_64.zip.asc': open C:\Program Files\Elastic\Agent\data\elastic-agent-7f30bb\downloads\elastic-agent-8.1.2-windows-x86_64.zip.asc: The system cannot find the file specified.
* open C:\Program Files\Elastic\Agent\data\elastic-agent-7f30bb\downloads\elastic-agent-8.1.2-windows-x86_64.zip.sha512: The system cannot find the file specified.
We have the same problem upgrading from 8.1.1 to 8.1.2 on Debian 11
[elastic_agent][error] failed to dispatch actions, error: failed verification of agent binary: 2 errors occurred:
* fetching asc file from '/opt/Elastic/Agent/data/elastic-agent-7f30bb/downloads/elastic-agent-8.1.2-linux-x86_64.tar.gz.asc': open /opt/Elastic/Agent/data/elastic-agent-7f30bb/downloads/elastic-agent-8.1.2-linux-x86_64.tar.gz.asc: no such file or directory
* open /opt/Elastic/Agent/data/elastic-agent-7f30bb/downloads/elastic-agent-8.1.2-linux-x86_64.tar.gz.sha512: no such file or directory
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.