Hi,
I want to create a list that contains the programs I installed AFTER my initial Ubuntu install.
My idea was:
1. Create a list with installed packages.
2. Create a list with the dependencies and recommended packages for my versionls /var/lib/dpkg/info |grep \.list$ | cut -d \. -f1 >> $C_installed
3. Compare these two files.apt-cache depends ubuntu-desktop | sed 's/Recommends: //g' | sed 's/Depends: //g' | sed 's/ //g' >> $C_depends
I've got two questions.
1. Am I correct in assuming that the output from my ubuntu-desktop dependencies is the list of files that were installed in the beginning? Or am I missing some meta-packages that I need to include?
2. How do I use diff to create a new list, that contains only the installed packages that are not in the second list?
Bookmarks