VeraCrypt icon indicating copy to clipboard operation
VeraCrypt copied to clipboard

Cannot install linux version: veracrypt-uninstall.sh has bug

Open jerry-ne opened this issue 3 years ago • 3 comments

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

  1. install console deb first
  2. running veracrypt-uninstall.sh
  3. try to install veracrypt.deb (GUI)
  4. see aborted install
  5. 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

jerry-ne avatar Oct 19 '22 16:10 jerry-ne

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.

ROBot-BBAM avatar Jan 24 '23 19:01 ROBot-BBAM

Thank you @strykethru : it works!

jerry-ne avatar Jan 24 '23 19:01 jerry-ne

I had the same problem, thanks for the solution

xvs03 avatar Jun 22 '24 22:06 xvs03