Unable to install generic package
Open source disk encryption with strong security for the Paranoid
Brought to you by:
idrassi
when downloading veracrypt-1.26.29-setup.tar.bz2 and executing veracrypt-1.26.29-setup-console-x64 i get 2 options, from which i choose "Install veracrypt_1.26.29_console_amd64.tar.gz", than i confirm the terms and conditions. and than i get the error:
...
usr/share/veracrypt/languages/Language.th.xml
usr/share/veracrypt/languages/Language.tr.xml
usr/share/veracrypt/languages/Language.uk.xml
usr/share/veracrypt/languages/Language.uz.xml
usr/share/veracrypt/languages/Language.vi.xml
usr/share/veracrypt/languages/Language.zh-cn.xml
usr/share/veracrypt/languages/Language.zh-hk.xml
usr/share/veracrypt/languages/Language.zh-tw.xml
./veracrypt_install_console_x64.sh: 1100: update-desktop-database: not found
Thank you for the report.
This message comes from a post-install desktop/MIME cache refresh command (
update-desktop-database) used by the generic Linux installer. This command is provided by thedesktop-file-utilspackage and may be absent on minimal or headless systems.For the console package, this cache refresh is not required. The actual file extraction/install step has already completed before this command is run, so VeraCrypt should be installed despite this warning. Please check with:
veracrypt --text --versionor:
/usr/bin/veracrypt --text --versionAs a workaround, installing
desktop-file-utilswill remove this warning:Debian / Ubuntu / Linux Mint / Kali:
sudo apt update && sudo apt install desktop-file-utilsFedora / RHEL / CentOS / Rocky Linux / AlmaLinux:
sudo dnf install desktop-file-utilsOlder RHEL / CentOS systems:
openSUSE / SUSE:
sudo zypper install desktop-file-utilsArch Linux / Manjaro / EndeavourOS:
sudo pacman -S desktop-file-utilsAlpine Linux:
sudo apk add desktop-file-utilsThis package shouldn't be required for the console installer, so I will adjust the generic installer scripts so desktop/MIME cache update commands are only run when relevant and only if the commands are available. The same guard will also be applied to uninstall scripts.
Installing desktop-file-utils did fix it. thanks
Thanks for the confirmation.
I have pushed a commit to fix this warning: https://sourceforge.net/p/veracrypt/code/ci/8f7c820bbd4aa6ef89ea6f64d4bd3962f132834a/