New Python 3.5.8rc2 Release Now Cant Upgrade

Briefly describe your issue below:

I ran sudo apt update and noticed there were packages that needed to be upgraded. However, they were only partially installed. It had something to do with Python, so I went looking to see what I might need to upgrade manually, and came across this new release. I follwed the installation docs. I ran:
./configure
make
make test
sudo make install

It took a really long time to complete, but I am still not able to upgrade or fix the partially installed packages. When I try to install any program now, I am not able to and I’m faced with error messages. Here is the output when I run sudo parrot-upgrade:

Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
29 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python3 (3.7.5-1) …
[Errno 2] No such file or directory: ā€˜/usr/share/veil/Veil.py’
error running python rtupdate hook veil
dpkg: error processing package python3 (–configure):
installed python3 package post-installation script subprocess returned error ex
it status 4
dpkg: dependency problems prevent configuration of eyewitness:
eyewitness depends on python3; however:
Package python3 is not configured yet.
eyewitness depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package eyewitness (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-fuzzywuzzy:
python3-fuzzywuzzy depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-fuzzywuzzy (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-easyprocess:
python3-easyprocess depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-easyprocess (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-acme:
python3-acme depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-acme (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-dev:
python3-dev depends on python3 (= 3.7.5-1); however:
Package python3 is not configured yet.

dpkg: error processing package python3-dev (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-certbot:
python3-certbot depends on python3-acme (>= 0.29.0~); however:
Package python3-acme is not configured yet.
python3-certbot depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-certbot (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of certbot:
certbot depends on python3-certbot (= 0.39.0-1); however:
Package python3-certbot is not configured yet.
certbot depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package certbot (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of radare2-cutter:
radare2-cutter depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package radare2-cutter (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-nbconvert:
python3-nbconvert depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-nbconvert (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-lxml:amd64:
python3-lxml:amd64 depends on python3 (<< 3.8); however:
Package python3 is not configured yet.
python3-lxml:amd64 depends on python3 (>= 3.7~); however:
Package python3 is not configured yet.
python3-lxml:amd64 depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-lxml:amd64 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-levenshtein:
python3-levenshtein depends on python3 (<< 3.8); however:
Package python3 is not configured yet.
python3-levenshtein depends on python3 (>= 3.7~); however:
Package python3 is not configured yet.
python3-levenshtein depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-levenshtein (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-uno:
python3-uno depends on python3:any; however:
Package python3 is not configured yet.
python3-uno depends on python3 (<< 3.8); however:
Package python3 is not configured yet.
python3-uno depends on python3 (>= 3.7~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-uno (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-ldapdomaindump:
python3-ldapdomaindump depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-ldapdomaindump (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-rfc3339:
python3-rfc3339 depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-rfc3339 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-lib2to3:
python3-lib2to3 depends on python3 (>= 3.7.1-1~); however:
Package python3 is not configured yet.
python3-lib2to3 depends on python3 (<< 3.9); however:
Package python3 is not configured yet.

dpkg: error processing package python3-lib2to3 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-soupsieve:
python3-soupsieve depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-soupsieve (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice:
libreoffice depends on python3-uno (>= 4.4.0~beta2); however:
Package python3-uno is not configured yet.

dpkg: error processing package libreoffice (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-distutils:
python3-distutils depends on python3 (>= 3.7.1-1~); however:
Package python3 is not configured yet.
python3-distutils depends on python3 (<< 3.9); however:
Package python3 is not configured yet.
python3-distutils depends on python3-lib2to3 (>= 3.6.4); however:
Package python3-lib2to3 is not configured yet.

dpkg: error processing package python3-distutils (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-configargparse:
python3-configargparse depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-configargparse (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglib2.0-dev-bin:
libglib2.0-dev-bin depends on python3-distutils; however:
Package python3-distutils is not configured yet.
libglib2.0-dev-bin depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package libglib2.0-dev-bin (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of youtube-dl:
youtube-dl depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package youtube-dl (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-pyqt4:
python3-pyqt4 depends on python3 (<< 3.8); however:
Package python3 is not configured yet.
python3-pyqt4 depends on python3 (>= 3.7~); however:
Package python3 is not configured yet.
python3-pyqt4 depends on python3:any (>= 3.0~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-pyqt4 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of git-cola:
git-cola depends on python3:any; however:
Package python3 is not configured yet.
git-cola depends on python3-distutils; however:
Package python3-distutils is not configured yet.

dpkg: error processing package git-cola (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-aiorpcx:
python3-aiorpcx depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-aiorpcx (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-pyvirtualdisplay:
python3-pyvirtualdisplay depends on python3-easyprocess; however:
Package python3-easyprocess is not configured yet.
python3-pyvirtualdisplay depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-pyvirtualdisplay (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-tk:amd64:
python3-tk:amd64 depends on python3 (>= 3.7.1-1~); however:
Package python3 is not configured yet.
python3-tk:amd64 depends on python3 (<< 3.9); however:
Package python3 is not configured yet.

dpkg: error processing package python3-tk:amd64 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglib2.0-dev:amd64:
libglib2.0-dev:amd64 depends on libglib2.0-dev-bin (= 2.62.1-1); however:
Package libglib2.0-dev-bin is not configured yet.

dpkg: error processing package libglib2.0-dev:amd64 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of valac:
valac depends on libglib2.0-dev (>= 2.48); however:
Package libglib2.0-dev:amd64 is not configured yet.

dpkg: error processing package valac (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python3
eyewitness
python3-fuzzywuzzy
python3-easyprocess
python3-acme
python3-dev
python3-certbot
certbot
radare2-cutter
python3-nbconvert
python3-lxml:amd64
python3-levenshtein
python3-uno
python3-ldapdomaindump
python3-rfc3339
python3-lib2to3
python3-soupsieve
libreoffice
python3-distutils
python3-configargparse
libglib2.0-dev-bin
youtube-dl
python3-pyqt4
git-cola
python3-aiorpcx
python3-pyvirtualdisplay
python3-tk:amd64
libglib2.0-dev:amd64
valac
Scanning application launchers
Updating active launchers
Done
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:
gnuradio gnuradio-dev phonon-backend-gstreamer-common
The following packages will be DOWNGRADED:
python3-aiorpcx
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 3 not upgraded.
29 not fully installed or removed.
Need to get 0 B/29.4 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database … 513475 files and directories currently installed.)
Preparing to unpack …/python3-aiorpcx_0.18.3-1_all.deb …
Unpacking python3-aiorpcx (0.18.3-1) over (0.18.3-1) …
Setting up python3 (3.7.5-1) …
[Errno 2] No such file or directory: ā€˜/usr/share/veil/Veil.py’
error running python rtupdate hook veil
dpkg: error processing package python3 (–configure):
installed python3 package post-installation script subprocess returned error ex
it status 4
dpkg: dependency problems prevent configuration of eyewitness:
eyewitness depends on python3; however:
Package python3 is not configured yet.
eyewitness depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package eyewitness (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-fuzzywuzzy:
python3-fuzzywuzzy depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-fuzzywuzzy (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-easyprocess:
python3-easyprocess depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-easyprocess (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-acme:
python3-acme depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-acme (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-dev:
python3-dev depends on python3 (= 3.7.5-1); however:
Package python3 is not configured yet.

dpkg: error processing package python3-dev (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-certbot:
python3-certbot depends on python3-acme (>= 0.29.0~); however:
Package python3-acme is not configured yet.
python3-certbot depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-certbot (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of certbot:
certbot depends on python3-certbot (= 0.39.0-1); however:
Package python3-certbot is not configured yet.
certbot depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package certbot (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of radare2-cutter:
radare2-cutter depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package radare2-cutter (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-nbconvert:
python3-nbconvert depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-nbconvert (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-lxml:amd64:
python3-lxml:amd64 depends on python3 (<< 3.8); however:
Package python3 is not configured yet.
python3-lxml:amd64 depends on python3 (>= 3.7~); however:
Package python3 is not configured yet.
python3-lxml:amd64 depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-lxml:amd64 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-levenshtein:
python3-levenshtein depends on python3 (<< 3.8); however:
Package python3 is not configured yet.
python3-levenshtein depends on python3 (>= 3.7~); however:
Package python3 is not configured yet.
python3-levenshtein depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-levenshtein (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-uno:
python3-uno depends on python3:any; however:
Package python3 is not configured yet.
python3-uno depends on python3 (<< 3.8); however:
Package python3 is not configured yet.
python3-uno depends on python3 (>= 3.7~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-uno (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-ldapdomaindump:
python3-ldapdomaindump depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-ldapdomaindump (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-rfc3339:
python3-rfc3339 depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-rfc3339 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-lib2to3:
python3-lib2to3 depends on python3 (>= 3.7.1-1~); however:
Package python3 is not configured yet.
python3-lib2to3 depends on python3 (<< 3.9); however:
Package python3 is not configured yet.

dpkg: error processing package python3-lib2to3 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-soupsieve:
python3-soupsieve depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-soupsieve (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice:
libreoffice depends on python3-uno (>= 4.4.0~beta2); however:
Package python3-uno is not configured yet.

dpkg: error processing package libreoffice (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-distutils:
python3-distutils depends on python3 (>= 3.7.1-1~); however:
Package python3 is not configured yet.
python3-distutils depends on python3 (<< 3.9); however:
Package python3 is not configured yet.
python3-distutils depends on python3-lib2to3 (>= 3.6.4); however:
Package python3-lib2to3 is not configured yet.

dpkg: error processing package python3-distutils (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-configargparse:
python3-configargparse depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-configargparse (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglib2.0-dev-bin:
libglib2.0-dev-bin depends on python3-distutils; however:
Package python3-distutils is not configured yet.
libglib2.0-dev-bin depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package libglib2.0-dev-bin (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of youtube-dl:
youtube-dl depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package youtube-dl (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-pyqt4:
python3-pyqt4 depends on python3 (<< 3.8); however:
Package python3 is not configured yet.
python3-pyqt4 depends on python3 (>= 3.7~); however:
Package python3 is not configured yet.
python3-pyqt4 depends on python3:any (>= 3.0~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-pyqt4 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of git-cola:
git-cola depends on python3:any; however:
Package python3 is not configured yet.
git-cola depends on python3-distutils; however:
Package python3-distutils is not configured yet.

dpkg: error processing package git-cola (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-aiorpcx:
python3-aiorpcx depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package python3-aiorpcx (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-pyvirtualdisplay:
python3-pyvirtualdisplay depends on python3-easyprocess; however:
Package python3-easyprocess is not configured yet.
python3-pyvirtualdisplay depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-pyvirtualdisplay (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-tk:amd64:
python3-tk:amd64 depends on python3 (>= 3.7.1-1~); however:
Package python3 is not configured yet.
python3-tk:amd64 depends on python3 (<< 3.9); however:
Package python3 is not configured yet.

dpkg: error processing package python3-tk:amd64 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglib2.0-dev:amd64:
libglib2.0-dev:amd64 depends on libglib2.0-dev-bin (= 2.62.1-1); however:
Package libglib2.0-dev-bin is not configured yet.

dpkg: error processing package libglib2.0-dev:amd64 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of valac:
valac depends on libglib2.0-dev (>= 2.48); however:
Package libglib2.0-dev:amd64 is not configured yet.

dpkg: error processing package valac (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python3
eyewitness
python3-fuzzywuzzy
python3-easyprocess
python3-acme
python3-dev
python3-certbot
certbot
radare2-cutter
python3-nbconvert
python3-lxml:amd64
python3-levenshtein
python3-uno
python3-ldapdomaindump
python3-rfc3339
python3-lib2to3
python3-soupsieve
libreoffice
python3-distutils
python3-configargparse
libglib2.0-dev-bin
youtube-dl
python3-pyqt4
git-cola
python3-aiorpcx
python3-pyvirtualdisplay
python3-tk:amd64
libglib2.0-dev:amd64
valac
Scanning application launchers
Updating active launchers
Done
E: Sub-process /usr/bin/dpkg returned an error code (1)

I’ve tried to locate the package that may be causing issues, but no luck so far. These are all the commands I’ve tried that HAVENT worked.

sudo apt update --fix-missing
sudo apt install -f
sudo dpkg --configure -a
sudo dpkg -l | grep ^…r
sudo dpkg --remove --force-remove–reinstreq
sudo apt clean
sudo apt update

Again, none of these work. I was wondering if anyone else is experiencing this same issue and found a solution? Any feedback on this is truly appreciated.

What version of Parrot are you running? (include version (e.g. 4.6), edition(e.g. Home//KDE/OVA, etc.), and architecture (currently we only support amd64)
ParrotSec 4.7 amd64
What method did you use to install Parrot? (Debian Standard / Debian GTK / parrot-experimental)
Debian Standard
Configured to multiboot with other systems? (yes / no)
no
If there are any similar issues or solutions, link to them below:
Haven’t found any yet
If there are any error messages or relevant logs, post them below:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Hi @Kamakazee , first you need read documentation to update/upgrade Parrot : https://docs.parrotlinux.org/faq/#how-do-i-upgrade-my-system , second point , Parrot on last update/upgrade is on python3 (3.7.5-1) , so your version 3.5.8rc2 is outdated , hope can help you , waiting your reply.

1 Like

Thank you so much for responding. I believe that version just came out October 12, 2019. I was confused about the number they used as well since the numerical value is going backwards lol.
Before I downloaded this version, I still wasn’t able to solve the upgrade/update issue. Hence, me looking for Python updates in the first place. Now however, things are more complicated. I think this Python version is all binary. I’m not sure if I should just delete it, or what. It is worth mentioning though, that I did the same thing on my desktop. I have a fresh install of Parrot- same build and install as my laptop. No issues with this Python3.5.8rc2 ā€œreversed releasedā€ there lol. A little later I plan on going over the Python docs again and troubleshooting a bit more. In the meantime, I’m stumped. :confused:

Just putting it out here, I was able to work around a different error after I ran the command ā€œmakeā€
I kept getting [Service throwing SSL Error: DH_KEY_TOO_SMALL]

I went into the /etc/ssl/openssl.cnf file and changed

CipherString=DEFAULT@SECLEVEL=2
to a level 1
CipherString=DEFAULT@SECLEVEL=1

It made exceptions while installing and let me bypass that issue. I didn’t have to do this on my fresh Parrot install tho.

3.5.8rc2 is latest release and patch for 3.5 series and there are many packages depend on python 3.7

1 Like

ok well what is your suggestion, becuase so far I haven’t been able to force an upgrade.

What I’vd one so far is
sudo apt-get remove python3.7
sudo apt-get install python3.7
sudo apt autoremove
sudo apt-get update
sudo parrot-upgrade
sudo apt full-upgrade

Seems to be working way better than before. I’m not getting so many error messages. I still have 3 packages that wont upgrade. I’m fine with that for now.

hi Kamakazee thanks for sharing i have same issue and now it sloved by your msg thanks aganin

1 Like

I had a similar problem. Use Synaptic Package Manager to check for whether the ā€˜gufw’ package is installed. Python3 depends on it. Once you install it, run ā€˜sudo parrot-upgrade’ again. This procedure solved all of my upgrade errors. If installing ā€˜gufw’ doesn’t solve your problem, look of another dependency for Python3 that is missing from your package inventory.

1 Like

You’re welcome

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.