Cannot install linux version: veracrypt-uninstall.sh has bug
I was downloaded veracrypt-1.25.9-Ubuntu-22.04-amd64.deb and also console version. I do not know there is oposition in these two version. I was installed console first and after that I tried to install GUI version. OK, I prefer GUI version. So I run /usr/bin/veracrypt-uninstall.sh and it was successfu! After that I tried to install GUI version. But cannot install, deb package is still see somewhere veracrypt-console. Installation is aborted.
Expected behavior
after using veracrypt-uninstall.sh to have clean system
Observed behavior
sudo dpkg -i veracrypt-1.25.9-Ubuntu-22.04-amd64.deb
dpkg: regarding veracrypt-1.25.9-Ubuntu-22.04-amd64.deb containing veracrypt:
veracrypt conflicts with veracrypt-console
veracrypt-console (version 1.25.9-1) is present and installed.
dpkg: error processing archive veracrypt-1.25.9-Ubuntu-22.04-amd64.deb (--install):
conflicting packages - not installing veracrypt
Errors were encountered while processing:
veracrypt-1.25.9-Ubuntu-22.04-amd64.deb
find on whole disk found:
/var/lib/dpkg/info/veracrypt-console.md5sums
/var/lib/dpkg/info/veracrypt-console.prerm
/var/lib/dpkg/info/veracrypt-console.list
/var/log/dpkg.log is nearly empty, no relevant info.
Steps to reproduce
- install console deb first
- running veracrypt-uninstall.sh
- try to install veracrypt.deb (GUI)
- see aborted install
- after OS reboot is same situation
Your Environment
Please tell us more about your environment
VeraCrypt version: veracrypt-1.25.9-Ubuntu-22.04-amd64.deb
Operating system and version: ubuntu mate 22.04.1 LTS jammy
System type: 64bit
Ran into this same issue today. After searching the system the same way you @jerry-ne did, I wasn't able to find any left over artifacts. I moved over to thinking it had to dpkg issues, and it was.
Running sudo dpkg-query -l , I saw that even after running the uninstall script, dpkg still had it as an installed package.
I ran dpkg -r veracrypt-console and was able to get it removed.
Once that was done, I had to reinstall a dependency (libwxgtk3.0-gtk3-0v5) with sudo apt-get install libwxgtk3.0-gtk3-0v5.
Then sudo dpkg -i ./veracrypt-1.25.9-Ubuntu-20.04-amd64.deb and it worked after that.
Thank you @strykethru : it works!
I had the same problem, thanks for the solution