maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak (https://talk.maemo.org/showthread.php?t=92935)

pichlo 2017-04-23 11:15

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1527195)
use terminal. devel-su then pkcon remove packagename-goes-here.

You don't even need devel-su. Weird but true. So much for Sailfish security.

coderus 2017-04-23 15:50

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by pichlo (Post 1527208)
You don't even need devel-su. Weird but true. So much for Sailfish security.

wrong. you need devel-su (devel-su -p would be enough, root is not required) on a normal scenario. But if you installed Warehouse it enables packagekit for everyone: https://github.com/custodian/orn-war...ackagekit.pkla

pichlo 2017-04-23 18:45

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I stand corrected. Pkcon always worked for me without devel-su but I have now tried it on my wife's Jolla without Warehouse installed and indeed, it said "failed to obtain authentication". I correct my statement: so much for Warehouse security ;)

Still, n900user259 wanted to remove a patch which is something you cannot install without Warehouse so chances are pkcon would work for him without devel-su.

coderus 2017-04-23 18:56

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I am just giving 100% correct instructions.

n900user259 2017-04-24 07:04

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1527233)
I am just giving 100% correct instructions.

In my opinion the only instructions worth giving.
And it worked like a charm. :)

This is a non-discussion anyway.
The question/discussion should be about why the patch was removed from Openrepos.net in the first place.

olf 2017-04-24 18:50

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@n900user259: The Patch was most likely removed from your device, because its RPM noted being not compatible with a SailfishOS version you choose to update to. BTW, "no", there cannot be any notification about such situations (RPM spec file conflicts during SailfishOS updates in general) without making SailfishOS updates interactive (which is definitely not desirable).

@pichlo: RPMs (no matter, if from openrepos.net or any other source) can be easily installed without Warehouse, e.g. in a file manager, by pkcon install / install-local, the rpm command etc. Hence devel-su, then pkcon remove is a generic way, which works in any situation.

n900user259 2017-04-24 20:46

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by olf (Post 1527291)
@n900user259: The Patch was most likely removed from your device, because its RPM noted being not compatible with a SailfishOS version you choose to update to.

I don't know why you're explaining all of this. You clearly misunderstood my problem.
The patch was on my phone and working perfectly. I was able to unapply it and reapply without problems.
What I couldn't do however was uninstall it using Warehouse as the patch has been removed from Openrepos.net some time ago.
The only option left was the terminal for which coderus was so kind to give me the proper instructions (Thanks again Coderus).


What this shows is that the system has a flaw. If a developer removes software from Openrepos.net, people who have this software installed on their phone can't uninstall it using Warehouse. They will have to resort to the command line.

Not a problem for me but there are enough people who don't know what a cli is.

olf 2017-04-24 21:21

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@n900user259: Sorry, yes I completely mixed up that first point (and described the scenario of a SailfishOS update silently uninstalling RPMs).
And technically your assessment is absolutely correct.
But as Warehouse is third party software, one cannot blame the Jolla company for that (and I do not dare to blame the spare time developers on Openrepos.net, as I am very thankful for all the useful software they create).

eson 2017-04-25 06:48

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I just did a factory reset and now I don't remember the name of the patch that made phone app always start with visible num pad. :confused:
Please, help!

pichlo 2017-04-25 07:30

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by eson (Post 1527304)
I just did a factory reset and now I don't remember the name of the patch that made phone app always start with visible num pad. :confused:
Please, help!

Patch: Dialer Keypad on by default, perchance?


All times are GMT. The time now is 21:51.

vBulletin® Version 3.8.8