[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#905235: purge + install (not just upgrade) is broken



Just in case it's not obvious,

  • emacs/testing & emacs-goodies/testing are installed
  • purge emacs-goodies-el/testing
  • install emacs-goodies-el/unstable

…has the same behaviour as

  • emacs/testing & emacs-goodies/testing are installed
  • upgrade emacs-goodies-el from /testing to /unstable

This seems to work though:

  • emacs/testing & emacs-goodies/testing are installed
  • purge emacs-goodies-el/testing
  • delete /usr/share/emacs25/site-lisp/emacs-goodies-el
  • install emacs-goodies-el/unstable
bash4$ dpkg-query -W emacs emacs25-lucid emacs-goodies-el
emacs	47.0
emacs-goodies-el	
emacs25-lucid	25.2+1-6+b3
bash4$ sudo apt-get install emacs-goodies-el/unstable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Selected version '40.0' (Debian:unstable [all]) for 'emacs-goodies-el'
Recommended packages:
  elpa-bm
The following NEW packages will be installed:
  emacs-goodies-el
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 0 B/96.4 kB of archives.
After this operation, 265 kB of additional disk space will be used.
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Selecting previously unselected package emacs-goodies-el.
(Reading database ... 151916 files and directories currently installed.)
Preparing to unpack .../emacs-goodies-el_40.0_all.deb ...
Unpacking emacs-goodies-el (40.0) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Processing triggers for install-info (6.5.0.dfsg.1-4) ...
Setting up emacs-goodies-el (40.0) ...
Install emacsen-common for emacs25
emacsen-common: Handling install of emacsen flavor emacs25
Install emacs-goodies-el for emacs25
install/emacs-goodies-el: Handling emacs25, logged in /tmp/elc_COBIYx.log
Building autoloads for emacs25 in /usr/share/emacs25/site-lisp/emacs-goodies-el
ERROR: install script from emacs-goodies-el package failed
dpkg: error processing package emacs-goodies-el (--configure):
 installed emacs-goodies-el package post-installation script subprocess returned error exit status 1
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Errors were encountered while processing:
 emacs-goodies-el
[master 62d06a5] committing changes in /etc after apt run
 Author: twb <twb@goll.invalid>
 2 files changed, 20 insertions(+)
 create mode 100644 emacs/site-start.d/50emacs-goodies-el.el
======  How can you help?  (doc: https://wiki.debian.org/how-can-i-help ) ======

-----  Show old opportunities as well as new ones: how-can-i-help --old  -----
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
bash4$ cat /tmp/elc_COBIYx.log
emacs25 -batch --no-site-file --multibyte --eval (setq load-path (cons "." load-path)) -l autoload --eval (setq generated-autoload-file (expand-file-name "emacs-goodies-loaddefs.el")) --eval (setq make-backup-files nil) -f batch-update-autoloads .
Warning (initialization): Ignoring obsolete arg --multibyte
align-string.el:0:0: error: file-error: (Opening input file No such file or directory /usr/share/emacs25/site-lisp/emacs-goodies-el/align-string.el)
bash4$ sudo dpkg -P emacs-goodies-el
(Reading database ... 151937 files and directories currently installed.)
Removing emacs-goodies-el (40.0) ...
Remove emacs-goodies-el for emacs25
remove/emacs-goodies-el: purging byte-compiled files for emacs25
Purging configuration files for emacs-goodies-el (40.0) ...
Processing triggers for install-info (6.5.0.dfsg.1-4) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
bash4$ sudo find /usr /etc -xdev -name align-string.el -ls
   598145      4 lrwxrwxrwx   1 root     root           59 Aug  2 11:13 /usr/share/emacs25/site-lisp/emacs-goodies-el/align-string.el -> /usr/share/emacs/site-lisp/emacs-goodies-el/align-string.el
bash4$ dpkg-query -W emacs emacs25-lucid emacs-goodies-el
emacs	47.0
emacs-goodies-el	
emacs25-lucid	25.2+1-6+b3
bash4$ dpkg -S /usr/share/emacs25/site-lisp/emacs-goodies-el
dpkg-query: no path found matching pattern /usr/share/emacs25/site-lisp/emacs-goodies-el
bash4$ sudo rm -rf /usr/share/emacs25/site-lisp/emacs-goodies-el
bash4$ sudo apt-get install emacs-goodies-el/unstable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Selected version '40.0' (Debian:unstable [all]) for 'emacs-goodies-el'
Recommended packages:
  elpa-bm
The following NEW packages will be installed:
  emacs-goodies-el
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 0 B/96.4 kB of archives.
After this operation, 265 kB of additional disk space will be used.
[master 9db36d1] saving uncommitted changes in /etc prior to apt run
 Author: twb <twb@goll.invalid>
 2 files changed, 20 deletions(-)
 delete mode 100644 emacs/site-start.d/50emacs-goodies-el.el
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Selecting previously unselected package emacs-goodies-el.
(Reading database ... 151916 files and directories currently installed.)
Preparing to unpack .../emacs-goodies-el_40.0_all.deb ...
Unpacking emacs-goodies-el (40.0) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Processing triggers for install-info (6.5.0.dfsg.1-4) ...
Setting up emacs-goodies-el (40.0) ...
Install emacsen-common for emacs25
emacsen-common: Handling install of emacsen flavor emacs25
Install emacs-goodies-el for emacs25
install/emacs-goodies-el: Handling emacs25, logged in /tmp/elc_5YGKi0.log
Building autoloads for emacs25 in /usr/share/emacs25/site-lisp/emacs-goodies-el
install/emacs-goodies-el: Deleting /tmp/elc_5YGKi0.log
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
[master c4cc37c] committing changes in /etc after apt run
 Author: twb <twb@goll.invalid>
 2 files changed, 20 insertions(+)
 create mode 100644 emacs/site-start.d/50emacs-goodies-el.el
======  How can you help?  (doc: https://wiki.debian.org/how-can-i-help ) ======

-----  Show old opportunities as well as new ones: how-can-i-help --old  -----
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Scanning processes...                                                                                                                                                                          
Scanning processor microcode...                                                                                                                                                                
Scanning linux images...                                                                                                                                                                       

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

Reply to: