Hi, Could you assist me put the Ubuntu 20.04
/etc/apt/sources.list file together ?
below are my paths on the main repo server with IP 10.0.0.4.
Code:
Path :/var/www/html/ubuntu/mirror/azure.archive.ubuntu.com/ubuntu/dists/focal$ ls
Contents-amd64.gz InRelease Release Release.gpg main multiverse restricted universe
Code:
Path:/var/www/html/ubuntu/mirror/security.ubuntu.com/ubuntu/dists/focal-security$ ls
Contents-amd64.gz InRelease Release Release.gpg main multiverse restricted universe
This is my ubuntu18
/etc/apt/sources.list file and its works fine downloading updates from my repo.
Code:
root@vm-ubuntu18:~# cat /etc/apt/sources.list | grep allow
deb [allow-insecure=yes] http://10.0.0.4/ubuntu/mirror/azure.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb [allow-insecure=yes] http://10.0.0.4/ubuntu/mirror/azure.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb [allow-insecure=yes] http://10.0.0.4/ubuntu/mirror/azure.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb [allow-insecure=yes] http://10.0.0.4/ubuntu/mirror/security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
root@vm-ubuntu18:~#
Code:
root@vm-ubuntu18:~# apt update
Hit:1 http://10.0.0.4/ubuntu/mirror/azure.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://10.0.0.4/ubuntu/mirror/azure.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://10.0.0.4/ubuntu/mirror/azure.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://10.0.0.4/ubuntu/mirror/security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
root@vm-ubuntu18:~#
What would the ubuntu 20.04
/etc/apt/sources.list entry look like ?