Patchmanager 3 Beta

Rating: 
4.89189
Your rating: None Average: 4.9 (37 votes)

Patchmanager 3 public beta

Make sure to unapply patches before upgrade from Patchmanager 2. Installation will fail if any patch is applied.

If you have installed prepatch, please remove it before patchmanager3 installation.

Changes between version 2 and version 3:

  • Not changing original files. Patches applied to fakeroot located at /tmp/patchmanager
  • OS update friendly. Patchmanager3 automatically detects when user start downloading an update and unapplying all patches
  • Patches can be reordered to be applied in correct order. Just drag to left and drop at required position
  • Collect information about possible conflicting patches. Visit patch info page.
  • Automatic check for updates for online catalog patches. Notificaiton will popup if new version of patch will be released

Patchmanager daemon acts like proxy, filtering open calls and decide if application should open original file or fake one.

Useful environment variables:
NO_PM_PRELOAD=1 disables preload plugin from filtering calls
PM_PRELOAD_DEBUG=1 enables additional stderr output for preload plugin

Keep in mind this is beta version and should contain a lot of bugs. However it was tested for a while.

Please report all bugs to: https://talk.maemo.org/showthread.php?t=92935

You can collect patchmanager logs by running:
devel-su journalctl -al _COMM=jolla-settings + _EXE=/usr/sbin/patchmanager + _EXE=/usr/bin/patchmanager-dialog > patchmanager.log

Sources available here: https://github.com/sailfishos-patches/patchmanager/tree/patchmanager3

Translate project: https://www.transifex.com/coderus/patchmanager3

 

Big thanks jakibaki for Prepatch. This was very good idea to create such way for applying patches. You can review my plugin here: https://github.com/sailfishos-patches/patchmanager/blob/patchmanager3/sr...

 

Application versions: 
AttachmentSizeDate
File patchmanager-3.0.58-1.126.1.jolla_.armv7hl.rpm334.41 KB22/05/2019 - 17:53
File patchmanager-3.0.58-1.126.1.jolla_.i486.rpm353.98 KB22/05/2019 - 17:53
Changelog: 

Fixed some crashes

Comments

isgursoy's picture

I would donate if somebody can took me out of that inconsistent state. Any devs around?

coderus's picture

Please try forum or telegram group, it's very inconvenient to chat here

isgursoy's picture

Is there any way to restore functionality without reflashing?

coderus's picture

devel-su rm /var/lib/patchmanager/ausmt/packages
devel-su rm -rf /var/lib/patchmanager/ausmt/patches

and then reboot

isgursoy's picture

I messed repos, tried to upgrade to 3 while 2 is there and patches are applied then i cant unapply patches from the Settings app. I see a 2.x update and option to switch 3 but both options are complaining about unapplied patches. And i can not unapply patches as i told. How to fix?

isgursoy's picture

OS is 2.2 on xperia

Rafaelvlmendes's picture

Sorry. I search the error. Patch filecase case erro in PM3. Only uninstalled patch Filicase and all fix. Sorry and thank for ur attention

Rafaelvlmendes's picture

PM3 after installed and reboted device PM3 unapply app patchs abd when open PM3 only looping and no show patchs installeds

patchmanager3_beta's picture

give me a log file

inta's picture

@olf yeah, I know where it is, but it should not be necessary if versions match. By the way, that issue is fixed by the last update. Great work coderus :)

inta's picture

I think I had to enable developer tools before I was able to install pm3.

Though it does not work as expected. I'm not able to install patches, the version is printed red and says not compatible (although 2.2.0.29 is installed).

olf's picture

@inta, enable the "developer mode" in (i.e. "of") Patchmanager (in its top pulley)!
Then try again.

pdelfes's picture

Coderus, while using your patch "launcher combined patches" i can't uninstall apps directly from the grid shortcuts anymore. If i long press a shortcut it shows the "X" as expected but after the remorse counter ends, nothing happens and the app still there. Theres any fix to this? Thank you.

coderus's picture

please report it to forum thread or telegram channel, thanks!

mixmax's picture

I have a problem with this update : 'web catalog' patches work correctly, but each patch to openrepos by storeman causes troubles. They can work properly, but don't support reboot. After that, I can't run patchmanager settings, and no patch works. Thanks and regards

coderus's picture

I tried my best, but can't understand what is you problem, please explain.

mixmax's picture

Difficult for me to explain more, because of my english and because I don't understand what happen, and when it happens ! But the problem happended yesterday with a 'web catalog' patch, and as I could not access to patchmanager settings any more to uninstall it, I decided to reset my device !

coderus's picture

With what patch?

mixmax's picture

The last time, it was the patch witch makes vibrate buttons and icons-buttons, from the 'web catalog' of patchmanager settings. But before, it was any patch from storeman, apparently randomly ; sometimes it worked and suddenly, it stoped to work. That's why it's difficult to identify the cause of this trouble.

coderus's picture

Well, I'd like to see step by step guide for problem reproduction

mixmax's picture

What is "step by step guide" ?

coderus's picture

when you explain problem step by step.

 

1 opened something

2 did something

3 installed something

4 then did something

5 and something happened

mixmax's picture

OK, not easy because it seems random...

1. I install patchmanager

2. I install different patches, from 'web catalog' of PM Settings

3. No problem when I reboot (expect the last one I installed)

4. I install other patches from openrepos, with storeman

5. It works

6. I reboot

7. It doesn't work any more...

I precise my device is an Intex aqua fish, modified with your script, aqua fish to Jolla C.

It could be a possible cause of the trouble, or another one, till when I reset my device , I run the script, I upgrade the system to 2.2.0.29 version, and I can't install again Storeman or warehouse, zypper returns me some problems of dependances.

It is incomprehensible for me, so I will try without the script aqua fish to jolla C.

Vieno's picture

I'm having the same problem. Trying to solve the problem was unsuccessful so far. When trying to delete all patches via a terminal session it says '... is not owned by any package'. Thats weird. May I find out more tonite.

mixmax's picture

Too bad for you, but I am relieved ! I am not alone !...

coderus's picture

Did you installed prepatch before?

Vieno's picture

No, I didn't. Is that needed? I try to send a log as well after I'm back from work.

Vieno's picture

All my problems vanished after the recent update. Thanks a lot for the essential app.

mixmax's picture

Well, it seems to be a bug with PM3 ?... Because I reset my device, upgrade SFOS to 2.1.4.14, I didn't apply aqua-fish-to-jolla-c, and the problem is the same.
Moreover, it is impossible to install PM2 still update to PM3, storeman start to work, but stop immediatly, and stay to "uninstalled", so for the moment, I will keep my device as it stood, i.e. identified like Intex, with SFOS 2.1.4.14, PM3, least possible patches from storeman, and above all avoid reboot !
Ask me if you need more details, I will do my possible, and thanks a lot for your readiness.

coderus's picture

send me log

 

devel-su journalctl -al /usr/sbin/patchmanager > patchmanager.log

Pages