Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Why do you receive error message "Failed to prepare repositories"?
This article applies to all Sandbox versions
Issue: While installing the Sandbox, the installer fails at the “prepare repositories” step with:
Even though the system has internet access and the repos are functional.
Cause
The script install.sh uses dnf check-update to verify repositories. However, this command returns:
0: No updates available (success)100: Updates available (still success)>1: Real error
The script only treats 0 as success, so it fails when updates are available (100).
Solution
Ensure that you have followed these steps before running the installer:
Step 1: Install EPEL (if needed)
Step 2: (Optional) Create sandbox user
Step 3: Install tools like 7zip
(Optional) Fix the script logic to allow both 0 and 100:
Result:

If you require further assistance, please follow these instructions on How to Create Support Package?, before creating a support case or chatting with our support engineer.
See the "Technical Datasheet" for a complete list of features: https://docs.opswat.com/filescan/datasheet/technical-datasheet