Install Karmic debootstrap

#!/bin/bash
 
# create recipe
cd /usr/lib/xen-tools/
ln -s edgy.d/ intrepid.d
ln -s edgy.d/ jaunty.d
ln -s edgy.d/ karmic.d
ln -s edgy.d/ lucid.d
 
# add jaunty repository
cat <<EOF> /etc/apt/sources.list.d/tmp.list
deb http://archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://archive.ubuntu.com/ubuntu/ lucid main restricted
EOF
 
# update
apt-get update
 
# install debootstrap
apt-get install -y --force-yes debootstrap
 
# remove repository
rm /etc/apt/sources.list.d/tmp.list
apt-get update

Do you like this page? Then support it. Please click the AD below and visit the sponsor. Thank you!