Hello Nick, On Thu 18 Mar 2021 at 10:25PM +08, Nick Gasson wrote:
> The problem seems to be that it picks up the root user's local company > package from package-user-dir in preference to the Debian package in > package-directory-list. > > The patch below overrides package-user-dir to point at the Debian elpa > source directory. Not sure if there's a better way to fix this but it > resolves the problem for me and seems more robust. Thank you for the report. Can you test this patch, please? diff --git a/helper/install b/helper/install index 1a2eb8a..af93ee4 100755 --- a/helper/install +++ b/helper/install @@ -51,6 +51,8 @@ echo install/${ELPA_DIR}: byte-compiling for ${FLAVOR} (cd ${elc_dir} set +e ${FLAVOR} --quick --batch -l package \ + --eval "(setq package-directory-list \ + (delete package-user-dir package-directory-list))" \ --eval "(add-to-list 'package-directory-list \"$src_dir\")" \ -f package-initialize -f batch-byte-compile *.el > Install.log 2>&1 if test $? -ne 0 -- Sean Whitton
signature.asc
Description: PGP signature