[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.4.20-Kernelkompilierung: Nur einmal möglich!



On Thu, Feb 27, 2003 at 02:27:26PM +0100, Martin Samesch wrote:
> On Tue, Feb 25, 2003 at 10:55:16PM +0100, Regine Bast wrote:
> > 
> > [...]
> > Alle installierten Pakete bekommt man mit 
> > grep -B1 'install ok installed' /var/lib/dpkg/status | grep Package | awk '{ print $2 }'
> > nur falls jemand nich weiss oder so
> 
> Hmmm, das geht doch auch kürzer:
> 
> dpkg --get-selections | cut -f1
> 
> ...oder habe ich etwas übersehen?
> 
> Gruß,
> Martin

Gut, dpkg --get-selections, daran hab ich nich gedacht, allerdings muss
Du auch noch die rausschneiden, die nicht deinstalliert sind.
also

dpkg --get-selections | grep "\<install" | cut -f1

Gruß
Regine



Reply to: