From Upgrade to 4.1.0.24 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 pkcon
, first).
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 zypper
, not rpm
), RedHat / Fedora (use dnf
/ yum
, not rpm
), Debian (use apt
/ aptitude
, not dpkg
), Ubuntu (use pkcon
/ apt
, not dpkg
) etc.
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.