DEBIAN
- Si deseamos instalar el mirror de SIUA
- Agregamos el paquete para que que permita apt por https
apt install apt-transport-https
- Respaldamos el sources.list
cp /etc/apt/sources.list /etc/apt/sources.list.bak.ugit
nano /etc/apt/sources.list
deb http://ftp.debian.org/debian stretch main contrib
deb http://ftp.debian.org/debian stretch-updates main contrib
deb http://security.debian.org stretch/updates main contrib
-----------------------------------------------------------------------------------------
deb https://debian.mirror.siua.ac.cr stretch main contrib
deb https://debian.mirror.siua.ac.cr stretch-updates main contrib
deb https://security.debian.mirror.siua.ac.cr stretch/updates main contrib
apt-get update && apt-get upgrade && apt-get dist-upgrade
apt-get check && apt-get install -fy && apt-get autoremove && apt-get autoclean && apt-get clean
apt-get install linux-headers-`uname -r`
UBUNTU
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo apt-get check && sudo apt-get install -fy && sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get clean
sudo apt-get install linux-headers-`uname -r`