Hi
I try to use Zorin 16.2 on a intel pc. The computer is generally offline.
I downloaded veracrypt-console-1.25.9-Ubuntu-20.04-amd64.deb by my Win10 pc and tried to install it, but I failed.
Installation starts, but it does not finish. It hangs up during installing. Propably I am missing some dependencies. But which one and how can I get them? Remember the computer is offline.
Thanks
It looks like libwxbase3.0-0v5
and
libwxgtk3.0-gtk3-0v5
are needed.
I determined this by grabbing a wget
of veracrypt-1.24-Update7-Ubuntu-20.04-amd64.deb
and launching the .deb in gdebi. I may already have other dependencies installed that you do not... so this is kind of a shot in the dark.
Here are the .deb packages for the two above:
http://archive.ubuntu.com/ubuntu/pool/universe/w/wxwidgets3.0/libwxbase3.0-0v5_3.0.4+dfsg-15build1_amd64.deb
If the two above .debs either have missing dependencies
OR
installing them is fine, but then veracrypt has other needed dependencies...
Then I highly recommend checking if you can connect that offline computer to the net using a Phone Hotspot or other means even temporarily if possible rather than pull your hair out chasing dependencies when One -y
terminal command would take care of all of that for you.
Thanks, but it did not help.
It seems to be a general problem installing something:
The computer would be able to get access to the internet. That is not the problem. I just want not it to have access. It should be part of an internal network, where I am using WinXP. I don't want them to have on internet...
I can certainly understand this. I must ask though, would a brief connection while logged in on Zorin (In which case, WinXp cannot access the net at all) be acceptable?
It may make your life a lot easier on resolving this issue.
Well this would be certainly possible. But this is not my intension. I don't want to connect this machine each time to the internet, when I want something to change.
If it is not possible to do it offline, I install Win7 and i am fine. But this not a solution for the future too, I know.
You see, it is not easy with me.
I really can only address this one time event. I cannot comment on "each time" since those are different events and you may have different results.
If this was me... What I would do is connect Zorin OS to the net and immediately get it set up with all of my desired software that one time.
Take care of any troubleshooting or needed updates - that everything is working.
Then disconnect from the net and leave it that way.
It is possible that in future, you may wish to install something new and it is also possible that can be done with a USB and transferred .deb package without the hassle that VeraCrypt is currently giving you.
I have been a Windows user the majority of my life and I know that .exe files often need to download dependencies, too.
I cannot readily work with "General unknown error" very easily, either. Troubleshooting can take some work and it can require additional packages, even.
Perhaps with some time, a game plan can be made that you can allot for getting the system up, secured, everything installed and configured in One Go.
Perhaps it would be better and easier to build a virtual machine, take a snapshot with all the programs and configurations you need, and run that in your air-gapped computer. That way you can easily reproduce the same environment without an internet connection, provided you have virtualization enabled.
If you ever need to change something, download it on the virtual machine, run whatever sanity checks you need to run to ensure everything is up to standards, and repeat the same process of creating new ISO, destroy the previous virtual machine and deploy a new one.
Well, I resigned and connected it to the net. After installing the necessary repository ( sudo add-apt-repository ppa:unit193/encryption -y) it worked.
But what a headache. It installed several additional features too. Not worth to try it manually. Which means if I would like to have a second computer with the same settings, I need to connect that to the internet too. That's not handsome.
In my opinion completly user unfriendly. I never will know which files will be installed. If i need to reinstall something, I can't be sure it will work again, because there is maybe a buggy update.
You can be, due to the dependencies already having been installed the first time.
Also, please be sure to read @zenzen 's excellent suggestion above:
I really cannot agree with this sentiment. You are employing a very restrictive set of parameters on how you want this machine to be run. It is not reasonable to state that the Operating System is completely not user friendly given your stringent restrictions.
You are asking that it be able to retrieve any packages needed while also keeping it completely offline. This is not a reasonable expectation for any operating system in the world.
Let's try to be fair and even-handed here.
I wish I could like this post more than once.
I am used to work in a restricted environment. Each change means new validation process and new certification. This means as long as you do not have to change something, you won't. And do everything always the same way, even you know there are better ways.
And now I have to deal with software packages which version I cannot define. This is a completely not reproducible process. Not what I am used to.
Anyhow, thank you for your support.
The versions can be identified and defined based on their version or release number.
All packages have dependencies. As an example, every single package you have installed that has a GUI frontend depends on Xorg and Window Manager.
This is true across all operating systems. Even the most complex and well assembled package will still have dependencies on other system components, whether it be drivers or support software or libraries.
This process is reproducible because these depends
file are consistent. They do not change from one download or a different download.
You can extract any .deb package and then review the depends
file in order to gather a list of all dependencies that may be needed. This is one thing I really like about Linux over Windows, is how very easy it is to note dependencies on Linux.
I rely heavily on pkgs.org for locating and installing missing dependencies or packages. Or as a resource for gathering information.
Where you ran into difficulties was that you were installing software without allowing access to fulfill any dependencies. That can create a frustrating and hair pulling situation.
This post is intended to be helpful and to promote understanding of the issue that is troubling you.
You can run dpkg -I <package>
to see information about the package, including dependencies. For example:
$ dpkg -I veracrypt-1.25.9-Ubuntu-20.04-amd64.deb
new Debian package, version 2.0.
size 6576248 bytes: control archive=7679 bytes.
401 bytes, 12 lines control
20265 bytes, 230 lines md5sums
162 bytes, 9 lines prerm #!/bin/sh
Architecture: amd64
Conflicts: veracrypt-console
Depends: libwxgtk3.0-gtk3-0v5, libayatana-appindicator3-1, libfuse2, dmsetup, sudo
Description: Disk encryption with strong security based on TrueCrypt.
Disk encryption with strong security based on TrueCrypt.
Maintainer: VeraCrypt Team <veracrypt@idrix.fr>
Package: veracrypt
Priority: optional
Section: libs
Version: 1.25.9-1
Installed-Size: 20680
Virtual machines are meant to overcome this exact issue.
You can also build from source, but then again you need to install other packages upfront for this.
Thank you very much to tell me how to see, which dependencies I have to install first and where to get them. If I get the time, I will try on a different pc to install that offline.