severity 292098 important reassign 292098 hyperlatex thanks > Found it. e3 package is buggy and keeps alternative on e3em after > removal. A stupid case check on prerm, running update-alternatives only > on upgrades.
> Removing e3 ... > + '[' remove '!=' upgrade ']' > + update-alternatives --quiet --remove editor /bin/e3em > + update-alternatives --quiet --remove vi /bin/e3vi > + update-alternatives --quiet --remove emacs /bin/e3em This makes no sense: you just quoted a transcript of the e3 maintainer script where update-alternatives *was* called, because this was *not* an upgrade. # apt-get install e3 <snip> The following NEW packages will be installed: e3 0 packages upgraded, 1 newly installed, 0 to remove and 302 not upgraded. Need to get 37.1kB of archives. After unpacking 111kB will be used. Writing extended state information... Done Get:1 http://mirrors.kernel.org testing/main e3 1:2.61-1 [37.1kB] Fetched 37.1kB in 28s (1296B/s) Selecting previously deselected package e3. (Reading database ... 194416 files and directories currently installed.) Unpacking e3 (from .../e3_1%3a2.61-1_i386.deb) ... Setting up e3 (2.61-1) ... Reading Package Lists... Done Building Dependency Tree Reading extended state information Initializing package states... Done Reading task descriptions... Done # update-alternatives --list emacs /usr/bin/emacs21-x /usr/bin/emacs21 /usr/bin/emacs20 /usr/bin/e3em # apt-get remove e3 Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: e3 0 upgraded, 0 newly installed, 1 to remove and 302 not upgraded. Need to get 0B of archives. After unpacking 111kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 194427 files and directories currently installed.) Removing e3 ... # update-alternatives --list emacs /usr/bin/emacs21-x /usr/bin/emacs21 /usr/bin/emacs20 # I don't see anything to suggest that there is a bug in e3 here, just the original bug in hyperlatex. What does update-alternatives --list emacs show on your system? -- Steve Langasek postmodern programmer
signature.asc
Description: Digital signature