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:
Set correct permissions: sudo chmod 644 /home/cj/Downloads/veracrypt-1.26.14-Ubuntu-22.04-amd64.deb
Set correct ownership: sudo chown root:root /home/cj/Downloads/veracrypt-1.26.14-Ubuntu-22.04-amd64.deb
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
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
VeraCrypt can not be installed in Ubuntu 24.04 LTS due to unfulfilled dependencies.
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)
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
@chrisj7903: to install VeraCrypt package on Ubuntu, please type the following:
This will take care of all dependencies automatically.
PS: For those arriving here via a search engine, the Ubuntu 24.04 package can be downloaded from the following links:
Thanks for the suggestion @idrassi, but sadly it didn't go smoothliy ... see the two snapshots attached
Last edit: Chris 2024-12-25
oops, here's the subsequent snapshot
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
Indeed, this explains the problem.
success!
although I did get what looks like a minor warning at the end (see snapshot)
What does unsandboxed mean?
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:
Set correct permissions:
sudo chmod 644 /home/cj/Downloads/veracrypt-1.26.14-Ubuntu-22.04-amd64.deb
Set correct ownership:
sudo chown root:root /home/cj/Downloads/veracrypt-1.26.14-Ubuntu-22.04-amd64.deb
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
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.
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
Can I update to 24.04 LTS yet? Has this issue been resolved in the meantime?