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

Re: Bug#52488: maint-guide can't be purged properly due to a .dhelp file



On Tue, Feb 01, 2000 at 05:18:33PM +0900, Taketoshi Sano wrote:
> Index: /usr/doc/maint-guide/maint-guide.html/index.en.html
> Files: /usr/doc/maint-guide/maint-guide.html/*.html
         ~~~~~~~~
> and this seems to cause the problem.

> Unfortunately, prerm has the line
> 
> if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/maint-guide ]; then
>         rm -f /usr/doc/maint-guide
> fi
> 
> before calling "install-docs -r".
> 
> so "install-docs -r maint-guide" can not open the specified file
> (i.e. "/usr/doc/maint-guide/maint-guide.html/.dhelp") and this file
> just left unremoved.

This is dh_installdocs(1) problem, then, because I didn't manually edit
my prerm.

> I think the required change is write the real location of the file
> into /usr/share/doc-base/maint-guide.

No, I can't do this. I did it once, and then it failed because of some
dhelp thing (I won't claim that it's a problem - I don't care, I just
know it didn't work).

I know I had to kludge around it (look at maint-guide-* postinsts).

> And this will be the work for Josip, as the maintainer of maint-guide.
> 
> # sorry if this mail hurt your feelings, joy.
> # but fixing the bugs is our motivation to use the BTS, I think.

Uh, I never made any complaint - if I need to fix something, of course
I'll fix it. :)

> Maybe the wishlist report for debhelper to change the default
> order in prerm in the way fdutils uses (first use install-docs,
> then rm the link in /usr/doc) work for other packages.

I agree. And not wishlist, but normal severity.

Of course, if someone can tell me that /usr/share/doc should be used
*safely* in those doc-base/dhelp files, I'll change it (in maint-guide* and
libtiff3g-dev, other named packages aren't mine).

-- 
enJoy -*/\*- don't even try to pronounce my first name


Reply to: