Menu

VeraCrypt can not be installed in Ubuntu 24.04 LTS

2024-04-29
2025-01-19
  • Vajra Vrtti

    Vajra Vrtti - 2024-04-29

    VeraCrypt can not be installed in Ubuntu 24.04 LTS due to unfulfilled dependencies.

     
  • Vajra Vrtti

    Vajra Vrtti - 2024-04-29

    From veracrypt-1.26.7-Ubuntu-23.04-amd64.deb:

    Depends: libwxgtk3.2-1, libayatana-appindicator3-1, libfuse2, dmsetup, sudo, libpcsclite1, pcscd

    libwxgtk3.2-1 became libwxgtk3.2-1t64 (not installed)
    libfuse2 became libfuse2t64

    libayatana-appindicator3-1 OK
    dmsetup OK
    sudo OK
    libpcsclite1 OK
    pcscd OK (not installed)

     
  • Chris

    Chris - 2024-12-25

    I'm new to Linux & Ubuntu. Just tried to install Veracrypt but it failed with errors as shown in attached snapshot. Is there a way around this?

     

    Last edit: Chris 2024-12-25
  • Mounir IDRASSI

    Mounir IDRASSI - 2024-12-25

    @chrisj7903: to install VeraCrypt package on Ubuntu, please type the following:

    sudo apt install ./veracrypt-1.26.14-Ubuntu-24.04-amd64.deb
    

    This will take care of all dependencies automatically.

     
  • Chris

    Chris - 2024-12-25

    Thanks for the suggestion @idrassi, but sadly it didn't go smoothliy ... see the two snapshots attached

     

    Last edit: Chris 2024-12-25
  • Chris

    Chris - 2024-12-25

    oops, here's the subsequent snapshot

     
  • Chris

    Chris - 2024-12-25

    Just realised I'm using Ubuntu 22.04.5 LTS not 24.04 ... doh!
    I'll try again but it's late here, so tomorrow

     
  • Mounir IDRASSI

    Mounir IDRASSI - 2024-12-25

    Indeed, this explains the problem.

     
  • Chris

    Chris - 2024-12-25

    success!
    although I did get what looks like a minor warning at the end (see snapshot)
    What does unsandboxed mean?

     
  • Mounir IDRASSI

    Mounir IDRASSI - 2024-12-26

    The warning occurs because the .deb file was downloaded to a directory where the _apt user (used by the package manager for security) doesn't have access. "Unsandboxed" means the installation was performed with elevated privileges (as root) without the usual isolation that protects the system during package handling.

    Essentially, the apt command expects the .deb file to be in /var/cache/apt/archives and under root protection.

    This warning is harmless in this case but if you want to fix it, follow these steps:

    1. Set correct permissions:
      sudo chmod 644 /home/cj/Downloads/veracrypt-1.26.14-Ubuntu-22.04-amd64.deb

    2. Set correct ownership:
      sudo chown root:root /home/cj/Downloads/veracrypt-1.26.14-Ubuntu-22.04-amd64.deb

    3. Move the file to the APT cache directory:
      sudo cp /home/cj/Downloads/veracrypt-1.26.14-Ubuntu-22.04-amd64.deb /var/cache/apt/archives

    4. Install the package from the expected location:
      sudo apt install /var/cache/apt/archives/veracrypt-1.26.14-Ubuntu-22.04-amd64.deb

    These steps will remove the warning.

     
  • Chris

    Chris - 2024-12-26

    Excellent info, thanks. I'll stick with my harmless-as-is install :-)

    Are those extra steps unique to veracrypt install, or recommended for all usage of "sudo apt install" ? I've done a number of app / program installs on my new machine using "sudo apt install", but was never directed to do steps like those.

     

    Last edit: Chris 2024-12-26
  • Chris

    Chris - 2025-01-19

    Can I update to 24.04 LTS yet? Has this issue been resolved in the meantime?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.