We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

[XA2] Update to 3.3.0.16 failed with SystemDataScope installed (collectd remove failure)

asked 2020-04-29 12:05:09 +0300

coderus gravatar image

updated 2020-04-29 14:33:54 +0300

jovirkku gravatar image

Update failed on XA2

interesting part:

Apr 29 09:15:09 Sailfish [RPM][4543]: scriptlet %preun(collectd-5.5.0.git.2018.01.20-10.12.1.jolla.armv7hl) failure: 2
Apr 29 09:15:09 Sailfish [RPM][4543]: erase collectd-5.5.0.git.2018.01.20-10.12.1.jolla.armv7hl: failure
Apr 29 09:15:09 Sailfish [RPM][4543]: 1 elements failed, 1 scripts failed
Apr 29 09:15:09 Sailfish [RPM][4543]: Transaction ID 5ea8c70c finished: -1
Apr 29 09:15:09 Sailfish packagekitd[2944]: Install progress update: 300 of 853
Apr 29 09:15:09 Sailfish sailfish-upgrade-ui[2909]: Distribution upgrade error: Subprocess failed. Error: RPM failed: Failed to get D-Bus connection: No such file or directory
                                                    Failed to get D-Bus connection: No such file or directory
                                                    error: %preun(collectd-5.5.0.git.2018.01.20-10.12.1.jolla.armv7hl) scriptlet failed, exit status 1
                                                    error: collectd-5.5.0.git.2018.01.20-10.12.1.jolla.armv7hl: erase failed

full log: systemupdate.log

collectd package seems to be a part of SystemDataScope application

edit retag flag offensive close delete

Comments

collectd is the daemon that is used to collect all the data. Systemdatascope is mainly showing the graphs. But I wonder what's failing there on removal. Would it all work if you uninstall collectd, rrdtool and SDS?

rinigus ( 2020-04-29 12:16:50 +0300 )edit

Did you happen to end up having no network connectivity? My h4113 failed update like that. After version --dup noticed that SystemDataScope was missing. Might be coincidence as well.

mSorvisto ( 2020-04-29 12:20:11 +0300 )edit

@mSorvisto same, network was broken as well

coderus ( 2020-04-29 12:30:35 +0300 )edit

@rinigus i filled https://github.com/rinigus/collectd/issues/9 with proposed solution

coderus ( 2020-04-29 12:31:03 +0300 )edit

Thanks, makes sense. I will look into it tonight

rinigus ( 2020-04-29 14:00:39 +0300 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2020-04-30 09:50:54 +0300

rinigus gravatar image

updated 2020-05-05 14:19:19 +0300

jovirkku gravatar image

collectd has been updated using @coderus proposed solution. The update has been released on OpenRepos and should work now. Although, it has not been tested during SFOS update in practice.

As the risk of messing up update is too large, I would recommend to uninstall SystemDataScope and collectd before doing SFOS update.

If someone wishes to test on actual update with the new version, please let me know the outcome. I will be able to test it later when my device port will get SFOS 3.3 update developed for it.

Edit: New version is released at OpenRepos - collectd-5.5.0.git_.2020.05.05. Please use that if you are on SFOS 3.3.0.x and earlier version if you are on older SFOS release.

edit flag offensive delete publish link more

Comments

Does this also apply to SystemMonitor? Not all of my devices broke. And I remember having the service stopped when I checked. So, on update, having the service running or not makes a diference? Just an idea...

A.Maretzek ( 2020-04-30 13:02:22 +0300 )edit

I don't know

rinigus ( 2020-04-30 14:59:03 +0300 )edit

I was about to test upgrade from 3.3.0.14 to 3.3.0.16, but I can't install update. Storeman shows newer version, but don't show install option in pulley-menu. pkcon install-local collectd-5.5.0.git_.2020.04.29-1.19.1.jolla_.armv7hl.rpm gives error "Nothing provides libgcrypt.so.11". Any tips? Tried pkcon refresh.

mSorvisto ( 2020-05-01 17:54:32 +0300 )edit

https://github.com/rinigus/collectd/issues/10 - waiting for OBS updates

rinigus ( 2020-05-01 20:16:32 +0300 )edit

Tried update 3.3.0.14 -> 3.3.0.16 with collectd-5.5.0.git_.2020.05.05 and there doesn't seem to be any problems.

mSorvisto ( 2020-05-06 10:21:09 +0300 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2020-04-29 12:05:09 +0300

Seen: 479 times

Last updated: May 05 '20