From Upgrade to 18.104.22.168 problematic - #5 by olf
In general: One shall always use
pkcon for managing packages on SailfishOS!
If its slightly slim feature set is not sufficient, one may resort to
zypper (which has to be installed per
Only use the very low-level package management tool (
rpm on SailfishOS) for queries (i.e.,
rpm -q …) or if you absolutely have to, which is solely the case at the recovery console (which also shall only be used, when you absolutely have to).
BTW, this also applies to other Linux distributions, e.g. SUSE (use
rpm), RedHat / Fedora (use
rpm), Debian (use
dpkg), Ubuntu (use
Additionally and specifically here:
Do not use the option
--force, if you do not know for sure / fully comprehend, what is going wrong (
pkcon knows this option, too).
No matter with which command!
P.S.: I am becoming less and less surprised, that many SailfishOS users run into package management issues a some point, especially when upgrading SailfishOS, if they handle their duties as UNIX system administrators with so little diligence.