I tried:
[root@Sailfish armv7hl]# rpm -Uvh ./home/.zypp-cache/packages/jolla/mw/armv7hl/PackageKit-zypp-1.1.13+git9-1.14.5.jolla.armv7hl.rpm ./home/.zypp-cache/packages/jolla/mw/armv7hl/PackageKit-1.1.13+git9-1.14.5.jolla.armv7hl.rpm
error: open of ./home/.zypp-cache/packages/jolla/mw/armv7hl/PackageKit-zypp-1.1.13+git9-1.14.5.jolla.armv7hl.rpm failed: No such file or directory
error: open of ./home/.zypp-cache/packages/jolla/mw/armv7hl/PackageKit-1.1.13+git9-1.14.5.jolla.armv7hl.rpm failed: No such file or directory
[root@Sailfish armv7hl]# rpm -Uvh /home/.zypp-cache/packages/jolla/mw/armv7hl/PackageKit-zypp-1.1.13+git9-1.14.5.jolla.armv7hl.rpm /home/.zypp-cache/packages/jolla/mw/armv7hl/PackageKit-1.1.13+git9-1.14.5.jolla.armv7hl.rpm
warning: /home/.zypp-cache/packages/jolla/mw/armv7hl/PackageKit-zypp-1.1.13+git9-1.14.5.jolla.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY
error: Failed dependencies:
PackageKit = 1.1.9+git9-1.11.1.jolla is needed by (installed) PackageKit-glib-1.1.9+git9-1.11.1.jolla.armv7hl
[root@Sailfish armv7hl]#
No .
before /home/…
.
Tried, no success. It says that another version is already installed or something… "
Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY
error: Failed dependencies:
PackageKit = 1.1.9+git9-1.11.1.jolla is needed by (installed) PackageKit-glib-1.1.9+git9-1.11.1.jolla.armv7hl ". In your post the version of the two rpms is …1.14.1 but I have 1.14.5.
OK, the version numbers of the packages I listed are from the Early Access (EA) version. They might have changed in the final release, as it most likely is a newer build.
Tracking down dependencies with rpm
instead of zypper
/PackageKit is cumbersome, and your device’s state might be different from what mine was at the time of the error. So, it’s a tad difficult to guide you, but you need to track down the dependencies, search the cache for needed packages, and install them manually with rpm
.
Where to search and how? The message say that "PackageKit = 1.1.9+git9-1.11.1.jolla is needed by (installed) PackageKit-glib-1.1.9+git9-1.11.1.jolla.armv7hl "
I have done a say release to the new version, does this make any trouble?
I’m not quite sure how to guide you from here, but after updating my X from Sailfish OS 3.4.0.22 (EA) to 3.4.0.24 (GA) just now, it has the following packages installed:
[nemo@Sailfish ~]$ rpm -qa 'PackageKit-*'
PackageKit-glib-1.1.13+git9-1.14.5.jolla.armv7hl
PackageKit-Qt5-0.9.6+git-1.5.1.jolla.armv7hl
PackageKit-zypp-1.1.13+git9-1.14.5.jolla.armv7hl
Try to locate the rpm files with the same version numbers and rpm -Uvh
them in.
(I need to catch some Zzz…)
I tried again to find any packadekit:
[root@Sailfish .dot]# find /home/ -name 'PackageKit-*'
/home/.zypp-cache/packages/jolla/mw/armv7hl/PackageKit-Qt5-0.9.6+git-1.5.1.jolla.armv7hl.rpm
/home/.pk-zypp-dist-upgrade-cache/packages/jolla/mw/armv7hl/PackageKit-Qt5-0.9.6+git-1.5.1.jolla.armv7hl.rpm
/home/.pk-zypp-dist-upgrade-cache/packages/jolla/mw/armv7hl/PackageKit-zypp-1.1.13+git9-1.14.5.jolla.armv7hl.rpm
/home/.pk-zypp-dist-upgrade-cache/packages/jolla/mw/armv7hl/PackageKit-1.1.13+git9-1.14.5.jolla.armv7hl.rpm
/home/.pk-zypp-dist-upgrade-cache/packages/jolla/mw/armv7hl/PackageKit-glib-1.1.13+git9-1.14.5.jolla.armv7hl.rpm
So the ones from your list are located in:
/home/.pk-zypp-dist-upgrade-cache/packages/jolla/mw/armv7hl/
Then from there:
[root@Sailfish armv7hl]# rpm -Uvh Pack* warning: PackageKit-1.1.13+git9-1.14.5.jolla.armv7hl.rpm: Header V3 DSA/SHA1 Signature, key ID f2633ee0: NOKEY Preparing... ################################# [100%] package PackageKit-glib-1.1.13+git9-1.14.5.jolla.armv7hl is already installed package PackageKit-zypp-1.1.13+git9-1.14.5.jolla.armv7hl is already installed package PackageKit-1.1.13+git9-1.14.5.jolla.armv7hl is already installed package PackageKit-Qt5-0.9.6+git-1.5.1.jolla.armv7hl is already installed
Then I checked:
[root@Sailfish armv7hl]# systemctl start packagekit Job for packagekit.service failed because the control process exited with error code. See "systemctl status packagekit.service" and "journalctl -xe" for details.
[root@Sailfish armv7hl]# journalctl -xe
-- Logs begin at Wed 2020-10-14 11:54:01 EEST, end at Wed 2020-10-14 12:10:37 EEST. --
Oct 14 12:08:56 Sailfish systemd[4131]: booster-qt5.service: Failed with result 'exit-code'.
Oct 14 12:08:57 Sailfish systemd[4131]: booster-qt5.service: Service hold-off time over, scheduling re
start.
Oct 14 12:08:57 Sailfish systemd[4131]: booster-qt5.service: Start request repeated too quickly.
Oct 14 12:08:57 Sailfish systemd[4131]: booster-qt5.service: Unit entered failed state.
Oct 14 12:08:57 Sailfish systemd[4131]: booster-qt5.service: Failed with result 'start-limit'.
Oct 14 12:08:57 Sailfish systemd[4131]: Starting Application launch booster for Qt5...
-- Subject: Unit UNIT has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has begun starting up.
Oct 14 12:08:57 Sailfish booster-qt5[8339]: /usr/libexec/mapplauncherd/booster-qt5: error while loadin
g shared libraries: libicui18n.so.63: cannot open shared object file: No such file or directory
Oct 14 12:08:57 Sailfish systemd[4131]: booster-qt5.service: Main process exited, code=exited, s
tatus=127/n/a
Oct 14 12:08:57 Sailfish systemd[4131]: Failed to start Application launch booster for Qt5.
-- Subject: Unit UNIT has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has failed.
Ant then:
`[root@Sailfish armv7hl]# 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: failed (Result: exit-code) since Wed 2020-10-14 12:08:27 EEST; 4min 13s ago
Process: 8230 ExecStart=/usr/libexec/packagekitd $PACKAGEKIT_ARGS (code=exited, status=127)
Main PID: 8230 (code=exited, status=127)
Oct 14 12:08:27 Sailfish systemd[1]: Starting PackageKit Daemon…
Oct 14 12:08:27 Sailfish packagekitd[8230]: /usr/libexec/packagekitd: error while loading shared…ory
Oct 14 12:08:27 Sailfish systemd[1]: packagekit.service: Main process exited, code=exited, stat…/n/a
Oct 14 12:08:27 Sailfish systemd[1]: Failed to start PackageKit Daemon.
Oct 14 12:08:27 Sailfish systemd[1]: packagekit.service: Unit entered failed state.
Oct 14 12:08:27 Sailfish systemd[1]: packagekit.service: Failed with result ‘exit-code’.
Hint: Some lines were ellipsized, use -l to show in full.