Re: dpkg-query - package "un"packed, no version ???

2013-10-18 Thread Andrei POPESCU
was > being incorrectly called (should have been > show__not_installed_package). Well, it fails because you are not asking the correct question. If you want dpkg to tell you if a package is installed or not then ask that instead: $ dpkg-query -W -f='${Package}\t${Stat

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Robert Holtzm
On Mon, Sep 02, 2013 at 12:39:48PM +0100, Darac Marjal wrote: > On Mon, Sep 02, 2013 at 09:33:27PM +1000, Zenaan Harkness wrote: > > Anyone know why I get this: > > > > $ dpkg-query --list vim-athena > > Desired=Unknown/Install/Remove/Purge/Hold > > | > > S

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Curt
On 2013-09-02, Curt wrote: > > I have a backported package. > I should say that there are two packages shown when I do 'apt-cache show vim-common," of which the backported one has vim-athena as a Recommends, though the backported package is not the one I have installed. Sorry for the confusion,

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Curt
On 2013-09-02, Tom H wrote: > > so "apt-cache show vim-common" cannot list vim-athena on the "Recommends:" > line. Package: vim-common Source: vim Version: 2:7.3.547-7~bpo60+1 Installed-Size: 364 Maintainer: Debian Vim Maintainers Architecture: amd64 Depends: libc6 (>= 2.3.4) Recommends: vim |

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Tom H
I'm not taking much time for reflection. > > curty@einstein:~$ dpkg-query --list vim-gnome > Desired=Unknown/Install/Remove/Purge/Hold > | > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: u

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Tom H
dbg > No packages found matching vim-dbg. > curty@einstein:~$ dpkg-query --list vim-dbg > No packages found matching vim-dbg. > > curty@einstein:~$ dpkg -l vim-doc > Desired=Unknown/Install/Remove/Purge/Hold > | > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Curt
On 2013-09-02, Tom H wrote: >> > Does "apt-cache show vim-common" list vim-athena on the "Recommends:" line? > Yes it does. It also shows vim-gnome. So I only see one pattern here, although I'm not taking much time for reflection. curty@einstein:~$ dpkg-q

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Zenaan Harkness
x27;m not getting the same output as you for the same packages, and >> it's not the package description that apt-cache shows that seems to be >> in question. >> >> curty@einstein:~$ dpkg-query --list vim-athena >> No packages found matching vim-athena. >> >&

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Zenaan Harkness
On 9/3/13, Curt wrote: > On 2013-09-02, Tom H wrote: >> >> Then vim-dbg and chromium-browser-dbg should also get "un...". >> > > Where or how do you get "no package description" for those packages? > What command are you using? :) With my custom supa-dupa package searcher and shower script :)

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Curt
t; getting the same output as me apparently. > Sorry to follow up on myself, but if someone could just cut and paste the output from their machine that shows an instance of an 'un' in the first field of a dpkg query _without_ a corresponding and in the subsequent Version and

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Tom H
ame packages, and > it's not the package description that apt-cache shows that seems to be > in question. > > curty@einstein:~$ dpkg-query --list vim-athena > No packages found matching vim-athena. > > curty@einstein:~$ dpkg -l \* | grep vim > ii vim 2

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Curt
On 2013-09-02, Tom H wrote: >> >> Where or how do you get "no package description" for those packages? >> What command are you using? > > dpkg -l > curty@einstein:~$ dpkg -l vim-dbg No packages found matching vim-dbg. curty@einstein:~$ dpkg-query --list vim-d

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Tom H
On Mon, Sep 2, 2013 at 10:53 AM, Curt wrote: > On 2013-09-02, Tom H wrote: >> >> Then vim-dbg and chromium-browser-dbg should also get "un...". > > Where or how do you get "no package description" for those packages? > What command are you using? dpkg -l -- To UNSUBSCRIBE, email to debian-use

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Curt
shows that seems to be in question. curty@einstein:~$ dpkg-query --list vim-athena No packages found matching vim-athena. curty@einstein:~$ dpkg -l \* | grep vim ii vim 2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - enhanced vi editor ii vim-common2:7.2.445+hg~c

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Tom H
hat completely stupid? Am I confusing the cause with the effect? > > I actually thought the same for a bit, but apt-cache show vim-athena > seems to show description just fine. apt-cache queries "/var/lib/apt/lists/*_Packages" whereas dpkg-query queries "/var/lib/dpkg/

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Curt
On 2013-09-02, Tom H wrote: > > Then vim-dbg and chromium-browser-dbg should also get "un...". > Where or how do you get "no package description" for those packages? What command are you using? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". T

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Zenaan Harkness
On 9/3/13, Curt wrote: > On 2013-09-02, Tom H wrote: >> AFAICT, the "un" output of "-l" for vim-athena is because it's listed >> in the "Recommends" field of vim-common, so it's recognized as a >> package. > > It seems to me, from what I can discern on my own system, that you > obtain the 'un' ou

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Tom H
On Mon, Sep 2, 2013 at 10:32 AM, Curt wrote: > On 2013-09-02, Tom H wrote: >> >> AFAICT, the "un" output of "-l" for vim-athena is because it's listed >> in the "Recommends" field of vim-common, so it's recognized as a >> package. > > It seems to me, from what I can discern on my own system, that

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Curt
On 2013-09-02, Tom H wrote: > > AFAICT, the "un" output of "-l" for vim-athena is because it's listed > in the "Recommends" field of vim-common, so it's recognized as a > package. It seems to me, from what I can discern on my own system, that you obtain the 'un' output in the initial field when t

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Loïc Grenié
2013/9/2 Zenaan Harkness : > Anyone know why I get this: > > $ dpkg-query --list vim-athena > Desired=Unknown/Install/Remove/Purge/Hold > | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: upperca

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Tom H
On Mon, Sep 2, 2013 at 9:30 AM, Zenaan Harkness wrote: > On 9/2/13, Tom H wrote: >> On Mon, Sep 2, 2013 at 7:33 AM, Zenaan Harkness wrote: >>> >>> Anyone know why I get this: >>> >>> $ dpkg-query --list vim-athena >>> Desired=Unknown/In

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Tom H
On Mon, Sep 2, 2013 at 7:51 AM, Zenaan Harkness wrote: > On 9/2/13, Zenaan Harkness wrote: >> >> Anyone know why I get this: >> >> $ dpkg-query --list vim-athena >> Desired=Unknown/Install/Remove/Purge/Hold >> | >> Status=Not/Inst/Conf-files/Unpa

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Zenaan Harkness
On 9/2/13, Tom H wrote: > On Mon, Sep 2, 2013 at 7:33 AM, Zenaan Harkness wrote: >> >> Anyone know why I get this: >> >> $ dpkg-query --list vim-athena >> Desired=Unknown/Install/Remove/Purge/Hold >> | >> Status=Not/Inst/Conf-files/Unpacked/halF-

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Tom H
On Mon, Sep 2, 2013 at 7:39 AM, Darac Marjal wrote: > On Mon, Sep 02, 2013 at 09:33:27PM +1000, Zenaan Harkness wrote: >> >> Anyone know why I get this: >> >> $ dpkg-query --list vim-athena >> Desired=Unknown/Install/Remove/Purge/Hold >> | >> Statu

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Tom H
On Mon, Sep 2, 2013 at 7:33 AM, Zenaan Harkness wrote: > > Anyone know why I get this: > > $ dpkg-query --list vim-athena > Desired=Unknown/Install/Remove/Purge/Hold > | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Zenaan Harkness
On 9/2/13, Zenaan Harkness wrote: > Anyone know why I get this: > > $ dpkg-query --list vim-athena > Desired=Unknown/Install/Remove/Purge/Hold > | > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppe

Re: dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Darac Marjal
On Mon, Sep 02, 2013 at 09:33:27PM +1000, Zenaan Harkness wrote: > Anyone know why I get this: > > $ dpkg-query --list vim-athena > Desired=Unknown/Install/Remove/Purge/Hold > | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reins

dpkg-query - package "un"packed, no version ???

2013-09-02 Thread Zenaan Harkness
Anyone know why I get this: $ dpkg-query --list vim-athena Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ NameVersionArchitecture

dpkg-query -W -f='${Conffiles}\n' | grep obsolete

2009-11-14 Thread bossekr
Hi, is it true that this call `dpkg-query -W -f='${Conffiles}\n' | grep obsolete` show all obsolate files which can be removed ? I read about this at http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot while upgrading sysv-rc for dependency booting. My script to detect obso

Re: dpkg-query

2009-01-03 Thread Andrei Popescu
On Sat,03.Jan.09, 13:19:21, Antonio Diaz wrote: > Does exist a command line which allows me to look for packages of the >configured repository? Even though it is possible that I'm doing something >wrong, whenever I use the command "dpkg-query --list" I don

dpkg-query

2009-01-03 Thread Antonio Diaz
  Does exist a command line which allows me to look for packages of the configured repository? Even though it is possible that I'm doing something wrong, whenever I use the command "dpkg-query --list" I don't get the same list of packages that the search form of Debia

Re: dpkg query table ??? dhcp3-client dhcpcd ???

2005-08-12 Thread Bryan Donlan
On 12 Aug 2005 01:43:45 -0700, hakim <[EMAIL PROTECTED]> wrote: > Hi, > > ns:~# dpkg -l '*dhcp*' > Desired=Unknown/Install/Remove/Purge/Hold > | > Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed > |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: > uppercase=

dpkg query table ??? dhcp3-client dhcpcd ???

2005-08-12 Thread hakim
Hi, ns:~# dpkg -l '*dhcp*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-===

dpkg-query --showformat

2004-10-02 Thread David A. Cobb
Trying to use --showformat to get information from the package database. I'm fine with everything EXCEPT the Filename. All the other items I've tried, the syntax "${Package} . . . ${Version} etc" the "variable" matches the tag on the lines of the available file -- Package: ... Version: