To Backup
dpkg --get-selections > installed_packages.logTo Restore
dpkg --set-selections < installed_packages.log
apt-get dselect-upgradeSunday 15 November 2009, by
You probably might have needed to backup and restore your installed packages on Debian/Ubuntu systems. Here is the solution !
To Backup
dpkg --get-selections > installed_packages.logTo Restore
dpkg --set-selections < installed_packages.log
apt-get dselect-upgrade