Problems with installing the OS update 4.3.0

Nope, I updated with the GUI. I tried running version --dup but there was nothing to do. Then I tried installing anyway. There was a message that update cannot be done. I rebooted the phone, downloaded the package again and got the same warnings about git packages. Tried the update anyway and this time it gave the same warnings but the update was succesful. I run the version --dup once more but it did not find anything to do.

Thanks for that hot tip - I had wondered about that. This has allowed me to download the packages!
However, on install it was reported that both packages where already installed.
So I tried “rpm -Uvh --replacepkgs _____________” This installed the packages.
Following a reboot there is no change in behavior.
pkcon reports the same error. systemctl status packagekit.service reports the same error.
I feel this is out of me reach. A reflash might be required :frowning:
Thanks for all the help.

What a shame,
don’t give up too quickly, I was close to it yesterday as well, however as long as you manage to login to your phone there should be a way to fix it.

You should try to find why packagekit fails.
The service file /usr/lib/systemd/system/packagekit.service mentions some options for debugging:

# To enable verbose logging define following in sysconfig file:
# PACKAGEKIT_ARGS="--keep-environment --verbose"
# ZYPP_LOGFILE=-

I’d uncomment those lines and restart the service. I guess you don’t need to reboot, if you restart the service by systemctl restart packagekit should do the job, I’m just not sure if the modified file will be read without asking systemd to rescan the files.

Actually shouldn’t we move this discussion into a new thread, to stop polluting this one here?

Yes, do not give up too early.
As long as you can log in (even only via ssh) there is hope :wink:

What does
ldd /usr/lib/libzypp.so.1722 tell you?
Some other lib missing or wrong symbols (wrong package version)?

1 Like

And another yes, our posts should be extracted into a distinct thread.
But we cannot do this. @jovirkku?

1 Like

I am trying to install the update, but it’s saying that all my packages are blocking



there is way more packages

Should I try installing anyway ?

This is what a zypper dup give me:


it says that it’s going to retrograde 186 package (sailfish one from what it looks like)

I guess I should reflash with the latest version ?

Thanks for the continued help. It would be great to have this topic separated, is there anything I can do? Should I start a new one?

@peterleinchen I tried your suggestion and there are no alarm bells there. Though there is one different line. /lib/ld-linux-armhf.so.3 (0xaaebe000) is different to all the others. Is this the way it should be?

[root@Sailfish nemo]# ldd /usr/lib/libzypp.so.1722
libutil.so.1 => /lib/libutil.so.1 (0xf6dec000)
librpm.so.9 => /usr/lib/librpm.so.9 (0xf6d93000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0xf6d2d000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0xf6c42000)
libz.so.1 => /usr/lib/libz.so.1 (0xf6c19000)
libsolv.so.1 => /usr/lib/libsolv.so.1 (0xf6bab000)
libsolvext.so.1 => /usr/lib/libsolvext.so.1 (0xf6b77000)
libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0xf69b0000)
libboost_thread-mt.so.1.66.0 => /usr/lib/libboost_thread-mt.so.1.66.0 (0xf6955000)
libgpgme-pthread.so.11 => /usr/lib/libgpgme-pthread.so.11 (0xf6924000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf68fd000)
libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xf68e6000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xf67f7000)
libyaml-cpp.so.0.6 => /usr/lib/libyaml-cpp.so.0.6 (0xf6793000)
libudev.so.1 => /usr/lib/libudev.so.1 (0xf676a000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf6658000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf663f000)
libc.so.6 => /lib/libc.so.6 (0xf6526000)
/lib/ld-linux-armhf.so.3 (0xaaebe000)
librpmio.so.9 => /usr/lib/librpmio.so.9 (0xf64f5000)
libbz2.so.1 => /usr/lib/libbz2.so.1 (0xf64d9000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0xf64af000)
liblua-5.3.so => /usr/lib/liblua-5.3.so (0xf647d000)
libm.so.6 => /lib/libm.so.6 (0xf6411000)
libpopt.so.0 => /usr/lib/libpopt.so.0 (0xf63f8000)
libcap.so.2 => /usr/lib/libcap.so.2 (0xf63e4000)
libdb-4.8.so => /usr/lib/libdb-4.8.so (0xf62ed000)
libdl.so.2 => /lib/libdl.so.2 (0xf62d9000)
libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0xf62ae000)
libpsl.so => /usr/lib/libpsl.so (0xf629a000)
libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0xf6234000)
libboost_system-mt.so.1.66.0 => /usr/lib/libboost_system-mt.so.1.66.0 (0xf621f000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xf6200000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0xf61a0000)
libmount.so.1 => /usr/lib/libmount.so.1 (0xf6154000)
libblkid.so.1 => /usr/lib/libblkid.so.1 (0xf610f000)
libuuid.so.1 => /usr/lib/libuuid.so.1 (0xf60f9000)
librt.so.1 => /lib/librt.so.1 (0xf60e3000)

@jollajo, I uncommented the lines you suggested, and restarted service. I think I might need to do more than that. It resulted in the following:

[root@Sailfish nemo]# systemctl status packagekit
● packagekit.service - PackageKit Daemon
   Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static; vendor preset: enabled)
  Drop-In: /usr/lib/systemd/system/packagekit.service.d
           └─01-home-mount.conf, 01-prevent-start.conf
   Active: inactive (dead)

Nov 05 05:58:14 Sailfish systemd[1]: Started PackageKit Daemon.
Nov 05 06:05:50 Sailfish systemd[1]: /usr/lib/systemd/system/packagekit.service:13: Unknow
n lvalue 'PACKAGEKIT_ARGS' in section 'Service'
Nov 05 06:05:50 Sailfish systemd[1]: /usr/lib/systemd/system/packagekit.service:14: Unknow
n lvalue 'ZYPP_LOGFILE' in section 'Service'
Nov 05 06:05:50 Sailfish systemd[1]: Starting PackageKit Daemon...
Nov 05 06:05:50 Sailfish PackageKit[12911]: daemon start
Nov 05 06:05:50 Sailfish PackageKit[12911]: daemon quit
Nov 05 06:05:50 Sailfish packagekitd[12911]: Failed to load the backend: opening module zypp failed : /usr/lib/lib
zypp.so.1722: undefined symbol: _ZN4YAML15ostream_wrapper5writeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaI
cEEE
Nov 05 06:05:50 Sailfish systemd[1]: Started PackageKit Daemon.
Nov 05 06:06:04 Sailfish systemd[1]: /usr/lib/systemd/system/packagekit.service:13: Unknow
n lvalue 'PACKAGEKIT_ARGS' in section 'Service'
Nov 05 06:06:04 Sailfish systemd[1]: /usr/lib/systemd/system/packagekit.service:14: Unknow
n lvalue 'ZYPP_LOGFILE' in section 'Service'

Thanks again for the help. Slow replies due to sleep, and now off to work. All very much appreciated though. Sorry for convoluting this thread further.

I had this endless list as well. Something was messed up. A version --dup followed by a shutdown -r now solved it for me.

1 Like

I would suggest you just start a new thread with the key information copied from here with a reference to this thread.

There are a few differences to my output of ldd but it doesn’t seem to be significant.
You’re right your variables in the service file seem to need more info. The Zypp-Logfile probalby needs a location where to write the log to.

Actually does zypper run on your phone? That also uses libzypp.

Looks auite similar but some libs different:
the one abiut ld-linux is normal

But something came to my mind, what version is curl? curl-7.78.0+git1-1.6.1.jolla.armv7hl?

ldd /usr/lib/libzypp.so.1722
/usr/lib/libpreloadpatchmanager.so (0xf6f5e000)
libutil.so.1 => /lib/libutil.so.1 (0xf6f40000)
librpm.so.9 => /usr/lib/librpm.so.9 (0xf6ee7000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0xf6e81000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0xf6d96000)
libz.so.1 => /usr/lib/libz.so.1 (0xf6d6d000)
libsolv.so.1 => /usr/lib/libsolv.so.1 (0xf6cff000)
libsolvext.so.1 => /usr/lib/libsolvext.so.1 (0xf6ccb000)
libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0xf6b04000)
libboost_thread-mt.so.1.66.0 => /usr/lib/libboost_thread-mt.so.1.66.0 (0xf6aa90
00)
libgpgme-pthread.so.11 => /usr/lib/libgpgme-pthread.so.11 (0xf6a78000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf6a4f000)
libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xf6a3a000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xf694b000)
libyaml-cpp.so.0.6 => /usr/lib/libyaml-cpp.so.0.6 (0xf68f4000)
libudev.so.1 => /usr/lib/libudev.so.1 (0xf68cb000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf67b9000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf67a0000)libc.so.6 => /lib/libc.so.6 (0xf6687000)
/lib/ld-linux-armhf.so.3 (0xab201000)
libdl.so.2 => /lib/libdl.so.2 (0xf6673000)
libm.so.6 => /lib/libm.so.6 (0xf6609000)
librpmio.so.9 => /usr/lib/librpmio.so.9 (0xf65d8000)
libbz2.so.1 => /usr/lib/libbz2.so.1 (0xf65ba000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0xf6590000)
liblua-5.3.so => /usr/lib/liblua-5.3.so (0xf655e000)
libpopt.so.0 => /usr/lib/libpopt.so.0 (0xf6545000)
libcap.so.2 => /usr/lib/libcap.so.2 (0xf6531000)
libdb-4.8.so => /usr/lib/libdb-4.8.so (0xf643a000)
libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0xf640f000)
libpsl.so => /usr/lib/libpsl.so (0xf63fb000)
libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0xf6395000)
libboost_system-mt.so.1.66.0 => /usr/lib/libboost_system-mt.so.1.66.0 (0xf63800
00)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xf635f000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0xf6301000)
libmount.so.1 => /usr/lib/libmount.so.1 (0xf62b5000)

Actually, is the issue in that thread related to yours? Bricked zypper and pkcon from restarting during hung 4.3 download
Maybe @throwaway69 's findings help you as well.

1 Like

@peterleinchen regarding curl version, I have the same release as you have listed in your post.

@jollajo zypper seems to be fully functioning and happy.

  • zypper ref - goes through the repositories and refreshes successfully
  • zypper up - says nothing to do, noting 2 apps (fotokopier and whisperfish) will not be installed
  • zypper dup - says nothing to do
  • zypper update curl - says latest already installed
  • zypper update PackageKit - says latest already installed
  • zypper update libzypp - says latest already installed

I have looked through @throwaway69 's method, and am trying it now.

2 Likes

If an update hangs in the middle, some packages will be upgraded while others are not. If either PackageKit or libzypp (or rpm, or ssu) don’t all get upgraded together, then there might be linking errors as PackageKit and zypp try to load libs from older or newer packages that they weren’t built against.

If you end up in this state after upgrade, we might be able to find out what caused it to break from the update log, which should be found at /var/log/systemupdate.log

1 Like

The update log is from the update to 4.2.0.19 at the start of September. version --dup doesn’t leave behind a log perhaps.
Thanks for the help.

Okay,
I had something in mind about curl (in another version) pulling in some lib that interfers.

But okay. One possibility less :wink:
@abranson is absolutely right
and maybe take a look at versions of
rpm-4.16.1.3+git4-1.8.1.jolla.armv7hl
and
ssu-1.0.14-1.5.1.jolla.armv7hl
ssu-declarative-1.0.14-1.5.1.jolla.armv7hl
ssu-network-proxy-plugin-1.0.14-1.5.1.jolla.armv7hl
ssu-sysinfo-1.3.0-1.4.1.jolla.armv7hl
ssu-vendor-data-jolla-0.129-1.12.1.jolla.noarch
but after that I am (almost) running out of ideas… :frowning:

maybe check also
cat /etc/os-release

Hi,
i have exactly the same Problem.

Failed to load the backend: opening module zypp failed : /usr/lib/libzypp.so.1722: undefined symbol: ZN4YAML15ostream_wrapper5writeERKNSt7_
cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

I had the wrong curl and libcurl Versions from openrepos-lpr.
I fixed this by installing the Jolla Versions.
I checked all other package versions you posted here, they are all good.
I’m really out of idea what the problem is here…
I attached the relevant parts of my systemupdate log here:

Edit:
Btw, i’ve checked my Profile Settings at account.jolla.com and have seen, that Early Access is disabled there? I had this enabled since years and never changed it. I reenabled it now. Could this maybe have something todo with my issue?
I updated manually while using sfos-upgrade app from @olf

Okay, I found my old notes.
And some more stuff to check:
libsolv-0.7.17+git1-1.5.3.jolla.armv7hl
libsolv-tools-0.7.17+git1-1.5.3.jolla.armv7hl

and (most and last chance) probably:
xulrunner-qt5-60.9.1+git61-1.11.6.jolla.armv7hl

For me i have exactly these versions installed and still have the libzypp issue :frowning:

I also have the issue with PackageKit, on a Xperia 10. I did the upgrade from 4.2 to 4.3 using sfos-upgrade from Openrepos. Everything went fine, except at the end of running post_sfos-upgrade, which ended with this :

- Refreshing pkcon's caches:
Failed to contact PackageKit: Error calling StartServiceByName for org.freedesktop.PackageKit: Failed to activate service 'org.freedesktop.PackageKit': timed out (service_start_timeout=25000ms)
- Checking for updates per pkcon:
Failed to contact PackageKit: Error calling StartServiceByName for org.freedesktop.PackageKit: Failed to activate service 'org.freedesktop.PackageKit': timed out (service_start_timeout=25000ms)

Now PackageKit isn’t running anymore, and complains about libzypp when I try to run the service :

[root@Xperia10-DualSIM nemo]# systemctl status packagekit.service
● packagekit.service - PackageKit Daemon
   Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static; vendor preset: enabled)
  Drop-In: /usr/lib/systemd/system/packagekit.service.d
           └─01-home-mount.conf, 01-prevent-start.conf
   Active: inactive (dead)
[root@Xperia10-DualSIM nemo]# systemctl start packagekit.service
[root@Xperia10-DualSIM nemo]# systemctl status packagekit.service
● packagekit.service - PackageKit Daemon
   Loaded: loaded (/usr/lib/systemd/system/packagekit.service; static; vendor preset: enabled)
  Drop-In: /usr/lib/systemd/system/packagekit.service.d
           └─01-home-mount.conf, 01-prevent-start.conf
   Active: inactive (dead)

nov. 05 19:11:53 Xperia10-DualSIM systemd[1]: Starting PackageKit Daemon...
nov. 05 19:11:53 Xperia10-DualSIM PackageKit[16693]: daemon start
nov. 05 19:11:53 Xperia10-DualSIM PackageKit[16693]: daemon quit
nov. 05 19:11:53 Xperia10-DualSIM packagekitd[16693]: Failed to load the backend: opening module zypp failed : /usr/lib/libzypp.so.1722: undefined symbol: _ZN4YAML15ostream_wrapper5writeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
nov. 05 19:11:53 Xperia10-DualSIM systemd[1]: Started PackageKit Daemon.

I checked software versions using “zypper pa”, but I don’t see anything abnormal.