Hi David,

On 19/08/2021 20:31, David Bremner wrote:
I did another test in a schroot.  Here, the error was triggered by the
upgrade of the package 'emacs' from 1:26.1+1-3.2+deb10u2 to
1:27.1+1-3.1, with the package 'elpa-org' already installed.

I believe the issue is related to this package and not to the package
emacs, since the error only appears if the package 'elpa-org' is
installed, or going to be installed.
Are you doing an upgrade to bullseye / stable? Because that version of
emacs is not in oldstable, which is (roughly) what your bug report said.
Yes, the error appeared the first time when upgrading emacs to version 27.

There was some possibly related discussion about running emacs 27 in
buster on the backports list, you could check there.

The error appeared in two situations:

1. emacs 27 (currently in stable/bullseye) is already installed. Install elpa-org (from stable as well, i.e. version 9.1.14+dfsg-3). Produces the error as reported. 2. elpa-org is installed with emacs in old-stable.  Upgrade emacs to the version in stable / bullseye.  The package elpa-org is upgraded as well, producing the same error.  Produces the error as reported.

The issue did not occur with previous versions of elpa-org.



I found one discussion probably related to this bug report -- https://lists.debian.org/debian-backports/2021/02/msg00016.html IIUC, the issue may be due to the fact that emacs-27 is now packaged with org-mode, which I didn't know.

I am not sure if this is the culprit, but it looks like emacs-27 and elpa-org provide possibly conflicting package files:

┌────
│ $ dpkg -l elpa-org
│ iF  elpa-org       9.1.14+dfsg-3 all          Keep notes, maintain ToDo lists, and do project planning
│
│ $ dpkg -l emacs-common
│ ii  emacs-common   1:27.1+1-3.1 all          GNU Emacs editor's shared, architecture independent infras
│
│ $ dpkg -S /usr/share/emacs/27.1/lisp/org/ox-org.elc
│ emacs-common: /usr/share/emacs/27.1/lisp/org/ox-org.elc
│
│ $ dpkg -S /usr/share/emacs/site-lisp/elpa-src/org-9.1.14/ox-org.el
│ elpa-org: /usr/share/emacs/site-lisp/elpa-src/org-9.1.14/ox-org.el
└────




best,
Damien

Reply via email to