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

Re: test -d /usr/man && mail submit@bugs



On Thu, Dec 28, 2000 at 04:17:20PM +0100, Wichert Akkerman wrote:
> Previously Chad Miller wrote:
> > dpkg
> 
> Looking at the changelog the dpkg manpage were moved to /usr/share/man
> in version 1.4.1.5, released Tue, 13 Jul 1999. I just checked and I
> have dpkg manpage in /usr/share/man on my system.


Ha!  That's a bug/unexpected-feature of dpkg.  Its errors look a lot like
the output of -S:

cmiller@canard:~$ ls -l /usr/man/man1/editor.1.gz 
lrwxrwxrwx    1 root     root           29 Jun 29  2000 /usr/man/man1/editor.1.gz -> /etc/alternatives/editor.1.gz  (bad symlink)
cmiller@canard:~$ dpkg -S /usr/man/man1/editor.1.gz
dpkg: /usr/man/man1/editor.1.gz not found.
cmiller@canard:~$ dpkg -S /badfilename             
dpkg: /badfilename not found.

dpkg is fine.

						- chad

--
Chad Miller <cmiller@surfsouth.com>   URL: http://web.chad.org/   (GPG)
"Any technology distinguishable from magic is insufficiently advanced".
First corollary to Clarke's Third Law (Jargon File, v4.2.0, 'magic')



Reply to: