Unable to install softwares...

Hello Parrot os experts,

I have been using Parrot sec os for some days without any issues.
But for 4 days I am facing a problem that I cannot install any software on my PC…
The screenshots of the pop-up showing the description…

I was trying to install My-SQL and it was not done after that I am unable to install any other software.


  • Parrot version in use :

  • Logs/Terminal output (use pastebin or similar services):

  • Screenshots:

.
.

When I run sudo gynaptic and reinstall broken dependencies then:

.
.

After running sudo apt-get install -f :



┌─[srj@parrot]─[~]
└──╼ $sudo apt-get install -f
[sudo] password for srj: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  galera-4 libconfig-inifiles-perl libdbd-mariadb-perl libdbi-perl
  libhtml-template-perl libmariadb3 mariadb-common mysql-community-client-core
  mysql-community-client-plugins
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  mysql-cluster-community-client-core mysql-cluster-community-client-plugins
E: Could not get lock /var/cache/apt/archives/lock. It is held by process 101347 (synaptic)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/cache/apt/archives/
┌─[✗]─[srj@parrot]─[~]
└──╼ $

.
.
After using sudo apt autoremove :

┌─[✗]─[srj@parrot]─[~]
└──╼ $sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mysql-cluster-community-client : Depends: mysql-cluster-community-client-core (= 8.0.33-1debian10) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

.
.
.
Please help me with my issue…

Thanks…

-SRJ

Hi @SRJ

Debian distros (at least rolling) appear not to support MySQL anymore. Hope someone can correct me on that. Else you will need to purge the MySQL packages, probably along the lines of

sudo apt purge mysql*

Thanks for your reply sir/ Mam,

I understood it but I am unable to install any other software.
I tried much more software all are showing the same error…

I tried

sudo apt purge mysql*

But still, the issue is not solved…

┌─[✗]─[srj@parrot]─[~/Desktop]
└──╼ $sudo apt purge mysql
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'mysql' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mysql-cluster-community-client : Depends: mysql-cluster-community-client-core (= 8.0.33-1debian10) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
┌─[✗]─[srj@parrot]─[~/Desktop]
└──╼ $sudo apt purge mysql*
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package mysql.deb
E: Couldn't find any package by glob 'mysql.deb'

My software is located in Desktop folder & its name is MySQL (I have renamed it.)

(Keep in mind that MySQL apparently won’t work on Parrot, so you may want to think of using a distro that supports MySQL out of the box if needed for study/work/hobby.)

This may work to fix the broken install:

sudo dpkg --force-all --remove mysql-cluster-community-client

Thanks for your reply sir,

I understand that I can’t run MySQL on Parrot os Thanks for this information…

Sir your provided command did something but my issue is not solved…

It still shows:

┌─[✗]─[srj@parrot]─[~]
└──╼ $sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mysql-client : Depends: mysql-cluster-community-client (= 8.0.33-1debian10) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Kindly reply…

once again Thanks!!!

-SRJ

did you try the suggested fix by the package manager?

sudo apt --fix-broken install