LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 08-22-2005, 09:36 PM   #1
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Rep: Reputation: 30
What is the Package Search pattern Syntax for dpkg --list?


I have openssl-0.9.8 installed. However with
Code:
dpkg -l openssl
it displays only one package "openssl" (doesn't display the status of openssl-0.9.8). I tried different search pattern like
Code:
dpkg -l openssl*, dpkg -l openssl*.
, but the result still doesn't show the installed package openssl-0.9.8. However,
Code:
dpkg -l openssl-0.9.8
does show the package openssl-0.9.8 as installed.

Is my search pattern syntax wrong?

Thanks!
 
Old 08-23-2005, 01:17 AM   #2
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 142

Rep: Reputation: 16
dpkg -s <packagename> ?
 
Old 08-23-2005, 04:29 AM   #3
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Original Poster
Rep: Reputation: 30
If I'm not sure of the exact packagename (hence the search pattern), the command below is not applicable. I'm trying to list out all the packages that has 'openssl' as part of the packagename (since I'm not sure of the version extension), however, I can't seem to find the right syntax for the search pattern (original post).

Would appreciate any help... Thanks !

Quote:
Originally posted by AXO
dpkg -s <packagename> ?
 
Old 08-23-2005, 06:23 AM   #4
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
Try: dpkg -l |grep openssl
or just: dpkg -l |grep ssl
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pattern search through find command. abhi Linux - Newbie 2 04-11-2005 11:31 AM
DPKG & "files list file for package `pkg-config' contains empty filename" error :( Angelus Debian 2 04-02-2005 08:34 AM
DPKG and truncated package name list gjhicks Debian 2 07-20-2004 02:02 AM
Is there any way to display the full name of package via dpkg -l <package pattern> ? davidas Debian 4 04-07-2004 11:00 PM
Pattern search in a line jitz Linux - General 2 12-06-2003 05:50 AM


All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration