On Jul 16 2023, Aymeric Agon-Rambosson <aymeric.a...@yandex.com> wrote: > Hello, > > Le dimanche 16 juillet 2023 à 08:22, Sean Whitton <spwhit...@spwhitton.name> > a écrit : > >>> async 1.9.3 is from buster. You have >>> /usr/share/emacs/site-lisp/elpa-async-1.9.7 on your system, right? > > The directory you're supposed to have is > /usr/share/emacs/site-lisp/elpa/async-1.9.7
I don't think so, because I do not have the elpa-async package installed anymore. It's completely purged (not even config left). > > Le dimanche 16 juillet 2023 à 10:52, Nikolaus Rath <nikol...@rath.org> a > écrit : > >> No. It seems these files got orphaned during the upgrade: >> >> # dpkg -S /usr/share/emacs/site-lisp/elpa/async-1.9.3/async.elc >> dpkg-query: no path found matching pattern >> /usr/share/emacs/site-lisp/elpa/async-1.9.3/async.elc > > They did not. > > dpkg -S only shows the files that are present in the .deb file, and the > byte-compiled > files (elc) are not. > > The real file list of the elpa-async package can be queried with : > > - dpkg -L elpa-async > - apt-file list elpa-async (same as previous one, but without prefix > directories) > - Or directly on > https://packages.debian.org/bookworm/all/elpa-async/filelist > > It is normal that files in /usr/share/emacs/site-lisp/elpa do not show up in > any file > list. > > It is because those files are generated during the installation process, from > the content > of /usr/share/emacs/site-lisp/elpa-src (note the -src suffix). And indeed, > those files in > /usr/share/emacs/site-lisp/elpa are either symbolic links to elisp source > files in > /usr/share/emacs/site-lisp/elpa-src, or the byte-compiled version of > those same files. Yeah, but there is no /usr/share/emacs/site-lisp/elpa-src/async on this system, only the generated files: root@vostro /e/cron.d# dir /usr/share/emacs/site-lisp/elpa-src/ total 21K drwxr-xr-x 2 root 5 Jul 10 11:42 dash-2.19.1 drwxr-xr-x 2 root 5 Jul 10 11:42 git-commit-3.3.0 drwxr-xr-x 2 root 13 Jul 10 13:36 irony-1.5.0 drwxr-xr-x 2 root 49 Jul 10 13:36 magit-3.3.0 drwxr-xr-x 2 root 5 Jul 10 13:36 magit-section-3.3.0 drwxr-xr-x 2 root 5 Jul 10 11:42 markdown-mode-2.5 drwxr-xr-x 2 root 5 Sep 10 2021 org-bullets-0.2.4 drwxr-xr-x 2 root 5 Jul 10 11:42 visual-fill-column-2.4 drwxr-xr-x 2 root 5 Jul 10 11:42 with-editor-3.0.5 >>>> Looking at one randomly there seems to be a broken symlink for the .el >>>> file: >>>> >>>> nikratio@vostro /u/s/e/s/elpa> dir >>>> /usr/share/emacs/site-lisp/elpa/async-1.9.3/async.* >>>> lrwxrwxrwx 1 root 57 Feb 24 10:49 >>>> /usr/share/emacs/site-lisp/elpa/async-1.9.3/async.el -> >>>> /usr/share/emacs/site-lisp/elpa-src/async-1.9.3//async.el >>>> -rw-r--r-- 1 root 12K Feb 24 10:49 >>>> /usr/share/emacs/site-lisp/elpa/async-1.9.3/async.elc > > I am not sure what you mean by broken symlink. The symlink target does not exist. > Try to reinstall elpa-async from stable, you should > have /usr/share/emacs/site-lisp/elpa-src/async-1.9.7 and the elisp source > files therein, > and the corresponding symlinks and byte-compiled files in > /usr/share/emacs/site-lisp/elpa/async-1.9.7. Hmm. I think the problem is not that the various elpa packages did not get installed correctly, but that they did not get removed fully. So I'll skip this step for now in an attempt to preserve the current state. >>>> Warning (comp): Cannot look-up eln file as no source file was found for >>>> /usr/share/emacs/site-lisp/elpa/dash-2.17.0/dash.elc Disable showing >>>> Disable logging >>>> Warning (comp): Cannot look-up eln file as no source file was found for >>>> /usr/share/emacs/site-lisp/elpa/transient-0.2.0.30/transient.elc Disable >>>> showing >>>> Disable logging >>>> Warning (comp): Cannot look-up eln file as no source file was found for >>>> /usr/share/emacs/site-lisp/elpa/async-1.9.3/async-bytecomp.elc Disable >>>> showing Disable >>>> logging >>>> Warning (comp): Cannot look-up eln file as no source file was found for >>>> /usr/share/emacs/site-lisp/elpa/async-1.9.3/async.elc Disable showing >>>> Disable logging >>>> Warning (comp): Cannot look-up eln file as no source file was found for >>>> /usr/share/emacs/site-lisp/elpa/with-editor-3.0.2/with-editor.elc Disable >>>> showing >>>> Disable logging > > Those warnings can safely be ignored. Thanks for clarifying! They're still very annoying to have on every startup though :-). Best, -Nikolaus