Debian bug report logs - #1148
w3-el doesn't clean up properly
Package: w3-el; Reported by: richard@elmail.co.uk (Richard Kettlewell); Done: Raul Miller <moth@magenta.com>.
Message received at debian-bugs-done:
From magenta.com!moth Sat Oct 14 08:15:34 1995
Return-Path: <moth@magenta.com>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0t48JB-000Dh5C; Sat, 14 Oct 95 08:15 PDT
Received: from magenta.com by pixar.com with SMTP id AA28287
(5.67b/IDA-1.5 for debian-bugs-done-pipe@mongo.pixar.com); Sat, 14 Oct 1995 08:15:11 -0700
Received: (moth@localhost) by magenta.com (8.6.12/8.6.4) id LAA07575; Sat, 14 Oct 1995 11:10:41 -0400
Date: Sat, 14 Oct 1995 11:10:41 -0400
Message-Id: <199510141510.LAA07575@magenta.com>
From: Raul Miller <moth@magenta.com>
Reply-To: Raul Miller <moth@magenta.com>
To: debian-bugs-done@pixar.com
Cc: richard@elmail.co.uk (Richard Kettlewell)
Subject: Bug#1148: w3-el doesn't clean up properly
I'm marking this as done with w3-el 2.2.22.
I'm counting on two things here: it's been a while since the original
problem occurred. And, the current emacs release seems to be very
happy with site-start.el in /etc rather than in
/usr/lib/emacs/site-lisp
Also, for a while w3-el packages would attempt to clean up the damage
-- however, with recent changes in debian, this has proved far more
a problem than a cure.
--
Raul
Notification sent to richard@elmail.co.uk (Richard Kettlewell)
:
Bug acknowledged by developer.
Full text available.
Reply sent to Raul Miller <moth@magenta.com>
:
You have taken responsibility.
Full text available.
Message received at debian-bugs:
From tad.micro.umn.edu!rdr Wed Jul 26 11:42:14 1995
Return-Path: <rdr@tad.micro.umn.edu>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0sbBPJ-00063SC; Wed, 26 Jul 95 11:42 PDT
Received: from gopher.legislate.com ([192.77.155.4]) by pixar.com with SMTP id AA04574
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 26 Jul 1995 11:40:39 -0700
Received: by gopher.legislate.com
id <m0sb7kQ-0004hfC@gopher.legislate.com>
(Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 26 Jul 95 10:47 EDT
Message-Id: <m0sb7kQ-0004hfC@gopher.legislate.com>
Date: Wed, 26 Jul 95 10:47 EDT
From: rdr@tad.micro.umn.edu (Raul Miller)
To: richard@elmail.co.uk, debian-bugs@Pixar.com
In-Reply-To: <m0saBHS-0002QqC@sfere.elmail.co.uk> (richard@elmail.co.uk)
Subject: Re: Bug#1148: w3-el doesn't clean up properly
Version 2.2.6-1 of w3-el has a temporary workaround for this problem.
It will fail (perhaps badly) for certain cases where a person has
severely reconfigured the softlinks leading to site-start.el, but it
should do the right thing for a standard debian installation.
I'm leaving this bug open until I can get a real solution in place.
--
Raul Miller
Acknowledgement sent to rdr@tad.micro.umn.edu (Raul Miller)
:
Extra info received and forwarded.
Full text available.
Information forwarded to debian-devel@pixar.com
:
Bug#1148
; Package w3-el
.
Full text available.
Message received at debian-bugs:
From cus.cam.ac.uk!iwj10 Mon Jul 24 17:49:03 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0saYBD-0005TGC; Mon, 24 Jul 95 17:49 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA25556
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 24 Jul 1995 17:47:26 -0700
Received: by bootes.cus.cam.ac.uk
(Smail-3.1.29.0 #36) id m0saYB5-000BzNC; Tue, 25 Jul 95 01:48 BST
Received: by chiark
id <m0saXQ7-0002YUZ@chiark.al.cl.cam.ac.uk>
(Debian /\oo/\ Smail3.1.29.1 #29.32); Tue, 25 Jul 95 01:00 BST
Message-Id: <m0saXQ7-0002YUZ@chiark.al.cl.cam.ac.uk>
Date: Tue, 25 Jul 95 01:00 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: debian-bugs@pixar.com
Subject: Re: Bug#1148: w3-el doesn't clean up properly
Richard Kettlewell writes ("Bug#1148: w3-el doesn't clean up properly"):
> [...]
> If /usr/lib/emacs/site-lisp/site-start.el is a symlink to
> /etc/site-start.el - which is how emacs-19.28-3 sets things up - then
> then w3-el's postrm script replaces it with an ordinary file:
What the maintainer scripts should do here is keep dereferencing the
file until they get a real file rather than a symlink, so that they
can then generate an appropriate ~ file and move it in place.
There doesn't seem to be a shell utility to do this - am I mistaken ?
If not I can easily make one in the dpkg package; dpkg already has the
code to do this for configuration files, so it wouldn't be too much
extra work.
If so, what should the program be called ?
Ian.
Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson)
:
Extra info received and forwarded.
Full text available.
Information forwarded to debian-devel@pixar.com
:
Bug#1148
; Package w3-el
.
Full text available.
Message received at debian-bugs:
From elmail.co.uk!richard Sun Jul 23 17:53:18 1995
Return-Path: <richard@elmail.co.uk>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0saBll-000ANFC; Sun, 23 Jul 95 17:53 PDT
Received: from tlingit.elmail.co.uk by pixar.com with SMTP id AA25082
(5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 23 Jul 1995 17:51:40 -0700
Received: from sfere.elmail.co.uk by tlingit.elmail.co.uk (8.6.11) id BAA09338; Mon, 24 Jul 1995 01:51:45 +0100
Received: by sfere.elmail.co.uk
id <m0saBHS-0002QqC@sfere.elmail.co.uk>
(Debian /\oo/\ Smail3.1.29.1 #29.33); Mon, 24 Jul 95 01:21 BST
Message-Id: <m0saBHS-0002QqC@sfere.elmail.co.uk>
Date: Mon, 24 Jul 95 01:21 BST
From: richard@elmail.co.uk (Richard Kettlewell)
To: debian-bugs@pixar.com
Subject: w3-el doesn't clean up properly
Package: w3-el
Version: 2.2.0-1
If /usr/lib/emacs/site-lisp/site-start.el is a symlink to
/etc/site-start.el - which is how emacs-19.28-3 sets things up - then
then w3-el's postrm script replaces it with an ordinary file:
#!/bin/sh
#
# remove autoloads from the emacs site-start file
f1=/usr/lib/emacs/site-lisp/site-start.el
l1='(if (file-exists-p "/usr/lib/emacs/site-lisp/w3-init.el") (load "w3-init"))'
grep -v "^$l1$" $f1 >$f1~
mv $f1~ $f1
exit 0
This rather screws things up from the point of view of packages which
use /etc/site-start.el, e.g. auctex and the one I was preparing when I
discovered this :-). Obviously, it doesn't matter where the script
looks as long as it can cope with symlinks.
ttfn/rjk
Acknowledgement sent to richard@elmail.co.uk (Richard Kettlewell)
:
New bug report received and forwarded.
Full text available.
Report forwarded to debian-devel@pixar.com
:
Bug#1148
; Package w3-el
.
Full text available.
Ian Jackson /
iwj10@thor.cam.ac.uk,
with the debian-bugs tracking mechanism