cannot upgrade nor install packages

hello guys, when I run apt update its updating succesfuly.
but when i try upgrade its promting the following error


apt upgrade is unsafe on rolling release distributions.

using apt full-upgrade instead

use apt upgrade --force to override

Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
parrot-interface-common : Depends: parrot-updater but it is not installed
Recommends: libnotify-send but it is not installable
Recommends: alsa-base but it is not installable
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).


then i tried the command "apt --fix-broken install’ and it also prompts the following error


(Reading database … 508153 files and directories currently installed.)
Preparing to unpack …/parrot-updater_0.4.1_all.deb …
Unpacking parrot-updater (0.4.1) …
dpkg: error processing archive /var/cache/apt/archives/parrot-updater_0.4.1_all.deb (–unpack):
trying to overwrite ‘/usr/bin/parrot-upgrade’, which is also in package parrot-update-manager 3.3+parrot10
Errors were encountered while processing:
/var/cache/apt/archives/parrot-updater_0.4.1_all.deb
Configuring sandbox profiles…
Sandbox profiles updated!


i have tried installing parrot-updater with no success, its prompting the same error as with the ‘apt --fix-broken install’
so far i cant install any package using the command line cause ts prompting the same error, any help i will highly appreciate

sudo apt update
then
sudo apt dist-upgrade

1 Like

Hello friend!!! Tried to purge parrot-updater… And install again???

1 Like

dpkg --configure -a
apt clean
apt update
apt full-upgrade

2 Likes

thanks alot guys
problem solved

1 Like

so here is how I solved the problem
i run the following command:

sudo dpkg -i --force-overwrite /var/cache/apt/archives/parrot-updater_0.4.1_all.deb

and this solved the problem completly.
Thanks all

3 Likes