Package: calibre Version: 3.39.1+dfsg-2 Severity: important Hi,
I'm unsure where the bug exactly is, so please reassign as necessary. Steps to reproduce: Before installing calibre: $ python3 -c 'import mailcap; print(mailcap.findmatch(mailcap.getcaps(),"application/vnd.openxmlformats-officedocument.wordprocessingml.document"))' ("soffice --nologo --writer '/dev/null'", {'view': "soffice --nologo --writer '%s'", 'edit': "soffice --nologo --writer '%s'", 'test': 'test -n "$DISPLAY"', 'description': '"Office Open XML Document"', 'nametemplate': '%s.docx', 'lineno': 651}) After installing calibre: python3 -c 'import mailcap; print(mailcap.findmatch(mailcap.getcaps(),"application/vnd.openxmlformats-officedocument.wordprocessingml.document"))' ('ebook-edit /dev/null', {'view': 'ebook-edit %s', 'test': 'test -n "$DISPLAY"', 'lineno': 86}) It seems that installing calibre leaves my /etc/mailcap in a state that makes ebook-edit the default program for opening docx files. I assume you agree that is undesirable when libreoffice is also installed? Thanks! cheers, josch -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386, armhf Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages calibre depends on: ii calibre-bin 3.39.1+dfsg-2 ii fonts-liberation 1:1.07.4-7 ii imagemagick 8:6.9.10.23+dfsg-2 ii imagemagick-6.q16 [imagemagick] 8:6.9.10.8+dfsg-1 ii libjpeg-turbo-progs 1:1.5.2-2+b1 ii libjs-coffeescript 1.12.8~dfsg-1 ii libjs-mathjax 2.7.4+dfsg-1 ii optipng 0.7.7-1 ii poppler-utils 0.63.0-2 ii python-apsw 3.16.2-r1-2+b2 ii python-chardet 3.0.4-1 ii python-cherrypy3 8.9.1-2 ii python-css-parser 1.0.4-1 ii python-cssselect 1.0.3-1 ii python-cssutils 1.0.2-1 ii python-dateutil 2.6.1-1 ii python-dbus 1.2.8-2+b1 ii python-feedparser 5.2.1-1 ii python-html5-parser 0.4.4-1+b1 ii python-html5lib 1.0.1-1 ii python-lxml 4.2.3-1 ii python-markdown 2.6.9-1 ii python-mechanize 1:0.2.5-3 ii python-msgpack 0.5.6-1+b1 ii python-netifaces 0.10.4-1+b1 ii python-pil 5.2.0-2 ii python-pkg-resources 39.2.0-1 ii python-pyparsing 2.2.0+dfsg1-2 ii python-pyqt5 5.11.3+dfsg-1+b3 ii python-pyqt5.qtsvg 5.11.3+dfsg-1+b3 ii python-pyqt5.qtwebkit 5.11.3+dfsg-1+b3 ii python-regex 0.1.20180609-1+b1 ii python-routes 2.4.1-1 ii python2.7 2.7.15-4 ii xdg-utils 1.1.3-1 Versions of packages calibre recommends: pn python-dnspython <none> Versions of packages calibre suggests: pn python-unrardll <none> -- debconf-show failed