This bug affected my too, but I was able to solve it.

Short answer:
dh-python is dependent on python3, python3 is dependent on dh-python. Solve it 
by running:
sudo dpkg --force-configure-any --configure dh-python

Long answer:
I did a do-release-upgrade on my Ubuntu Gnome 15.10 to 16.04, but it failed a 
gconf2, with the massage it was dependent on python3.5, but it was not 
configured, and I was unable to configure it. However, I started with:
sudo dpkg --configure python3 -> Didn't work because it was dependent on 
python3.5, so I did a
sudo dpkg --configure python3.5 -> Didn't work because it was dependent on (see 
next line), so I did a
sudo dpkg --configure libpython3.5-stdlib
sudo dpkg --configure python3.5
sudo dpkg --configure python3
sudo dpkg --configure libpython3-stdlib
and then I ran:
sudo dpkg --configure python3  --> Which did not work, becasue it was dependent 
on dh-python, so I ran
udo dpkg --configure dh-python --> Which did not work either, because it was 
dependent on python3.

I was able to get past this by running:
sudo dpkg --force-configure-any --configure dh-python

And now everything seems to work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1565115

Title:
  package libpython3.5-minimal:amd64 3.5.1-10 failed to install/upgrade:
  package is in a very bad inconsistent state; you should reinstall it
  before attempting configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1565115/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to