Package: element-desktop
Version: 1.7.18
Severity: normal

Setting up element-desktop (1.7.18) ...
/var/lib/dpkg/info/element-desktop.postinst: line 10: update-desktop-database: 
command not found

I got the above when I upgraded this package.

Reading the postinst script you have || true after the command so you
obviously planned for the case of it not existing.  Why not do something
like the following?

[ -x /usr/bin/update-desktop-database ] && /usr/bin/update-desktop-database 
/usr/share/applications

-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-13-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Enforcing - Policy name: default

Versions of packages element-desktop depends on:
ii  libappindicator3-1  0.4.92-7
ii  libatspi2.0-0       2.30.0-7
ii  libgtk-3-0          3.24.5-1
ii  libnotify4          0.7.7-4
ii  libnss3             2:3.42.1-1+deb10u3
ii  libsecret-1-0       0.18.7-1
ii  libsqlcipher0       3.4.1-1+b12
ii  libuuid1            2.33.1-0.1
ii  libxss1             1:1.2.3-1
ii  libxtst6            2:1.2.3-1
ii  xdg-utils           1.1.3-1+deb10u1

element-desktop recommends no packages.

element-desktop suggests no packages.

-- debconf-show failed

Reply via email to