Control: tag -1 -moreinfo -unreproducible +confirmed
Erich Beyer <badboybe...@gmail.com> writes: > 1) No, it is the same information that appears in the "dpkg --configure -a" > output in my original email. I will duplicate it below. > > 2) I tried: > A) > $ sudo emacs ... > B) > $ sudo -s > # emacs ... > C) > $ sudo -s > # su > # emacs ... > > Iteration C produced the same output as you. I have env_keep in my > /etc/sudoers. I think emacs in the script is seaching $HOME/.emacs.d/ and my > init.el is causing it to add $HOME/.emacs.d/elpa to the load-path. For > iteration > A and B, $HOME="/home/myusername" and no output was produced. > > $ sudo sh -c 'echo $HOME' > /home/myusername > OK, I understand the problem now, thanks for experimenting. Indeed the problem is your setting of $HOME for the root user (and emacs using $HOME). I'll see about making the maintainer scripts ignore the value of $HOME.