Repository corrupt - can't install veracrypt

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Rhys_
Level 1
Level 1
Posts: 9
Joined: Sun Sep 12, 2021 11:59 am

Repository corrupt - can't install veracrypt

Post by Rhys_ »

1. I installed veracrypt
2. I uninstalled veracrypt and the uninstalling runs forever, so I killed it.
3. I tried to install veracrypt again:
$ sudo apt-get install veracrypt
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
E: Paket veracrypt kann nicht gefunden werden.

(translation: veracrypt package not found

I refreshed the package resources but it does not work.
What can I do to repair the veracrypt package?

Kernel: 5.4.0-89-generic x86_64 bits: 64 Desktop: Cinnamon 5.0.6 Distro: Linux Mint 20.2 Uma
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
gittiest personITW
Level 12
Level 12
Posts: 4285
Joined: Tue May 28, 2019 4:27 pm

Re: Repository corrupt - can't install veracrypt

Post by gittiest personITW »

Could you try installing it via the ppa?


sudo add-apt-repository ppa:unit193/encryption
sudo apt-get update
sudo apt install veracrypt
t42
Level 11
Level 11
Posts: 3734
Joined: Mon Jan 20, 2014 6:48 pm

Re: Repository corrupt - can't install veracrypt

Post by t42 »

VeraCrypt is not integrated into the system. Uninstallation is limited to removing VeraCrypt files from the system. If left "installed" it has no difference.

What uninstaller removes:

Code: Select all

rm -f /usr/bin/veracrypt
rm -f /usr/share/applications/veracrypt.desktop
rm -f /usr/share/pixmaps/veracrypt.xpm
rm -fr /usr/share/veracrypt
rm -fr /usr/share/doc/veracrypt
rm -f /usr/bin/veracrypt-uninstall.sh
So you can check if these files are still there.
-=t42=-
t42
Level 11
Level 11
Posts: 3734
Joined: Mon Jan 20, 2014 6:48 pm

Re: Repository corrupt - can't install veracrypt

Post by t42 »

The need in VeraCrypt installation is exaggerated. it can be unpacked from generic installer to anywhere and started from there, for example ~/Bin/vc-1.24-Update7/usr/bin/veracrypt . I usually run it from USB. The idea of plausible deniability is not going well together with the installed cryptographic tools.
-=t42=-
User avatar
MikeNovember
Level 7
Level 7
Posts: 1856
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: Repository corrupt - can't install veracrypt

Post by MikeNovember »

Hi,

Download the official deb for Ubuntu 20.04 / Mint 20.x:https://launchpad.net/veracrypt/trunk/1 ... -amd64.deb.

Once downloaded, in the file manager right click on the file, then install with gdebi.

Regards,

MN
_____________________________
Linux Mint 21.3 Mate host with Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD).
t42
Level 11
Level 11
Posts: 3734
Joined: Mon Jan 20, 2014 6:48 pm

Re: Repository corrupt - can't install veracrypt

Post by t42 »

regarding above:

Code: Select all

wget https://www.idrix.fr/VeraCrypt/VeraCrypt_PGP_public_key.asc
wget https://launchpad.net/veracrypt/trunk/1.24-update7/+download/veracrypt-1.24-Update7-Ubuntu-20.04-amd64.deb
wget https://launchpad.net/veracrypt/trunk/1.24-update7/+download/veracrypt-1.24-Update7-Ubuntu-20.04-amd64.deb.sig
gpg --import VeraCrypt_PGP_public_key.asc
gpg --verify veracrypt-1.24-Update7-Ubuntu-20.04-amd64.deb.sig
expected output

Code: Select all

gpg --verify veracrypt-1.24-Update7-Ubuntu-20.04-amd64.deb.sig
gpg: assuming signed data in 'veracrypt-1.24-Update7-Ubuntu-20.04-amd64.deb'
gpg: Signature made Sat 08 Aug 2020 09:23:12 PM EEST
gpg:                using RSA key 5069A233D55A0EEB174A5FC3821ACD02680D16DE
gpg: Good signature from "VeraCrypt Team (2018 - Supersedes Key ID=0x54DDD393) <veracrypt@idrix.fr>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 5069 A233 D55A 0EEB 174A  5FC3 821A CD02 680D 16DE
and then use gdebi or the sudo dpkg -i veracrypt-1.24-Update7-Ubuntu-20.04-amd64.deb command
-=t42=-
Rhys_
Level 1
Level 1
Posts: 9
Joined: Sun Sep 12, 2021 11:59 am

Re: Repository corrupt - can't install veracrypt

Post by Rhys_ »

Thank you very much for your fast anwers! :D
I checked the veracrypt files/folders of the first answers. Nothing found - that's fine.
The apt-get process was running. I killed the process and refreshed the repository but veracrypt is not available.
Ok, now I installed it with the script from t42.
VeraCrypt runs :!:
Thank you.
Locked

Return to “Software & Applications”