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

Bug#153096: dpkg: -S on man page should further metion what it wont find



Package: dpkg
Version: 1.9.21
Severity: wishlist


please either add notes about what -S wont find to the manpage [in the
-S paragraph], or fix dpkg...


>From nobody Tue Jul 16 06:26:20 2002
Message-ID: <20020715061358.GA5935@aokiconsulting.com>
X-NOFFLE-Status: INTERESTING
X-NOFFLE-LastAccess: 2002-07-16 06:18:16
Subject: Re: dpkg -S and symlinks --> spell check in mutt
From: Osamu Aoki <debian@aokiconsulting.com>
Date: Sun, 14 Jul 2002 23:13:58 -0700
References: <87sn2lsw61.fsf@jidanni.org>
 <20020715060256.GB5843@aokiconsulting.com>
Bytes: 4850
Lines: 43
Xref: debian gmane.linux.debian.user:4742
Path: main.gmane.org!not-for-mail
Newsgroups: gmane.linux.debian.user
Sender: Osamu Aoki <nospam@aokiconsulting.com>
Approved: news@gmane.org
NNTP-Posting-Host: localhost.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: main.gmane.org 1026713698 1336 127.0.0.1 (15 Jul 2002 06:14:58 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Mon, 15 Jul 2002 06:14:58 +0000 (UTC)
Return-path: <bounce-debian-user=debian-user=quimby.gnus.org@lists.debian.org>
Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Tz8L-0000LR-00 for <debian-user@main.gmane.org>; Mon, 15 Jul 2002 08:14:57 +0200
Original-Received: from murphy.debian.org ([65.125.64.134]) by quimby.gnus.org with smtp (Exim 3.12 #1 (Debian)) id 17TzIe-0006K1-00 for <debian-user@quimby.gnus.org>; Mon, 15 Jul 2002 08:25:36 +0200
Original-Received: (qmail 1165 invoked by uid 38); 15 Jul 2002 06:14:28 -0000
X-Envelope-Sender: nospam@aokiconsulting.com
Original-Received: (qmail 907 invoked from network); 15 Jul 2002 06:14:24 -0000
Original-Received: from rwcrmhc52.attbi.com (216.148.227.88) by murphy.debian.org with SMTP; 15 Jul 2002 06:14:24 -0000
Original-Received: from goofy.lan.aokiconsulting.com ([12.234.106.18]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020715061359.EQPQ8262.rwcrmhc52.attbi.com@goofy.lan.aokiconsulting.com> for <debian-user@lists.debian.org>; Mon, 15 Jul 2002 06:13:59 +0000
Original-Received: from nospam by goofy.lan.aokiconsulting.com with local (Exim 3.35 #1 (Debian)) id 17Tz7O-0001Yd-00 for <debian-user@lists.debian.org>; Sun, 14 Jul 2002 23:13:58 -0700
Original-To: debian-user@lists.debian.org
Mail-Followup-To: debian-user@lists.debian.org
Content-Disposition: inline
In-Reply-To: <20020715060256.GB5843@aokiconsulting.com>
User-Agent: Mutt/1.3.28i
X-GPG-Fingerprint-old: 814E BD64 3288 40E7 E88E  3D92 C3F8 EA94 D5DE 453D
X-GPG-Fingerprint: 253A 4076 6A3B CCE2 A426  DEF5 E80F C4C1 A806 1F32
X-GPG-public-key-old: http://www.aokiconsulting.com/public-key
Resent-Message-ID: <QWyTo.A.0R.EhmM9@murphy>
Resent-From: debian-user@lists.debian.org
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/222135
X-Loop: debian-user@lists.debian.org
List-Post: <mailto:debian-user@lists.debian.org>
List-Help: <mailto:debian-user-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-user-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-user-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-user-request@lists.debian.org
Resent-Bcc: 
Resent-Date: Mon, 15 Jul 2002 08:25:36 +0200

Oops.  Typo again. 

Maybe I should force myself spell checking before sending.  Any good
idea for MUTT?  I keep forgetting typing "i" before "y".  Maybe MACRO?

On Sun, Jul 14, 2002 at 11:02:56PM -0700, Osamu Aoki wrote:
> On Mon, Jul 15, 2002 at 07:54:14AM +0800, Dan Jacobson wrote:
> > Noting that the look command lacks the word herbicide, I will be a
> > good Samaritan and inform somebody, or so i thought: 
> > I do
> > $ man look
> >      "If file is not specified, the file /usr/share/dict/words is used..."
> > $ dpkg -S /usr/share/dict/words
> > dpkg: /usr/share/dict/words not found.
> > Oh, I see it is a symlink.  Odd, the dpkg man page doesn't mention -S
> > doesn't know about symlinks.  Must be a bug, no?
> 
> This is my frastration with current debian system.
s/frastration/frustration/
> 
> "dpkg -S" only shows files in package but files created by install
> scripts are not shown because it is not in package.  "symlinks are
> created by postinstall scripts for sure.
> 
> 
> This is not a bug in narrow sense but usability bug.  Thus you can file
> ths as wishlist, I think...
s/ths/this/
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
 Osamu Aoki @ Cupertino CA USA
 See "User's Guide":     http://www.debian.org/doc/manuals/users-guide/
 See "Debian reference": http://www.debian.org/doc/manuals/debian-reference/
 "Debian reference" Project at: http://qref.sf.net

 I welcome your constructive criticisms and corrections.


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


>From nobody Tue Jul 16 06:26:26 2002
Message-ID: <61258.10.121.110.34.1026758339.squirrel@webmail.linuxpowered.net>
X-NOFFLE-Status: INTERESTING
X-NOFFLE-LastAccess: 2002-07-16 06:18:16
Subject: Re: dpkg -S and symlinks
From: "nate" <debian-user@aphroland.org>
Date: Mon, 15 Jul 2002 11:38:59 -0700 (PDT)
References: <87sn2lsw61.fsf@jidanni.org>
Bytes: 4902
Lines: 47
Xref: debian gmane.linux.debian.user:4829
Path: main.gmane.org!not-for-mail
Newsgroups: gmane.linux.debian.user
Approved: news@gmane.org
NNTP-Posting-Host: localhost.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: main.gmane.org 1026758372 8992 127.0.0.1 (15 Jul 2002 18:39:32 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Mon, 15 Jul 2002 18:39:32 +0000 (UTC)
Return-path: <bounce-debian-user=debian-user=quimby.gnus.org@lists.debian.org>
Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17UAkt-0002Kv-00 for <debian-user@main.gmane.org>; Mon, 15 Jul 2002 20:39:31 +0200
Original-Received: from murphy.debian.org ([65.125.64.134]) by quimby.gnus.org with smtp (Exim 3.12 #1 (Debian)) id 17UAvS-0006Mk-00 for <debian-user@quimby.gnus.org>; Mon, 15 Jul 2002 20:50:26 +0200
Original-Received: (qmail 26189 invoked by uid 38); 15 Jul 2002 18:39:05 -0000
X-Envelope-Sender: debian-user@aphroland.org
Original-Received: (qmail 26150 invoked from network); 15 Jul 2002 18:39:05 -0000
Original-Received: from saratoga.linuxpowered.net (postfix@63.121.110.48) by murphy.debian.org with SMTP; 15 Jul 2002 18:39:05 -0000
Original-Received: from localhost (localhost [127.0.0.1]) by saratoga.linuxpowered.net (Postfix) with ESMTP id 5E8EC2C0105 for <debian-user@lists.debian.org>; Mon, 15 Jul 2002 11:39:01 -0700 (PDT)
Original-Received: from saratoga.linuxpowered.net (localhost [127.0.0.1]) by saratoga.linuxpowered.net (Postfix) with SMTP id CCD062C0104 for <debian-user@lists.debian.org>; Mon, 15 Jul 2002 11:38:59 -0700 (PDT)
Original-Received: from c2503-ipnat-wa-34.graphon.com ([10.121.110.34]) (SquirrelMail authenticated user aphro) by webmail.linuxpowered.net with HTTP; Mon, 15 Jul 2002 11:38:59 -0700 (PDT)
Original-To: <debian-user@lists.debian.org>
In-Reply-To: <87sn2lsw61.fsf@jidanni.org>
X-Priority: 3
Importance: Normal
X-MSMail-Priority: Normal
X-Mailer: SquirrelMail (version 1.2.5)
X-Virus-Scanned: by AMaViS snapshot-20020300
Resent-Message-ID: <WYHyKB.A.-YG.JbxM9@murphy>
Resent-From: debian-user@lists.debian.org
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/222223
X-Loop: debian-user@lists.debian.org
List-Post: <mailto:debian-user@lists.debian.org>
List-Help: <mailto:debian-user-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-user-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-user-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-user-request@lists.debian.org
Resent-Bcc: 
Resent-Date: Mon, 15 Jul 2002 20:50:26 +0200

<quote who="Dan Jacobson">
> Fellas, just where does my inexperience reach a crescendo, and just where
> does Debian "owe me something"?:
>
> Noting that the look command lacks the word herbicide, I will be a good
> Samaritan and inform somebody, or so i thought:
> I do
> $ man look
>     "If file is not specified, the file /usr/share/dict/words is used..."
> $ dpkg -S /usr/share/dict/words
> dpkg: /usr/share/dict/words not found.
> Oh, I see it is a symlink.  Odd, the dpkg man page doesn't mention -S
> doesn't know about symlinks.  Must be a bug, no?
>
> OK, apt-cache search mentions various clues, but I do an dpkg -L
> ispell and dont see /usr/share/dict/words there either.

i am guessing here, but it would make sense if the symlinks
were created during one of the various scripts that are executing
during package installation, it would make the linking more flexible,
if this is the case, that means the symlink is not part of the package
list of files, so it would not show up on dpkg -S .

i think it would be a bad idea if dpkg -S followed symlinks and
reported their targets as being part of the package if the link
pointed to such a file. then anyone could create a buncha symlinks
and point them to files and the system would think those symlinks
are part of that package when they are not.

it's not as convient, but i can't really think of a better way
then to manually follow the symlink and check the file it
points to.

and many links are updated on the fly like those in
'update-alternatives'. last thing i would want is dpkg -S telling
me one thing belongs to one package when it infact may belong
to a different package.

nate

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux debian 2.4.18-k7 #1 Sun Apr 14 13:19:11 EST 2002 i686
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5

Versions of packages dpkg depends on:
ii  libc6                    2.2.5-6         GNU C Library: Shared libraries an
ii  libncurses5              5.2.20020112a-7 Shared libraries for terminal hand
ii  libstdc++2.10-glibc2.2   1:2.95.4-7      The GNU stdc++ library



-- 
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: