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

Re: install-docs in prerm problem



[Sorry to be so late reading debian-devel.  Please cc
 <doc-base@lists.debian.org> next time.  I just don't always have time
 to keep up on this list.]

Elie Rosenblum <fnord@jurai.net> writes:
> Folks, make sure your prerm scripts don't fail if the install-docs doesn't
> want to uninstall docs that aren't installed.
> 
> I had developers-reference installed, but not doc-base. Installed doc-base,
> then tried to upgrade developers-reference, and the prerm refused to work,
> because it wasn't registered with install-docs.

Interesting case.  Clearly, this is a flaw in install-docs; I'm aware
of it by my vision is that when slink is around install-docs will be a
required package and installed very early on.  Aside from that, I'm
not sure whether we need additional facilities for picking up
documents installed before itself.

> Now, this isn't much of a problem for me; I can edit the prerm file myself
> and make it work. However, I don't expect production packages to need low
> level fixes like this, which are inappropriate for non-developers to need
> to use.

You might be interested to know that doc-base since version 0.3 (9 Apr
1998) has this entry in the changelog:

  * install-docs is idempotent for --remove, that is, if you try to remove
    a docid which is already removed, it exits with a warning, but not a
    non-zero exit status (closes Bug#19875, I think)

.....A. P. Harris...apharris@onShore.com...<URL:http://www.onShore.com/>


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


Reply to: