Share your application setup
# Run this on the source system
sudo dpkg --get-selections > ~/Desktop/packages
# Run this on the target system (after copying the packages list and activating the repository
sudo dpkg --set-selections < ~/Desktop/packages && sudo apt-get -u dselect-upgrade
# listrepositories - script to get all the repositories incl ppa installed on a system
# ready to be reloaded using apt-add-repository
for APT in `find /etc/apt/ -name *.list`; do
grep -Po "(?<=^deb\s).*?(?=#|$)" $APT | while read ENTRY ; do
HOST=`echo $ENTRY | cut -d/ -f3`
USER=`echo $ENTRY | cut -d/ -f4`
PPA=`echo $ENTRY | cut -d/ -f5`
#echo sudo apt-add-repository ppa:$USER/$PPA
if [ "ppa.launchpad.net" = "$HOST" ]; then
echo sudo apt-add-repository ppa:$USER/$PPA
else
echo sudo apt-add-repository \'${ENTRY}\'
fi
done
done
listrepositories > addrep.sh to get the script to copy to the target system
As usual YMMV
References: Packages,Repositories





