2012.1 python-glance installation error

Asked by smallma on 2012-06-21

Hello all,
When I install python-glance, there is a error occurred. Please help me out. Thanks.

dpkg: error processing /var/cache/apt/archives/python-glance_2012.1+stable~20120608-5462295-0ubuntu2.2_all.deb (--unpack):
 trying to overwrite '/usr/share/pyshared/glance/api/cached_images.py', which is also in package glance 2011.3
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
.
.
.
Processing triggers for python-support ...
Errors were encountered while processing:
 /var/cache/apt/archives/python-glance_2012.1+stable~20120608-5462295-0ubuntu2.2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Question information

Language:
English Edit question
Status:
Solved
For:
Glance Edit question
Assignee:
No assignee Edit question
Solved by:
koolhead17
Solved:
2012-08-06
Last query:
2012-08-06
Last reply:
2012-07-05
Best koolhead17 (koolhead17) said : #1

sudo apt-get remove --purge python-glance
sudo apt-get install python-glance

See if it works.

smallma (s-rain) said : #2

Thanks koolhead17, that solved my question.