Symptoms
- Can't update Plesk with error:
Skipping acquire of configured file ‘all/binary-amd64/Packages’ as repository ‘http://example.com/repo/ InRelease’ doesn’t support architecture arm64
- The repository in question belongs to software that might not be used or needed anymore.
Cause
A repository doesn't support the system's architecture and prevents the system from updating.
Resolution
Remove the repository
-
Connect to the server via SSH
-
Edit the files that have the repository information:
- In the file
/etc/apt/sources.list
- And in the files in the directory
/etc/apt/sources.list.d/
-
Locate the repository from the error and delete it.
-
Save the files and try to update Plesk again.
If the repository is still required
Note: Follow the ensuing steps only if the repository is still needed, force the required architecture as follows:
- Edit the files that have the repository information:
- In the file
/etc/apt/sources.list
- And in the files in the directory
/etc/apt/sources.list.d/
- Modify the repository to include the architecture as follows:
Before:
deb http://example.com/repo/
After:
deb [arch=amd64] http://example.com/repo/
- Save the files, and retry to manually update packages once again:
# apt-get update
- Try to update Plesk again.