I am using a local apt-mirror repository in which I have placed the URL to https://packages.redis.io/deb .
create source.list on my person local machine
deb https://local.repo/packages.redis.io/deb buster main or
deb [arch=amd64] https://local.repo/packages.redis.io/deb buster main i do apt update, but :
http://local.repo/packages.redis.io/deb buster/main amd64 Packages [22.4 kB] Ign:7 http://local.repo/packages.redis.io/deb buster/main all Packages Error:7 http://local.repo/packages.redis.io/deb buster/main all Packages 404 Not Found [IP: 10.20.20.19 80] Reading Package Lists... Done E: Failed to get http://local.repo/packages.redis.io/deb/dists/buster/main/binary-all/Packages 404 Not Found [IP: 10.20.20.19 80] E: Some index files could not be downloaded. They were ignored or older versions were used instead.``` for some reason apt is looking for the url `/deb/dists/buster/main/binary-all` , but the repository uses `deb/dists/buster/main/binary-amd64/` I can’t understand what the problem is and why the replacement is happening, what should I do?