Page 1 of 1

Ubuntu mirror broken?

Posted: Tue Apr 13, 2021 1:14 pm
by kevinburkesf
Hi,
I tried to add the following lines to my Ubuntu Bionic instance to do fast downloads with Sonic:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.sonic.net/ubuntu bionic main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.sonic.net/ubuntu bionic-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.sonic.net/ubuntu bionic universe
# deb-src http://archive.ubuntu.com/ubuntu/ bionic universe
deb http://mirrors.sonic.net/ubuntu bionic-updates universe

If I run "apt-get update" today, I get:

Err:6 http://mirrors.sonic.net/ubuntu bionic Release
404 Not Found [IP: 157.131.224.201 80]
Err:7 http://mirrors.sonic.net/ubuntu bionic-updates Release
404 Not Found [IP: 157.131.224.201 80]
Err:8 http://mirrors.sonic.net/ubuntu bionic-backports Release
404 Not Found [IP: 157.131.224.201 80]
Err:9 http://mirrors.sonic.net/ubuntu bionic-security Release
404 Not Found [IP: 157.131.224.201 80]

Can you help me resolve this issue?

I did notice this today: if I go to http://mirrors.sonic.net/ubuntu/ and click "ubuntu" I get directed to http://mirrors.sonic.net/ubuntu/ubuntu/ and can repeat that process an infinite number of times, so perhaps there's a directory traversal issue? I don't know if that is a new problem, though.

Re: Ubuntu mirror broken?

Posted: Thu Apr 15, 2021 6:34 pm
by joemuller
Hi Kevin,

We just set up a new server for mirrors.sonic.net this week, so you may have caught us in the middle of getting everything synced up and stable. If you run 'apt-get update' on your machine, then try your upgrades/install, does it work?

-- Joe M
Sonic System Operations