2012.1 python-glance installation error

Asked by smallma

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:
Last query:
Last reply:
Revision history for this message
Best koolhead17 (koolhead17) said :
#1

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

See if it works.

Revision history for this message
smallma (s-rain) said :
#2

Thanks koolhead17, that solved my question.