Re: Bug#322076: xorg-x11: Dummy packages (3) generated from source package still needed?
Dainel Stone <daniel@fooishbar.org> wrote:
> On Tue, Aug 09, 2005 at 07:24:12PM +0200, Andreas Metzler wrote:
[...]
>> xlibs contains more than 300 dpkg-conffiles, and moving them from one
>> package to another requires lots of manual md5summing in the
>> package maintainer scripts as dpkg does not handle this at all and
>> will throw lots of unnecessary configuration-file changed prompts.
>> That is same problem anybody switching from xfree96 to xorg
>> experiences with /etc/Xsession, just on a gigantic scale.
> Check out the xlibs and xkeyboard-config packages from Ubuntu for how
> this has been done.
Hello,
thanks for the pointer, this basically works as I thought it would,
comparing every no-longer-shipped conffile with the known md5sum of
the previous release nd removing it, if this is the case.
BTW is thee a reason why you do not use remove_conffile* as their
describig comments suggest:
remove_conffile_prepare () {
# Check a conffile "filename" against a list of canonical MD5 checksums.
# If the file's current MD5 checksum matches one of the "official_md5sum"
# operands provided, then prepare the conffile for removal from the system.
# We defer actual deletion until the package is configured so that we can
# roll this operation back if package installation fails.
but instead invoke both _prepare and _commit in xlibs' preinst?
cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
http://downhill.aus.cc/
Reply to: