Re: Getting a list of installed packages

2005-12-27 Thread ke6isf
On Tue, 27 Dec 2005, J Merritt wrote: > Is there a way to get a list of installed packages in Debian, preferably from > the command line and preferably in a text file? COLUMNS=200 dpkg -l |awk '/^[hi]i/{print $2}' This will generate a list of only the names of packages that are installed. I us

Re: Getting a list of installed packages

2005-12-27 Thread Philippe Grenard
Le Mardi 27 Décembre 2005 21:53, J Merritt a écrit : > Is there a way to get a list of installed packages in Debian, preferably > from the command line and preferably in a text file? > > Thanks in advance for any suggestions. > > JM > > > - > Yahoo! Photos > Rin

Re: Getting a list of installed packages

2005-12-27 Thread Joris Huizer
Jaime Casanova wrote: On 12/27/05, J Merritt <[EMAIL PROTECTED]> wrote: Is there a way to get a list of installed packages in Debian, preferably from the command line and preferably in a text file? Thanks in advance for any suggestions. JM dpkg-query i think it needs some options and red

Re: Getting a list of installed packages

2005-12-27 Thread Steve Kemp
On Tue, Dec 27, 2005 at 12:53:46PM -0800, J Merritt wrote: >Is there a way to get a list of installed packages in Debian, preferably >from the command line and preferably in a text file? > >Thanks in advance for any suggestions. To show all installed packages you can use the "dp

Re: Getting a list of installed packages

2005-12-27 Thread Kjetil Kjernsmo
On Tuesday 27 December 2005 21:53, J Merritt wrote: > Is there a way to get a list of installed packages in Debian, > preferably from the command line and preferably in a text file? Yup, you could do dpkg --get-selections | grep install > file.txt or dpkg -l | grep ^ii > file.txt depending on yo

Re: Getting a list of installed packages

2005-12-27 Thread Mike Bird
On Tue, 2005-12-27 at 12:53, J Merritt wrote: > Is there a way to get a list of installed packages in Debian, > preferably from the command line and preferably in a text file? dpkg-query --show --showformat='${STATUS} ${PACKAGE} ${VERSION} ${ARCHITECTURE}\n' (All on one line.) You can write the

Re: Getting a list of installed packages

2005-12-27 Thread Jaime Casanova
On 12/27/05, J Merritt <[EMAIL PROTECTED]> wrote: > Is there a way to get a list of installed packages in Debian, preferably > from the command line and preferably in a text file? > > Thanks in advance for any suggestions. > > JM > dpkg-query i think it needs some options and redirect the output

Getting a list of installed packages

2005-12-27 Thread J Merritt
Is there a way to get a list of installed packages in Debian, preferably from the command line and preferably in a text file?   Thanks in advance for any suggestions.   JM Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.

Re: Getting a list of installed packages

2000-11-16 Thread Colin Watson
Robert Guthrie <[EMAIL PROTECTED]> wrote: >On Wednesday 15 November 2000 21:16, John Carline wrote: >> Ahh! I see. You're probably right, but that's caused by the dpkg >> command isn't it - not the pipe? Didn't 'dpkg - l' by itself >> produce what was wanted? >> >> If the full version is what's n

Re: Getting a list of installed packages

2000-11-16 Thread Robert Guthrie
On Wednesday 15 November 2000 21:16, John Carline wrote: > Ahh! I see. You're probably right, but that's caused by the dpkg command > isn't it - not the pipe? Didn't 'dpkg - l' by itself produce what was > wanted? > > If the full version is what's needed, it's listed in /var/lib/dpkg/status. > T

Re: Getting a list of installed packages

2000-11-15 Thread Michael P. Soulier
On Thu, Nov 16, 2000 at 03:16:47AM +, John Carline wrote: > > > >> > Robert Guthrie <[EMAIL PROTECTED]> writes: > > >> > > dpkg -l * | egrep "^ii" | grep -i kde I'd like to point out here also, that when I tried to uninstall a package, but it failed due to a dependency problem, the first

Re: Getting a list of installed packages

2000-11-15 Thread John Carline
Colin Watson wrote: > John Carline <[EMAIL PROTECTED]> wrote: > >Robert Guthrie wrote: > >> On Wednesday 15 November 2000 11:43, Moritz Schulte wrote: > >> > Robert Guthrie <[EMAIL PROTECTED]> writes: > >> > > dpkg -l * | egrep "^ii" | grep -i kde > >> > > >> > You can do it with awk: dpkg -l | aw

Re: Getting a list of installed packages

2000-11-15 Thread Quietman
On Thu, Nov 16, 2000 at 12:23:07AM +, Colin Watson wrote: > He means that he sees the following: > > ii ksirc 2.0-final-0.po IRC Client based on QT and KDE > ii ksirtet2.0-final-0.po Tetris and Puyo-Puyo games for KDE > > ... instead of versions 2.0-final-0.potato.3 and 2.

Re: Getting a list of installed packages

2000-11-15 Thread Colin Watson
John Carline <[EMAIL PROTECTED]> wrote: >Robert Guthrie wrote: >> On Wednesday 15 November 2000 11:43, Moritz Schulte wrote: >> > Robert Guthrie <[EMAIL PROTECTED]> writes: >> > > dpkg -l * | egrep "^ii" | grep -i kde >> > >> > You can do it with awk: dpkg -l | awk '{ print $2 " " $3 }' >> >> That

Re: Getting a list of installed packages

2000-11-15 Thread John Carline
Robert Guthrie wrote: > On Wednesday 15 November 2000 11:43, Moritz Schulte wrote: > > Robert Guthrie <[EMAIL PROTECTED]> writes: > > > I'm using this command: > > > dpkg -l * | egrep "^ii" | grep -i kde > > > > What I'm trying to get is the full version information. I only care > > > about that

Re: Getting a list of installed packages

2000-11-15 Thread Colin Watson
Moritz Schulte <[EMAIL PROTECTED]> wrote: >Robert Guthrie <[EMAIL PROTECTED]> writes: >> I'm using this command: >> dpkg -l * | egrep "^ii" | grep -i kde > >It seems that 'dpkg -l' (without the pattern) lists all installed >packages, so you don't need to filter the installed packages out. That's n

Re: Getting a list of installed packages

2000-11-15 Thread David Wright
Quoting Robert Guthrie ([EMAIL PROTECTED]): > On Wednesday 15 November 2000 11:43, Moritz Schulte wrote: > > Robert Guthrie <[EMAIL PROTECTED]> writes: > > > I'm using this command: > > > dpkg -l * | egrep "^ii" | grep -i kde > > > > What I'm trying to get is the full version information. I only

Re: Getting a list of installed packages

2000-11-15 Thread Colin Watson
Robert Guthrie <[EMAIL PROTECTED]> wrote: >I'm using this command: >dpkg -l * | egrep "^ii" | grep -i kde > >and getting this output: > >ii ksirc 2.0-final-0.po IRC Client based on QT and KDE >ii ksirtet2.0-final-0.po Tetris and Puyo-Puyo games for KDE > > >What I'm trying to ge

Re: Getting a list of installed packages

2000-11-15 Thread Robert Guthrie
On Wednesday 15 November 2000 11:43, Moritz Schulte wrote: > Robert Guthrie <[EMAIL PROTECTED]> writes: > > I'm using this command: > > dpkg -l * | egrep "^ii" | grep -i kde > > What I'm trying to get is the full version information. I only care > > about that and the package name. > > You can do

Re: Getting a list of installed packages

2000-11-15 Thread Moritz Schulte
Robert Guthrie <[EMAIL PROTECTED]> writes: > I'm using this command: > dpkg -l * | egrep "^ii" | grep -i kde It seems that 'dpkg -l' (without the pattern) lists all installed packages, so you don't need to filter the installed packages out. But, this isn't important... > and getting this output:

Getting a list of installed packages

2000-11-15 Thread Robert Guthrie
I'm using this command: dpkg -l * | egrep "^ii" | grep -i kde and getting this output: ii ksirc 2.0-final-0.po IRC Client based on QT and KDE ii ksirtet2.0-final-0.po Tetris and Puyo-Puyo games for KDE What I'm trying to get is the full version information. I only care abou