Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Mint 21.3 - Installation Dependency Problems Prevent Configuration of Veracrypt 1.26.7-1 #1340

Open
markatgh opened this issue May 13, 2024 · 2 comments
Labels

Comments

@markatgh
Copy link

I made a new install of Linux Mint 21.3 Xfce, which I understand is based on Ubuntu 22.04.
I got 2 dependency errors during the installation of what I believe is the latest version of Veracrypt (GUI) for Ubuntu 22.04.
The dependency issue wrt libwxgtk3 with Debian was addressed in #1046: #1046
There are a couple of posts in early 2024 about LM 21.1 and 21.3, but seemingly with the Debian releases/packages.
I found a potential "work-around," but I'm a Linux newb and don't know if it'll cause issues with the os and/or other installations.

Expected behavior

I expected Veracrypt to run (as it runs on Windows 10/11 and other versions of Linux Mint).

Observed behavior

Installation from .deb completed, but Veracrypt did not run.

Steps to reproduce

  1. Downloaded veracrypt-1.26.7-Ubuntu-22.04-amd64.deb from https://www.veracrypt.fr/en/Downloads.html
  2. Ran "sudo dpkg -i veracrypt-1.26.7-Ubuntu-22.04-amd64.deb"
$ sudo dpkg -i veracrypt-1.26.7-Ubuntu-22.04-amd64.deb
Selecting previously unselected package veracrypt.
(Reading database ... 562944 files and directories currently installed.)
Preparing to unpack veracrypt-1.26.7-Ubuntu-22.04-amd64.deb ...
Unpacking veracrypt (1.26.7-1) ...
dpkg: dependency problems prevent configuration of veracrypt:
 veracrypt depends on libwxgtk3.0-gtk3-0v5; however:
  Package libwxgtk3.0-gtk3-0v5 is not installed.
 veracrypt depends on pcscd; however:
  Package pcscd is not installed.

dpkg: error processing package veracrypt (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for desktop-file-utils (0.26+mint3+victoria) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for shared-mime-info (2.1-2) ...
Errors were encountered while processing:
 veracrypt

Your Environment

Distro: Linux Mint 21.3 Virginia base: Ubuntu 22.04 jammy
Intel Core2 Duo T7300 bits: 64 type

(I'm a Linux newb. Hopefully the following is useful....)
$ dpkg -l libgtk-3-0
||/ Name Version Architecture Description
+++-=================-==================-============-==================================================
ii libgtk-3-0:amd64 3.24.33-1ubuntu2.1 amd64 GTK graphical user interface library

Other Later Notes

To install pcscd, I found this link: https://ubuntu.com/server/docs/smart-card-authentication
Ran "sudo apt install opensc-pkcs11 pcscd sssd libpam-sss," which error'd, so then ran "apt --fix-broken install."
pcscd was "loaded" and was "active/running," but perhaps after starting Veracrypt.
||/ Name Version Architecture Description
ii libwxgtk3.0-gtk3-0v5:amd64 3.0.5.1+dfsg-4 amd64 wxWidgets Cross-platform C++ GUI toolkit (GTK 3 runtime)
Veracrypt GUI started. So far, no other issues.

$ sudo apt install opensc-pkcs11 pcscd sssd libpam-sss
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libpam-sss : Depends: libpam-pwquality (>= 1.2.2-1) but it is not going to be installed
 pcscd : Depends: libccid but it is not going to be installed or
                  pcsc-ifd-handler
 sssd : Depends: python3-sss (= 2.6.3-1ubuntu3.2) but it is not going to be installed
        Depends: sssd-ad (= 2.6.3-1ubuntu3.2) but it is not going to be installed
        Depends: sssd-common (= 2.6.3-1ubuntu3.2) but it is not going to be installed
        Depends: sssd-ipa (= 2.6.3-1ubuntu3.2) but it is not going to be installed
        Depends: sssd-krb5 (= 2.6.3-1ubuntu3.2) but it is not going to be installed
        Depends: sssd-ldap (= 2.6.3-1ubuntu3.2) but it is not going to be installed
        Depends: sssd-proxy (= 2.6.3-1ubuntu3.2) but it is not going to be installed
 veracrypt : Depends: libwxgtk3.0-gtk3-0v5 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
$ apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libccid libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 pcscd
The following NEW packages will be installed:
  libccid libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 pcscd
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 5,391 kB of archives.
After this operation, 19.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libwxbase3.0-0v5 amd64 3.0.5.1+dfsg-4 [881 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libwxgtk3.0-gtk3-0v5 amd64 3.0.5.1+dfsg-4 [4,368 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libccid amd64 1.5.0-2 [83.1 kB]            
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 pcscd amd64 1.9.5-3ubuntu1 [58.1 kB]
Fetched 5,391 kB in 7s (771 kB/s)                                                                      
Selecting previously unselected package libwxbase3.0-0v5:amd64.
(Reading database ... 563402 files and directories currently installed.)
Preparing to unpack .../libwxbase3.0-0v5_3.0.5.1+dfsg-4_amd64.deb ...
Unpacking libwxbase3.0-0v5:amd64 (3.0.5.1+dfsg-4) ...
Selecting previously unselected package libwxgtk3.0-gtk3-0v5:amd64.
Preparing to unpack .../libwxgtk3.0-gtk3-0v5_3.0.5.1+dfsg-4_amd64.deb ...
Unpacking libwxgtk3.0-gtk3-0v5:amd64 (3.0.5.1+dfsg-4) ...
Selecting previously unselected package libccid.
Preparing to unpack .../libccid_1.5.0-2_amd64.deb ...
Unpacking libccid (1.5.0-2) ...
Selecting previously unselected package pcscd.
Preparing to unpack .../pcscd_1.9.5-3ubuntu1_amd64.deb ...
Unpacking pcscd (1.9.5-3ubuntu1) ...
Setting up libccid (1.5.0-2) ...
Setting up pcscd (1.9.5-3ubuntu1) ...
Created symlink /etc/systemd/system/sockets.target.wants/pcscd.socket → /lib/systemd/system/pcscd.socket
.
pcscd.service is a disabled or a static unit, not starting it.
Setting up libwxbase3.0-0v5:amd64 (3.0.5.1+dfsg-4) ...
Setting up libwxgtk3.0-gtk3-0v5:amd64 (3.0.5.1+dfsg-4) ...
Setting up veracrypt (1.26.7-1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.7) ...
@Jertzukka
Copy link
Contributor

As the error message says, you're missing packages which the program depends on. Run:

sudo apt install libwxgtk3.0-gtk3-0v5 pcscd
sudo apt --fix-broken install

Or download the generic installer and run veracrypt-1.26.7-setup-gtk3-gui-x64 script which should work on any distro.

@markatgh
Copy link
Author

I'll definitely use the installer the next time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants