Menu

Request help to fix the mess involving sudo dpkg -i veracrypt-1.26.14-Debian-12-amd64.deb

2024-12-02
2024-12-26
  • Vencent Valerian

    Hi

    I am using Debian 12 and in a terminal, I typed the below command:

    sudo dpkg -i veracrypt-1.26.14-Debian-12-amd64.deb

    I received the below error message:

    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies:
     veracrypt : Depends: libwxgtk3.2-1 but it is not going to be installed
                 Depends: libayatana-appindicator3-1 but it is not going to be installed
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
    

    I tried the following commands to clear apt cache:

    sudo apt clean
    sudo apt autoclean
    

    And I rebooted my computer.

    The above commands did not help because when I tried to install any package from Debian's official repositories, I have the same error message about Veracrypt's unmet dependencies.

    For example, when I tried to install the package gdebi

    The below error message appeared:

    username@hostname:~$ sudo apt install gdebi
    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:
     gdebi : Depends: gdebi-core (= 0.9.5.7+nmu6) but it is not going to be installed
             Depends: gir1.2-vte-2.91 but it is not going to be installed
             Depends: gnome-icon-theme but it is not going to be installed
             Recommends: libgtk2-perl but it is not installable
             Recommends: lintian but it is not going to be installed
     veracrypt : Depends: libwxgtk3.2-1 but it is not going to be installed
                 Depends: libayatana-appindicator3-1 but it is not going to be installed
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
    username@hostname:~$ 
    

    I would appreciate it if someone could help me fix the above issue. Thanks.

     
  • Vencent Valerian

    I wish to answer the question asked in my original post.

    One of my colleagues suggested the following command:

    sudo apt purge veracrypt

    My knowledge of Debian and how it works is at best rudimentary.

    Based on this event, I can tell that veracrypt is installed when I used sudo dpkg -i name-of-deb-file but isn't functional because of unmet dependencies.

    The only way to get rid of the nagging error message is to purge the installed veracrypt.

    Suggestion to the website administrator

    It would be helpful to users of Veracrypt to insert a footnote to https://veracrypt.fr/en/Downloads.html stating that people who wish to install .deb files (for example veracrypt-1.26.14-Debian-12-amd64.deb) should use the package gdebi or gdebi-core in Debian's official repositories. A warning should be issued to avoid using the command sudo dpkg -i to install .deb files.

     
  • morton

    morton - 2024-12-19

    t would be helpful to users of Veracrypt to insert a footnote to https://veracrypt.fr/en/Downloads.html stating that people who wish to install .deb files (for example veracrypt-1.26.14-Debian-12-amd64.deb) should use the package gdebi or gdebi-core in Debian's official repositories.

    It may be installed in some other way, not only with gdebi, -- apt install package or apt-get install package or using aptitiude. It is a common knowledge that dpkg only installs a package and notify of any dependencies need to be installed, but it will not install them. It is general for any package not only for veracrypt.deb.

     
    • Vencent Valerian

      @morton-f

      I would appreciate it if you could think carefully about what you are writing before posting your reply such as the one above.

      Every Debian user knows what sudo apt install package or sudo apt-get install package does.

      For your information, Veracrypt is unavailable as a package in Debian's official repos.

       
  • morton

    morton - 2024-12-26

    Every Debian user knows what sudo apt install package or sudo apt-get install package does.
    For your information, Veracrypt is unavailable as a package in Debian's official repos.

    Probably every Debian user knows that pkg in the apt install command takes path, along with other package attributes. So apt install ./veracrypt or apt install /path/veracrypt will install local file taking care of dependencies in the same way as gdebi.
    And it is a well known fact that no major Linux distribution has VeraCrypt in its repositories.

     

Log in to post a comment.

MongoDB Logo MongoDB