Install Error – “Cannot Execute: required file not found” “E: Sub-process /usr/bin/dpkg returned an error code (1)”
Introduction
The errors “Cannot Execute: required file not found” and “E: Sub-process /usr/bin/dpkg returned an error code (1)” may occur when the agent is installed before the “libc6-i386” package. This causes installation failure and the absence of agent files.
Explanation
The libc6-i386
is an essential library in Linux for 64-bit systems that need to run 32-bit applications. It contains the 32-bit version of the GNU C Library (glibc), which is the system’s standard library for fundamental functions such as memory management, input/output, and system calls.
What is the “libc6-i386” library used for?
- Allows 32-bit applications to run on x86_64 (64-bit) systems.
- Required for running legacy or proprietary programs that do not have 64-bit versions available.
- Essential for compatibility with certain libraries that have not been fully migrated to 64-bit.
Fix
Removing Agent Files
The error occurs because the post-installation script attempts to remove /opt/automatos
, but this folder does not exist. Let’s delete the package entries:
sudo dpkg -r ada
sudo dpkg --remove --force-all ada
sudo rm -rf /var/lib/dpkg/info/ada.*
Reinstall the libc6-i386 library:
apt search libc6-i386
sudo apt install libc6-i386
Reinstall the agent and run the setup command
The installation and configuration commands are in the “Linux Installation” section.
After the installation and the configuration command, the agent services should start normally.
If you still need support after following all the instructions, register a case at “https://support.almaden.ai/” with the evidence of the reported case.