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

Bug#35691: dpkg: New package dependency: "affects"



Package: dpkg
Version: 1.4.0.34
Severity: wishlist

I'd like to propose a new dependancy type which could possibly be described
best with the keyword "affects". The problem behind this is that with slink,
many packages that register new mimetypes do not depend on mime-support,
and thus get configured before mime-support. Since the /etc/mailcap file is
not present at configuration time, they assume that mime-support is not
installed, and skip this step. Thus, about 50% of the available mimetypes
are not registered.

I would propose that these packages could "affect" mime-support. As soon as
something about the installation status of mime-support changed, the
postinst script could be called with appropriate arguments, and the script
would make sure the package is still registered properly. This would also
allow to rebuild the database if it got lost, by simply re-installing
mime-types.

BTW, the same goes for the documentation. Until doc-base (I believe) is
installed, install-docs simply ignores every request to register
documentation.

   Simon

-- System Information
Debian Release: 2.1
Kernel Version: Linux phobos 2.0.36 #1 Sun Mar 21 15:07:33 CET 1999 i486 unknown

Versions of the packages dpkg depends on:
ii  libc6           2.0.7.19981211 GNU C Library: shared libraries
ii  libncurses4     4.2-3          Shared libraries for terminal handling
ii  libstdc++2.9    2.91.60-5      The GNU stdc++ library (egcs version)


Reply to: