How do I upgrade to last version on Ubuntu 14.04 using apt-get?

Asked by Leonid on 2016-03-09

I have Graphite 0.9.12 installed via apt-get on Ubuntu 14.04. System is suffering from UnpicklingError's ( which make usage of carbon cache problematic and leads to missing latest datapoints on the graphs ( So I want to upgrade to latest version with UnpicklingError bug fixed. But it looks like that there is no newer versions in Ubuntu 14.04 repositories. I also tried upgrate using pip with no success. Pip doesn't `see` package installed with apt-get and install new graphite in another folder.

Question information

English Edit question
Graphite Edit question
No assignee Edit question
Last query:
Last reply:
Piotr Popieluch (piotr1212) said : #1

If you want to keep using the system packages you should create a bug report there, in this case on the ubuntu bug tracker. You could ask to patch your issue or to update the package to a newer version. Please note that OS policies try to keep stable versions in a OS release and don't allow package maintainers to just update to every new release. I'm not familiar with Ubuntu policies... You might need to update to a newer Ubuntu version.

Otherwise you could install carbon manually as described here:

Manfred Hampl (m-hampl) said : #2

It seems that there is no newer package available for trusty.
Backporting the package for a higher Ubuntu version would require backporting several other packages first because of dependencies.

Maybe just cherrypicking the related bugfix can serve as a workaround

edit /usr/lib/python2.7/dist-packages/graphite/ and motify the two occurrences of the assignment of PICKLE_SAFE to the contents as shown in
You have to make sure that you use the same indentation as done in the other lines of your source.

(Remark: Not tried myself, I am not using graphite, do this on your own risk.)

Can you help with this problem?

Provide an answer of your own, or ask Leonid for more information if necessary.

To post a message you must log in.