2

I'm not able to install python-kivy, I got this error:

dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 127
Processing triggers for libreoffice-common ...

Errors were encountered while processing:
 /var/cache/apt/archives/update-manager-core_1%3a0.156.14.15_amd64.deb
 /var/cache/apt/archives/update-manager_1%3a0.156.14.15_all.deb
 /var/cache/apt/archives/python-uno_1%3a3.5.7-0ubuntu6.1_amd64.deb
 /var/cache/apt/archives/python-ubuntuone-client_3.0.2-0ubuntu2.2_all.deb
 /var/cache/apt/archives/python-libxml2_2.7.8.dfsg-5.1ubuntu4.9_amd64.deb
 /var/cache/apt/archives/python-lxml_2.3.2-1_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)
karel
  • 114,770
Geo Jacob
  • 141
  • how did you install it? – Chinmaya B Jul 19 '14 at 10:50
  • kivy is a beast to get working on ubuntu mostly. It's a beast of a solution, and I like it a lot... It's too troublesome to use OOTB though. – RobotHumans Jul 19 '14 at 10:59
  • sudo apt-get install python-kivy, Reading package lists... Done Building dependency tree
    Reading state information... Done E: Unable to locate package python-kivy
    – Geo Jacob Jul 21 '14 at 12:12

1 Answers1

1

you need to force overwriting the packages this problem comes with repositories

sudo dpkg -i --force-overwrite <filename>

and then run dpkg

sudo apt-get -f install

see this for more help on dpkg and this for more help on this error

Chinmaya B
  • 6,122
  • 7
  • 24
  • 43
  • Have you tried this?. Why do you know that it needs forve-overwrite?. The problem looks different than those on your links to me. – Javier Rivera Jul 21 '14 at 06:05