168 reputation
126
bio website softwarelackey.com
location Johannesburg, South Africa
age 36
visits member for 4 years, 3 months
seen Apr 4 '12 at 10:30

Software engineer, open-source aficionado, foodie. :)


Aug
24
awarded  Nice Question
May
9
awarded  Famous Question
May
19
awarded  Notable Question
Feb
26
awarded  Popular Question
Sep
6
awarded  Notable Question
Apr
4
comment How do I get a list of available (i.e. uninstalled) packages in Debian?
P.S. I'd have up-voted your answer but I haven't accumulated enough reputation points yet.
Apr
4
awarded  Scholar
Apr
4
accepted How do I get a list of available (i.e. uninstalled) packages in Debian?
Apr
4
comment How do I get a list of available (i.e. uninstalled) packages in Debian?
Just saw your edited answer. Its exactly what I was looking for! Thanks.
Apr
3
comment How do I get a list of available (i.e. uninstalled) packages in Debian?
@PPC: No worries mate- I appreciate any help I can get. If I knew the answer myself I'd never have asked the question in the first place.:) FWIW, I've found a somewhat "hacky" solution which involves running: code apt-cache dumpavail | grep Package: | cut -d ' ' -f2
Apr
3
comment How do I get a list of available (i.e. uninstalled) packages in Debian?
Thanks but the problem with this is I'd have to trawl through the entire package lists for my chosen repositories. Perhaps a better way to visualize the problem would be thus: imagine X being the universal set of all packages in the Debian package repositories my server is pointed to and Y being the set of packages I have installed on said server; what, in essence, I seek is X - Y. Now, I realize I can do this programmatically but I'd hoped there would be a relatively simple command to achieve the same result on a Debian system.
Apr
3
comment How do I get a list of available (i.e. uninstalled) packages in Debian?
@PPC: Alas, this doesn't work either as dpkg -l only lists installed packages i.e. the all the packages are prefaced by "ii" so piping the results to grep using the --invert-match or -v flags only yields a series of dashes which is the list header separator. Thanks anyway.
Apr
3
comment How do I get a list of available (i.e. uninstalled) packages in Debian?
thanks but I'm afraid that doesn't work. I compared the list generated by the first command with a previously generated list of installed packages which I derived thus: code "dpkg --get-selections | grep '[[:space:]]install$' | awk '{print $1}' > installed.txt" and found duplicates. The other two commands you provided won't work because I'm not searching for a particular package but rather any package that is not currently installed.
Apr
3
awarded  Student
Apr
3
asked How do I get a list of available (i.e. uninstalled) packages in Debian?
Oct
14
awarded  Popular Question
Jul
23
asked How do I create an Ubuntu live usb using Debian?
Jul
23
awarded  Autobiographer