sonic-net / sonic-platform-vpp

Apache License 2.0
39 stars 23 forks source link

#13 0.616 Err:6 http://debian-archive.trafficmanager.net/debian buster-backports Release #13 0.616 404 Not Found [IP: 40.76.167.129 80] #96

Open Michxw opened 5 months ago

Michxw commented 5 months ago

I used Sonic-VPP two weeks ago, and I was able to build the image without any problem. I cloned the repo this week in a new server, and when I tried to run the make sonic command. I am getting the following error:

sonic-net/sonic-buildimage#13 0.616 Err:6 http://debian-archive.trafficmanager.net/debian buster-backports Release sonic-net/sonic-buildimage#13 0.616 404 Not Found [IP: 40.76.167.129 80]

The repository 'http://debian-archive.trafficmanager.net/debian buster-backports Release' does not have a Release file.

I guess it could be something on the /sonic-platform-vpp/build/sonic-buildimage/sonic-slave-buster/Dockerfile.j2, but I am not really sure. Do you guys have any idea of it?

amazor commented 5 months ago

I am also having this issue when building the 202211 branch.

neethajohn commented 5 months ago

@Michxw , please provide more details

Michxw commented 4 months ago

Hi @neethajohn I partially fixed it by changing the NOBUSTER from 0 to 1 on the sonic-buildimage Make file:

/sonic-buildimage$ cat Makefile

SONiC make file

NOJESSIE ?= 1 NOSTRETCH ?= 1 NOBUSTER ?= 1 NOBULLSEYE ?= 0

So now the make sonic builds properly with bullseye version

It seems there is no trafficmanager support anymore for Debian's Buster version. So maybe we have to change the 'http://debian-archive.trafficmanager.net/debian repository if we want to keep building buster images

amazor commented 4 months ago

Using the env flag "MIRROR_SNAPSHOT=y" may also help partly, since it this tells the build system to use a different mirror repository.