Parrot-upgrade : AnonSurf - dpkg error : parrot-privacy

*Briefly describe your issue below:
Anonsurf does not work on my system. I tried doing a full parrot-upgrade and it gives back dpkg errors (below) saying parrot-privacy was unable to install because anon surf is not installed … However in Synaptic both show as installed and current. (I only ran parrot-update from sudo terminal)

Parrot OS 4.9.1 > Updated on June 23rd Rolling Release : MATE

Persistent Encrypted live USB : fresh DD today, very stock, tested to assure the persistence worked and then ran the parrot-upgrade procedure

If there are any error messages or relevant logs, post them below:

Hit:1 https://deb.parrot.sh/parrot rolling InRelease
Hit:2 https://deb.parrot.sh/parrot rolling-security InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
dpkg: dependency problems prevent configuration of parrot-privacy:
 parrot-privacy depends on anonsurf; however:
  Package anonsurf is not installed.

dpkg: error processing package parrot-privacy (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 parrot-privacy
failed to fix interrupted upgrades
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 90.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://ftp.osuosl.org/pub/parrotos rolling/main amd64 anonsurf amd64 2.13.1+parrot0 [90.2 kB]
Fetched 90.2 kB in 1s (175 kB/s)
dpkg: dependency problems prevent configuration of parrot-privacy:
 parrot-privacy depends on anonsurf; however:
  Package anonsurf is not installed.

dpkg: error processing package parrot-privacy (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 parrot-privacy
Scanning application launchers
Removing duplicate launchers from Debian
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed to fix conflicts
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-headers-amd64 linux-image-amd64 python-cffi-backend
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0 B/90.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: dependency problems prevent configuration of parrot-privacy:
 parrot-privacy depends on anonsurf; however:
  Package anonsurf is not installed.

dpkg: error processing package parrot-privacy (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 parrot-privacy
Scanning application launchers
Removing duplicate launchers from Debian
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)```

please run sudo apt install anonsurf or sudo apt install anonsurf --reinstall and give output here

same error ::

$sudo apt install anonsurf
Reading package lists… Done
Building dependency tree
Reading state information… Done
anonsurf is already the newest version (2.13.1+parrot0).
anonsurf set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0 B/90.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
dpkg: dependency problems prevent configuration of parrot-privacy:
parrot-privacy depends on anonsurf; however:
Package anonsurf is not installed.

dpkg: error processing package parrot-privacy (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
parrot-privacy
Scanning application launchers
Removing duplicate launchers from Debian
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)
┌─[✗]─[user@parrot]─[~]
└──╼ $

and with the --reinstall flag :::

$sudo apt install anonsurf --reinstall
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0 B/90.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 446380 files and directories currently installed.)
Preparing to unpack .../anonsurf_2.13.1+parrot0_amd64.deb ...
Unpacking anonsurf (2.13.1+parrot0) over (2.13.1+parrot0) ...
rm: cannot remove '/etc/tor/torrc': No such file or directory
dpkg: warning: old anonsurf package post-removal script subprocess returned erro
r exit status 1
dpkg: trying script from the new package instead ...
rm: cannot remove '/etc/tor/torrc': No such file or directory
dpkg: error processing archive /var/cache/apt/archives/anonsurf_2.13.1+parrot0_a
md64.deb (--unpack):
 new anonsurf package post-removal script subprocess returned error exit status 
1
rm: cannot remove '/etc/tor/torrc': No such file or directory
dpkg: error while cleaning up:
 new anonsurf package post-removal script subprocess returned error exit status 
1
Errors were encountered while processing:
 /var/cache/apt/archives/anonsurf_2.13.1+parrot0_amd64.deb
Scanning application launchers
Removing duplicate launchers from Debian
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)
┌─[✗]─[user@parrot]─[~]
└──╼ $

TOR works fine when ran from Tor Browser
I also also noticed … the anonsurf start/stop script run and then the terminal window automatically goes away when done … If I remember before parrot-upgrade the terminal window stayed showing so I could see everything it did

do sudo touch /etc/tor/torrc and then run full-upgrade

did touch, the apt update, then apt full-upgrade ::: same error with parrot-privacy

Setting up parrot-interface-common (4.9+parrot10) …
dpkg: dependency problems prevent configuration of parrot-privacy:
parrot-privacy depends on anonsurf; however:
Package anonsurf is not installed.

dpkg: error processing package parrot-privacy (–configure):
dependency problems - leaving unconfigured
Setting up parrot-mate (4.9+parrot10) …
Setting up parrot-interface-full (4.9+parrot10) …
Setting up parrot-interface (4.9+parrot10) …
Processing triggers for desktop-file-utils (0.24-1) …
Processing triggers for mime-support (3.64) …
Processing triggers for man-db (2.9.2-1) …
Processing triggers for cracklib-runtime (2.9.6-3.2+b1) …
Processing triggers for bamfdaemon (0.5.4-2) …
Rebuilding /usr/share/applications/bamf-2.index…
Errors were encountered while processing:
parrot-privacy
Scanning application launchers
Removing duplicate launchers from Debian
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)
┌─[✗]─[user@parrot]─[~]
└──╼ $

So I tried running apt install anonsurf --reinstall AGAIN, and this time it seems to have worked and installed correctly (because torrc existed):

──╼ $sudo apt install anonsurf --reinstall
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following package was automatically installed and is no longer required:
snapd
Use ‘sudo apt autoremove’ to remove it.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0 B/90.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database … 446382 files and directories currently installed.)
Preparing to unpack …/anonsurf_2.13.1+parrot0_amd64.deb …
Unpacking anonsurf (2.13.1+parrot0) over (2.13.1+parrot0) …
Setting up anonsurf (2.13.1+parrot0) …
Setting up parrot-privacy (4.9) …
Processing triggers for desktop-file-utils (0.24-1) …
Processing triggers for mime-support (3.64) …
Processing triggers for man-db (2.9.2-1) …
Processing triggers for bamfdaemon (0.5.4-2) …
Rebuilding /usr/share/applications/bamf-2.index…
Scanning application launchers
Removing duplicate launchers from Debian
Launchers are updated

Thank you! unrelated, but while I have your attention. No matter how I erase the 'Install ParrotOS" from the desktop, (on my persistent usb) it always comes back on a reboot … everything else stays where I put it… I’ve checked the look and feel, the startup items, etc… How can I make it so it just lives in my home folder, not always stuck to the desktop?

dont know about it. there is a bug of this launcher in 4.9. It is still in OS after installation. Must check on newer version.