reopen 465748 
thanks

>         This is not really a package bug. The package does not contain
>  any file called  /etc/emacs*/site-start.d/50vm-init.el; instead, it
>  ships /usr/share/emacs/site-lisp/vm/vm-init.el, which is shipped not
>  empty. 
>
>         During installation, ucf is called to install the appropriate
>  /etc/emacs*/site-start.d/  files; and uses debconf to ask whether or
>  not to replace the file. Now, I have no idea why  the init files are
>  empty right now on your machine,

I now have it after closely looking at your
/usr/lib/emacsen-common/packages/install/vm script.  Here are the
relevant actions in that script with line numbers:

43: ELDIR=/usr/share/emacs/site-lisp/$PACKAGE
44: ELCDIR=/usr/share/$FLAVOUR/site-lisp/$PACKAGE
48: STARTFILE="$PACKAGE-init.el";
92:         cd $ELCDIR;
109:    sed -e "s|=F|/usr/share/$FLAVOUR/site-lisp/$PACKAGE|" \
110:            $STARTFILE > $ELCDIR/$STARTFILE;
111:    ucf $ELCDIR/$STARTFILE $STARTDIR/50$STARTFILE;

When the shell executes the sed call in lines 109/110, it is in $ELCDIR,
thus $STARTFILE becomes $ELCDIR/$STARTFILE, and sed (and ucf in line
111) gets an empty file as input.

You had better feed sed with $ELDIR/$STARTFILE, I suppose that would
work.

Sven



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to