Bug#963220: ELPA: pspp-mode.el installed in package pspp 1.2.0-5 via dh_elpa cannot be installed
Hi Nicholas,
thanks for looking into the problem!
> Am 20.06.2020 um 22:22 schrieb Nicholas D Steeves <nsteeves@gmail.com>:
>
> Control: tag -1 moreinfo
>
> Hi,
>
> Lev, I've CCed you with a question at the bottom (the question is #3).
>
> Friedrich Beckmann <friedrich.beckmann@gmx.de> writes:
>
>> Package: dh-elpa
>> Version: 2.0.3
>>
>> Hi,
>>
>> i run some tests on debian testing. I installed the recently build
>> pspp 1.2.0-5 package which uses dh-elpa to install pspp-mode.el
>> for emacs.
>
> Installed with dpkg/apt?
Installed with apt.
>
>> In the current emacs version in testing 1:26.3+1-2
>> I cannot install the package. When I run
>>
>> M-x package-list-packages
>>
>> I see:
>> ...
>> zones 2019.7.13 available Zones of text - like multiple regions
>> ztree 1.0.5 available Text mode directory tree
>> poker 0.2 installed Texas hold 'em poker
>> psgml 1.3.4 installed SGML-editing mode with parsing support
>> dh-elpa 2.0.4 external package.el style packages for Debian
>> pspp-mode 1.0 external Major mode for editing PSPP files
>
> * if you click on pspp-mode I think you'll find
> Status: External in ‘/usr/share/emacs/site-lisp/elpa-src/pspp-mode-1.0/pspp-mode.el’
I see:
Status: External in ‘/usr/share/emacs/site-lisp/elpa/pspp-mode-1.0/’ (unsigned).
> * "Status: External" means it has been installed.
> * What does M-x locate-library psp-mode return?
M-x locate-library pspp-mode returns:
Library is file /usr/share/emacs/site-lisp/pspp/pspp-mode.el
>> There are only the dh-elpa and the pspp-mode package listed as „external“. When
>> I type „i“ to install pspp-mode, then this does not work.
>
> Haven't you already installed it with 'apt install pspp‘?
Yes, I have and I expected that I can activate the pspp-mode simply
with "M-x pspp-mode“, but that is not possible. I have to do
M-x load-library pspp-mode.el (loading from /usr/share/emacs/site-lisp/pspp/pspp-mode.el)
and then I can do
M-x pspp-mode
to switch the mode. As far as I remember the only requirement for that
would be to have just the pspp-mode.el file in that path, no?
>> This works for the „available“ packages. So listing works, the info is
>> shown but I cannot use the package. It seems that nobody else uses
>> dh-elpa right?
>
> Plenty of people use dh-elpa :-) At this point it's unclear what you're
> reporting. Maybe it's one of these?:
>
> 1. pspp regression after converting to dh-elpa
> * normal bug, against in pspp package
Maybe I use dh-elpa in wrong way in the pspp debian package setup.
I remember that it worked some time ago but today it does not.
> 2. request to install Debian packages from the 'package-list-packages'
> interface.
> * wishlist bug in src:emacs (in a desktop-general sense) to add
> Debian package management to packages.el
No, I expect that I can activate the pspp-mode right after installation
of the pspp package via apt.
> 3. request for information about how to install elpa-foo packages using
> apt from inside emacs. Lev, I seem to remember that you maintain one
> or two packages that can do this.
No, I do not want to run apt from within emacs.
> 4. something else
As far as I remember the dh-elpa procedure worked some time ago but now
it is at least unexpected behaviour. I expect that I can use the
pspp-mode after the installation of the pspp package directly. But
this does not happen. Maybe I use the dh-elpa package in a wrong way
during the preparation of the pspp debian package. Maybe I use
emacs in a wrong way. Maybe emacs is broken with external packages.
The pspp debian package is here:
https://salsa.debian.org/science-team/pspp/-/tree/master/debian
Thanks for your detailed questions! I hope I could clarify the
things. It would really help if somebody with more experience with
emacs and dh-elpa could have a look at this.
> Cheers,
> Nicholas
Reply to: