Package: emacs-nox
Version: 1:25.2+1-9
Severity: serious

Upgrading emacs-nox from 47.0 failed in a chroot for me:

,----
| # apt-get dist-upgrade
| Reading package lists... Done
| Building dependency tree       
| Reading state information... Done
| Calculating upgrade... Done
| The following package was automatically installed and is no longer required:
|   emacs25-nox
| Use 'sudo apt autoremove' to remove it.
| The following packages will be REMOVED:
|   emacs25-bin-common emacs25-common
| The following NEW packages will be installed:
|   emacs-bin-common emacs-common
| The following packages will be upgraded:
|   emacs-nox emacs25-nox emacsen-common
| 3 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
| Need to get 0 B/16.3 MB of archives.
| After this operation, 78.8 kB disk space will be freed.
| Do you want to continue? [Y/n] 
| debconf: delaying package configuration, since apt-utils is not installed
| (Reading database ... 15154 files and directories currently installed.)
| Preparing to unpack .../emacs25-nox_1%3a25.2+1-9_all.deb ...
| Remove emacsen-common for emacs25
| emacsen-common: Handling removal of emacsen flavor emacs25
| Unpacking emacs25-nox (1:25.2+1-9) over (25.2+1-6+b3) ...
| (Reading database ... 15146 files and directories currently installed.)
| Removing emacs25-bin-common (25.2+1-6+b3) ...
| Removing emacs25-common (25.2+1-6) ...
| dpkg: warning: while removing emacs25-common, directory 
'/usr/share/icons/hicolor/scalable/mimetypes' not empty so not removed
| dpkg: warning: while removing emacs25-common, directory 
'/usr/share/icons/hicolor/scalable/apps' not empty so not removed
| dpkg: warning: while removing emacs25-common, directory 
'/usr/share/icons/hicolor/48x48/apps' not empty so not removed
| dpkg: warning: while removing emacs25-common, directory 
'/usr/share/icons/hicolor/32x32/apps' not empty so not removed
| dpkg: warning: while removing emacs25-common, directory 
'/usr/share/icons/hicolor/24x24/apps' not empty so not removed
| dpkg: warning: while removing emacs25-common, directory 
'/usr/share/icons/hicolor/16x16/apps' not empty so not removed
| dpkg: warning: while removing emacs25-common, directory 
'/usr/share/icons/hicolor/128x128/apps' not empty so not removed
| (Reading database ... 12537 files and directories currently installed.)
| Preparing to unpack .../emacsen-common_3.0.2_all.deb ...
| Unpacking emacsen-common (3.0.2) over (2.0.8) ...
| dpkg: warning: unable to delete old directory '/etc/emacs/site-start.d': 
Directory not empty
| dpkg: warning: unable to delete old directory '/etc/emacs': Directory not 
empty
| Selecting previously unselected package emacs-common.
| Preparing to unpack .../emacs-common_1%3a25.2+1-9_all.deb ...
| Unpacking emacs-common (1:25.2+1-9) ...
| Selecting previously unselected package emacs-bin-common.
| Preparing to unpack .../emacs-bin-common_1%3a25.2+1-9_i386.deb ...
| Unpacking emacs-bin-common (1:25.2+1-9) ...
| Preparing to unpack .../emacs-nox_1%3a25.2+1-9_i386.deb ...
| dpkg-query: no packages found matching emacs-nox:i386
| dpkg-query: package 'emacs-nox' is not installed
| Use dpkg --info (= dpkg-deb --info) to examine archive files,
| and dpkg --contents (= dpkg-deb --contents) to list their contents.
| dpkg-maintscript-helper: error: file '/usr/share/doc/emacs-nox' not owned by 
package 'emacs-nox:i386'
| dpkg-query: package 'emacs-nox' is not installed
| Use dpkg --info (= dpkg-deb --info) to examine archive files,
| and dpkg --contents (= dpkg-deb --contents) to list their contents.
| dpkg-maintscript-helper: error: file '/usr/share/doc/emacs-nox/copyright' not 
owned by package 'emacs-nox:i386'
| dpkg-query: package 'emacs-nox' is not installed
| Use dpkg --info (= dpkg-deb --info) to examine archive files,
| and dpkg --contents (= dpkg-deb --contents) to list their contents.
| dpkg-maintscript-helper: error: file '/usr/share/doc/emacs-nox/changelog.gz' 
not owned by package 'emacs-nox:i386'
| dpkg-maintscript-helper: error: directory '/usr/share/doc/emacs-nox' contains 
files not owned by package emacs-nox:i386, cannot switch to symlink
| dpkg: error processing archive 
/var/cache/apt/archives/emacs-nox_1%3a25.2+1-9_i386.deb (--unpack):
|  new emacs-nox package pre-installation script subprocess returned error exit 
status 1
| Errors were encountered while processing:
|  /var/cache/apt/archives/emacs-nox_1%3a25.2+1-9_i386.deb
| E: Sub-process /usr/bin/dpkg returned an error code (1)
`----

The "dpkg-query: no packages found matching emacs-nox:i386" error
message looks suspicious, this really should not happen.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.18.0-rc8-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to