Bootstraping Ubuntu & Debian Guests from Anywhere

Debian Systems

Ubuntu,

apt install debootstrap
apt-get install debian-keyring
apt-get install debian-archive-keyring

Debian/Devuan,

apt install debootstrap
apt install ubuntu-archive-keyring

Slackware

Fetch and install the latest (RU) debootstrap,

#sbopkg -i debootstrap
wget http://ftp.ru.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.114.tar.gz
tar xzf debootstrap_1.0.114.tar.gz 
cd debootstrap/
make install
cd ~/
debootstrap --version

Setup Ubuntu & Debian keys (draft),

cd /usr/share/
ls -lhF | grep key
rsync -avz --progress keyring.debian.org::keyrings/keyrings ./
ls -l /usr/share/keyrings/
ls -l /usr/share/keyrings/debian-archive-keyring.gpg
ls -l /usr/share/keyrings/ubuntu-archive-keyring.gpg

wget http://fr.archive.ubuntu.com/ubuntu/pool/main/u/ubuntu-keyring/ubuntu-keyring_2018.09.18.1~18.04.0.tar.gz
tar xzf ubuntu-keyring_2018.09.18.1~18.04.0.tar.gz 
cd ubuntu-keyring-2018.09.18.1/
cp -f keyrings/* /usr/share/keyrings/

Troubleshooting

W: Cannot check Release signature; keyring file not available /usr/share/keyrings/ubuntu-archive-keyring.gpg

W: Cannot check Release signature; keyring file not available /usr/share/keyrings/debian-archive-keyring.gpg

==> fetch and deploy the keyrings as described above.

Resources

Debian

Ubuntu


Nethence | Pub | Lab | Pbraun | SNE Russia | xhtml