Here is the /tmp/emacs22.* log file when trying to re-install emacs22::
emacs-install emacs22
install/a2ps: Handling install for emacsen flavor emacs22
cd: 35: can't cd to /usr/share/emacs/site-lisp/a2ps
emacs-install: /usr/lib/emacsen-common/packages/install/a2ps emacs22 failed at /usr/lib/emacsen-common/emacs-install line 28, <TSORT> line 4.
There are package install/remove for emacsen a2ps but no package. I moved /usr/lib/emacsen-common/packages/install/a2ps and ../remove/a2ps and it looks like emacs is upgrading okay.
My guess is the emacsen a2ps package was automatically removed on an upgrade but the packages scripts were not removed.
Here is the /tmp/emacs22.* log file when trying to re-install emacs22::
emacs-install emacs22 emacs/site- lisp/a2ps emacsen- common/ packages/ install/ a2ps emacs22 failed at /usr/lib/ emacsen- common/ emacs-install line 28, <TSORT> line 4.
install/a2ps: Handling install for emacsen flavor emacs22
cd: 35: can't cd to /usr/share/
emacs-install: /usr/lib/
Seems similar to this issue
https:/ /bugs.launchpad .net/ubuntu/ +source/ emacs22/ +bug/281766
There are package install/remove for emacsen a2ps but no package. I moved /usr/lib/ emacsen- common/ packages/ install/ a2ps and ../remove/a2ps and it looks like emacs is upgrading okay.
My guess is the emacsen a2ps package was automatically removed on an upgrade but the packages scripts were not removed.