python-matplotlib did not install correctly. Error occured on ubuntu 8.10

Bug #318888 reported by samo
6
Affects Status Importance Assigned to Milestone
matplotlib (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

while installing python-matplotlib on ubuntu 8.10 (64bit) I get the following error:

Setting up python-tz (2008b-3ubuntu1) ...

Setting up python-matplotlib (0.98.3-4ubuntu1) ...
pycentral: pycentral pkginstall: not overwriting local files
pycentral pkginstall: not overwriting local files
dpkg: error processing python-matplotlib (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python-matplotlib
E: Sub-process /usr/bin/dpkg returned an error code (1)

Do you have any ideas what it could be ?

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: fglrx
Package: python-matplotlib 0.98.3-4ubuntu1
SourcePackage: matplotlib
Title: package python-matplotlib 0.98.3-4ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27-9-generic x86_64

Revision history for this message
samo (samo-fisinger) wrote :
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Hello. I've installed it and it worked fine on my machine. There some clues why it didn't work for you from these lines:

pycentral: pycentral pkginstall: not overwriting local files
pycentral pkginstall: not overwriting local files
dpkg: error processing python-matplotlib (--configure):
 subprocess post-installation script returned error exit status 1

Python is platform independent but it needs to be byte compiled during installation for any/all version of python that you have installed. This package uses pycentral - one of the methods to insure that all *.py get byte compiled into *.pyc on user computer during installation. So pycentral was the one who ruined your post-installtion scripts.

As we see from above pycentral emmits messages: not overwriting local files. Hmmm to me this sounds like something is in the way of python-matplotlib, eg. manual or old instalation.

Try purging the package, and installing again.

Also I'm attaching a list of files which should be installed (dpkg -L) all of them are installed by pycentral one way or the other therefore check that none of them exist. Note that if you have more pythons that I do, you should check for all /usr/lib/pythonX.Y/site-packages/matplotlib/ where X.Y could be any python versions that you might have.

Please write back to me. I love matplotlib, it's best thing EVER. Hope you will get it to work.

On the side note. Try to remember if you did anything special with your python installation. Or what was the sequence of last apt actions before you started this installation of python-matplotlib. Cause it could be reproducible under the corner case sequence that you have manage to do (purging, porting, compiling your own modules, installing anything outside of apt authority, enabling random ppa's, using backports etc)

Hope this helps.

Revision history for this message
samo (samo-fisinger) wrote : Re: [Bug 318888] Re: python-matplotlib did not install correctly. Error occured on ubuntu 8.10
Download full text (3.6 KiB)

Thanks a lot,

I had a version of an old matplotlib on my computer which didn't work properly. After I removed it the installation was fine. Thanks again.

 Dr. Samo Fisinger

________________________________
From: Дмитрий Ледков <email address hidden>
To: <email address hidden>
Sent: Tuesday, 20 January, 2009 22:38:47
Subject: [Bug 318888] Re: python-matplotlib did not install correctly. Error occured on ubuntu 8.10

Hello. I've installed it and it worked fine on my machine. There some
clues why it didn't work for you from these lines:

pycentral: pycentral pkginstall: not overwriting local files
pycentral pkginstall: not overwriting local files
dpkg: error processing python-matplotlib (--configure):
subprocess post-installation script returned error exit status 1

Python is platform independent but it needs to be byte compiled during
installation for any/all version of python that you have installed. This
package uses pycentral - one of the methods to insure that all *.py get
byte compiled into *.pyc on user computer during installation. So
pycentral was the one who ruined your post-installtion scripts.

As we see from above pycentral emmits messages: not overwriting local
files. Hmmm to me this sounds like something is in the way of python-
matplotlib, eg. manual or old instalation.

Try purging the package, and installing again.

Also I'm attaching a list of files which should be installed (dpkg -L)
all of them are installed by pycentral one way or the other therefore
check that none of them exist. Note that if you have more pythons that I
do, you should check for all /usr/lib/pythonX.Y/site-
packages/matplotlib/ where X.Y could be any python versions that you
might have.

Please write back to me. I love matplotlib, it's best thing EVER. Hope
you will get it to work.

On the side note. Try to remember if you did anything special with your
python installation. Or what was the sequence of last apt actions before
you started this installation of python-matplotlib. Cause it could be
reproducible under the corner case sequence that you have manage to do
(purging, porting, compiling your own modules, installing anything
outside of apt authority, enabling random ppa's, using backports etc)

Hope this helps.

** Attachment added: "List of files installed by python-matplotlib"
  http://launchpadlibrarian.net/21484066/python-matplotlib.dpkg.list

--
python-matplotlib did not install correctly. Error occured on ubuntu 8.10
https://bugs.launchpad.net/bugs/318888
You received this bug notification because you are a direct subscriber
of the bug.

Status in “matplotlib” source package in Ubuntu: New

Bug description:
while installing python-matplotlib on ubuntu 8.10 (64bit) I get the following error:

Setting up python-tz (2008b-3ubuntu1) ...

Setting up python-matplotlib (0.98.3-4ubuntu1) ...
pycentral: pycentral pkginstall: not overwriting local files
pycentral pkginstall: not overwriting local files
dpkg: error processing python-matplotlib (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
python-matplotlib
E: Sub-process /usr/bin/dpkg returned an error code (1)

Do yo...

Read more...

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

This bug report is being closed due to your last comment regarding this being fixed with a purge and install. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status . Thank you again for taking the time to report this bug and helping to make Ubuntu better. Feel free to submit any future bugs you may find.

Changed in matplotlib:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.