[Ubuntu] Add archive.ubuntu.com to sources.list (#7616)

This commit is contained in:
sergei-pyshnoi
2023-05-29 13:32:19 +02:00
committed by GitHub
parent b892aebfe8
commit 035dc70f77
3 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/bash -e
################################################################################
## File: apt-ubuntu-archive.sh
## Desc: Script for adding additional apt repo to /etc/apt/sources.list
################################################################################
echo "deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs) main restricted" | tee -a /etc/apt/sources.list
echo "deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-updates main restricted" | tee -a /etc/apt/sources.list
echo "deb http://security.ubuntu.com/ubuntu/ $(lsb_release -cs)-security main restricted" | tee -a /etc/apt/sources.list
echo "deb http://security.ubuntu.com/ubuntu/ $(lsb_release -cs)-security universe" | tee -a /etc/apt/sources.list
echo "deb http://security.ubuntu.com/ubuntu/ $(lsb_release -cs)-security multiverse" | tee -a /etc/apt/sources.list