Since last week my Parrot will not upgrade anymore.
The issue seems to be with Windows components and resources.
Perhaps the easy fix is to chmod 777 the directories, but I doubt that it is the right fix.
Posting it here incase more users come accross this problem.
Preparing to unpack …/00-beef-xss_0.4.7.3-0kali2_all.deb …
Unpacking beef-xss (0.4.7.3-0kali2) over (0.4.7.1-0kali2) …
dpkg: error processing archive /tmp/apt-dpkg-install-0CVNU5/00-beef-xss_0.4.7.3-0kali2_all.deb (–unpack):
unable to open ‘/usr/share/beef-xss/modules/browser/avant_steal_history/command.js.dpkg-new’: No such file or directory
Preparing to unpack …/01-metasploit-framework_5.0.24-1parrot1_amd64.deb …
Unpacking metasploit-framework (5.0.24-1parrot1) over (5.0.18-1parrot1) …
dpkg: error processing archive /tmp/apt-dpkg-install-0CVNU5/01-metasploit-framework_5.0.24-1parrot1_amd64.deb (–unpack):
unable to open ‘/usr/share/metasploit-framework/data/eicar.com.dpkg-new’: No such file or directory
Preparing to unpack …/02-mimikatz_2.2.0-git20190512-0kali2_all.deb …
Unpacking mimikatz (2.2.0-git20190512-0kali2) over (2.2.0-delegation-1parrot1) …
dpkg: error processing archive /tmp/apt-dpkg-install-0CVNU5/02-mimikatz_2.2.0-git20190512-0kali2_all.deb (–unpack):
unable to open ‘/usr/share/windows-resources/mimikatz/Win32/mimidrv.sys.dpkg-new’: Operation not permitted
Preparing to unpack …/03-nishang_0.7.6-0kali2_all.deb …
Unpacking nishang (0.7.6-0kali2) over (0.7.6-0kali1) …
dpkg: error processing archive /tmp/apt-dpkg-install-0CVNU5/03-nishang_0.7.6-0kali2_all.deb (–unpack):
unable to open ‘/usr/share/nishang/ActiveDirectory/Get-Unconstrained.ps1.dpkg-new’: No such file or directory
Preparing to unpack …/04-responder_2.3.3.9-0kali3_all.deb …
Unpacking responder (2.3.3.9-0kali3) over (2.3.3.9-0kali2) …
dpkg: error processing archive /tmp/apt-dpkg-install-0CVNU5/04-responder_2.3.3.9-0kali3_all.deb (–unpack):
unable to open ‘/usr/share/responder/tools/MultiRelay/bin/mimikatz.exe.dpkg-new’: Operation not permitted
Preparing to unpack …/05-shellter_7.1-0kali4_amd64.deb …
Unpacking shellter (7.1-0kali4) over (7.1-0kali1) …
dpkg: error processing archive /tmp/apt-dpkg-install-0CVNU5/05-shellter_7.1-0kali4_amd64.deb (–unpack):
unable to open ‘/usr/share/windows-resources/shellter/shellcode_samples/calc.dpkg-new’: Operation not permitted
Preparing to unpack …/06-powersploit_2.2-1kali2_all.deb …
Unpacking powersploit (2.2-1kali2) over (2.2-1kali1) …
dpkg: error processing archive /tmp/apt-dpkg-install-0CVNU5/06-powersploit_2.2-1kali2_all.deb (–unpack):
unable to open ‘/usr/share/windows-resources/powersploit/AntivirusBypass/Find-AVSignature.ps1.dpkg-new’: Operation not permitted
Preparing to unpack …/07-sbd_1.37-1kali3_amd64.deb …
Unpacking sbd (1.37-1kali3) over (1.37-1kali1) …
dpkg: error processing archive /tmp/apt-dpkg-install-0CVNU5/07-sbd_1.37-1kali3_amd64.deb (–unpack):
unable to open ‘/usr/share/windows-resources/sbd/sbd.exe.dpkg-new’: Operation not permitted
Preparing to unpack …/08-wce_1.42-beta-0kali2_all.deb …
Unpacking wce (1.42-beta-0kali2) over (1.42-beta-0kali0) …
dpkg: error processing archive /tmp/apt-dpkg-install-0CVNU5/08-wce_1.42-beta-0kali2_all.deb (–unpack):
unable to open ‘/usr/share/windows-resources/wce/getlsasrvaddr.exe.dpkg-new’: Operation not permitted
Preparing to unpack …/09-webshells_1.1+kali5_all.deb …
Unpacking webshells (1.1+kali5) over (1.1-0kali0) …
dpkg: error processing archive /tmp/apt-dpkg-install-0CVNU5/09-webshells_1.1+kali5_all.deb (–unpack):
unable to open ‘/usr/share/webshells/asp/cmd-asp-5.1.asp.dpkg-new’: Operation not permitted
Preparing to unpack …/10-windows-binaries_0.6.7_all.deb …
dpkg-maintscript-helper: error: file ‘/usr/share/windows-binaries/backdoors’ not owned by package ‘windows-binaries’
dpkg-maintscript-helper: error: file ‘/usr/share/windows-binaries/backdoors/sbd.exe’ not owned by package ‘windows-binaries’
dpkg-maintscript-helper: error: file ‘/usr/share/windows-binaries/backdoors/sbdbg.exe’ not owned by package ‘windows-binaries’
dpkg-maintscript-helper: error: directory ‘/usr/share/windows-binaries’ contains files not owned by package windows-binaries, cannot switch to symlink
dpkg: error processing archive /tmp/apt-dpkg-install-0CVNU5/10-windows-binaries_0.6.7_all.deb (–unpack):
new windows-binaries package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/tmp/apt-dpkg-install-0CVNU5/00-beef-xss_0.4.7.3-0kali2_all.deb
/tmp/apt-dpkg-install-0CVNU5/01-metasploit-framework_5.0.24-1parrot1_amd64.deb
/tmp/apt-dpkg-install-0CVNU5/02-mimikatz_2.2.0-git20190512-0kali2_all.deb
/tmp/apt-dpkg-install-0CVNU5/03-nishang_0.7.6-0kali2_all.deb
/tmp/apt-dpkg-install-0CVNU5/04-responder_2.3.3.9-0kali3_all.deb
/tmp/apt-dpkg-install-0CVNU5/05-shellter_7.1-0kali4_amd64.deb
/tmp/apt-dpkg-install-0CVNU5/06-powersploit_2.2-1kali2_all.deb
/tmp/apt-dpkg-install-0CVNU5/07-sbd_1.37-1kali3_amd64.deb
/tmp/apt-dpkg-install-0CVNU5/08-wce_1.42-beta-0kali2_all.deb
/tmp/apt-dpkg-install-0CVNU5/09-webshells_1.1+kali5_all.deb
/tmp/apt-dpkg-install-0CVNU5/10-windows-binaries_0.6.7_all.deb