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: Дмитрий Ледков <dmitrij.led...@gmail.com> To: samo.fisin...@yahoo.co.uk 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 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 -- 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 member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs