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)

coderus 2015-06-22 08:17

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
It's absolutely normal behaviour you described.

romu 2015-06-22 10:31

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I would prefer to say: "it's the way it's written". But from the end user perspective, that's all but logical.

PatsJolla 2015-06-22 12:28

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@romu
check in the apps pages if the repective repository is still activated.
I had it already two times that warehouse lost track of all repositories.
Then you have to enable each single repository before the update procedure works again as you expect.

I don't know why this happens and it happened both times during the night so I could never "see" it happen.

I also currently have another bug: When I click "view full list" the app gets stuck. I can wait several ours but the list never gets completed. I think there is a dependency loop that doesn't get resolved. But I'm guessing here.

Casanunda 2015-06-22 16:37

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
This is getting off-topic in this thread (better in Openrepos-thread), but I can confirm the problems (or "oddities" or whatever you want to call it) in Warehouse app and also using pkcon update:

Since some point a few weeks ago (I THINK this was already before OS update), Warehouse (and also "pkcon refresh && pkcon update) don't show any available updates. Warehouse app shows the "Updates available" remorse timer, but clicking on it shows a blank update page ("queue is empty").
When I then open open the "recent updates" page and click on a recently changed app that I have installed on my system, the app's description page shows me that a newer version of the app is available, giving me the option to upgrade.

I can reproduce that e.g. with the "search engines for Sailfish browser" app that was posted as an example before.
Repository is enabled.

This is not only one app, but apparently ALL apps installed from openrepos that behave this way.

ThomasAH 2015-06-25 08:58

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I also seem to be having a problem with Patchmanager.

I have the latest version of Sailfish installed (1.1.6.27). I installed Warehouse from Openrepos RPM file (0.3-30) yesterday and then went on to install some apps like MeeCast, PowerMenu2, Dolphin Keyboard, etc.

Then I installed Patchmanager with some patches. Afterwards I tried to start Patchmanager, but it didn't respond (it keeps showing the loading screen with the spinning circle). I rebooted the device, still it won't start. Then I thought ok, time to retry. So, I tried to remove all the patches and the patchmanager itself, however, I get an error while trying to remove. I searched through this thread and I couldn't find that anyone had a similar problem.

The error I get is:
Code:

Status: cannot-remove-system-package
Extra details:
Subprocess failed. Error: RPM failed: /var/tmp/rpm-tmp.kD5ZPt: line 2: //: is a directory
error: 0x44bea0e4reun(sailfishos-gallery-zoom-0.0.3-1.armv7hl) scriptlet failed, exit status 2
error: sailfishos-gallery-zoom-0.0.3-1.armv7hl: erase failed

This error occures when trying to remove 2 patches through Warehouse: Gallery Image Zoom and Calendar Cover Upcoming. They both give exactly the same error.

So I tried to completely remove the patchmanager and patches through Terminal by following the instructions in this post by coderus. However, when trying:
Code:

pkcon remove ausmt
I get the same error (slightly differently formulated):
Code:

...
Starting
Removing packages
Resolving dependencies
Removing packages
Fatal error: Subprocess failed. Error: RPM failed: /var/tmp/rpm-tmp.gdaLee:  line 2: //: is a directory
error: 0x457e50e4reun(sailfishos-gallery-zoom-0.0.3-1.armv7hl) scriptlet failed, exit status 2
error: sailfishos-gallery-zoom-0.0.3-1.armv7hl: erase failed

No idea what to do now. Does anyone have a clue maybe? :)

mrsellout 2015-06-25 09:20

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Seems to be a problem with the sailfishos-gallery-zoom-0.0.3-1.armv7hl patch, have you tried removing it?

Code:

pkcon remove sailfishos-gallery-zoom

ThomasAH 2015-06-25 09:38

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

Originally Posted by mrsellout (Post 1474746)
Seems to be a problem with the sailfishos-gallery-zoom-0.0.3-1.armv7hl patch, have you tried removing it?

Code:

pkcon remove sailfishos-gallery-zoom

Yeah sorry, forgot to mention that. I already tried it and it gives the exact same error.

ThomasAH 2015-06-29 09:35

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Alright, for anyone experiencing the same error as I described above; I managed to fix it! :)

I succeeded simply by disabling the Patchmanager and Gallery Zoom patch repositories (Sfiet_Konstantin and Ancelad, respectively). After I did this, I did a 'pkcon refresh' in Terminal, and magically Patchmanager started without a problem. I then was able to remove the rebelling Gallery Zoom patch by performing 'pkcon remove sailfishos-gallery-zoom'.

All works fine now. Hope this can be of use to anybody else :)

anig 2015-07-06 06:27

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Patch for showing calendar events on the lockscreen is ready. on open repos
https://openrepos.net/content/anig/p...nts-lockscreen

romu 2015-07-06 08:02

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@anig my heroe!

Some personal feedback:
  • Thanks, it a great first step!
  • I think it could be better with a smaller font
  • Like for the MeeCast widget, I'm not fan at all about the surrounding frame, would be nice to try with just a left border

vistaus 2015-07-06 10:48

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I like it, but it takes way too much space 'cause it shows too much entries. Would be nice if a future update would include a settings panel to adjust how many entries will show :)

Schturman 2015-07-07 07:59

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

Originally Posted by vistaus (Post 1475814)
I like it, but it takes way too much space 'cause it shows too much entries. Would be nice if a future update would include a settings panel to adjust how many entries will show :)

Until we get setting, you can control the number of days by editing this file:
Code:

/usr/share/patchmanager/patches/lockscreen-upcoming/unified_diff.patch
1. Unapply patch
2. Change number "7" to number of days that you want. Look in to this line:
Code:

endDate: QtDate.addDays(wallClock.time, 7)
3. Apply patch again
4. Restart homescreen to see the result.

Schturman 2015-07-10 07:10

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
2 Attachment(s)
Hi @anig.
Sometimes I have a small bug, it show me the same event twice. See pic #1 instead pic #2. I don't think it related to your patch, because after restart of lipstick it starts to show correctly again. But anyway maybe you want to check...

anig 2015-07-11 08:04

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
I will take a look, it could be similar to the repeating event issue If had on the Calendar cover patch.

arzy 2015-07-13 12:49

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
2 Attachment(s)
Hi,

my phone has been having quite a lot of problems lately, mostly getting the appstore register error and then problems with some/all programs and also losing all network connections mobile and wifi. Reboot has helped everytime though it has started to be quite a pain in the ***.

So why am I writing about it to this thread? Well, I thought I start to switch off the patches Iīve installed one by one and see if some of them is the cause for the behavior but when I opened the patchmanager from Settings I got the Homescreen backup -warning, Iīll put a picture of it also to this message.

Now most of the progs arenīt working, smsī arenīt coming through etc. and Iīm scared to reboot the phone. I havenīt so far done that much of CLI using, mostly just downloading torrents with aria2c, and I donīt seem to have zypper nor able to install it with pkcon.

So in short: Please help me! :D

Schturman 2015-07-13 13:33

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

pkcon install zypper
zypper in -f lipstick-jolla-home-qt5


arzy 2015-07-13 15:25

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
1 Attachment(s)
Thank you for fast response,

I had to take a risk and reboot since nothing were working, I couldnīt even start Terminal but luckily the phone started normally. But Iīm still unable to install zypper, it looks like Jolla donīt have the file online anymore.

Could I possibly use some other version? For example from here: http://rpmfind.net/linux/rpm2html/se...per(armv7hl-32)

Schturman 2015-07-13 16:04

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
something wrong with your repo. just now tested to install and it installed without errors.
try first: pkcon refresh

If also not help, wait for someone who understand in the repos problem.
You also can try to reinstal with:
pkcon install lipstick-jolla-home-qt5

late88 2015-07-13 17:46

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

your repo is set to 'latest' which is wrong. See https://together.jolla.com/question/...elease-latest/ and an answer by jolla https://together.jolla.com/question/...8#post-id-3968

arzy 2015-07-13 18:23

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Thank you very much Schturman and late88!

The acute problem is now solved and I also found a possible reason for the other instability; btrfs probs because of too low free space though time will tell if that was the reason

R1v3r 2015-07-16 06:02

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Anyone updated to newest sailfish and checked, which patches work and which are not? :)

I am currently downloading update and soon going to update :P

Edit:

Working
Select text in browser
Show month and DoW heading
Upcoming events in calendar
Camera device at front
wall clock
Zoom patch
Maze lock
date in one line
disable volume warning
eventsview devicelock return
conversation backround avatar
enter key to send messages
Calllog timedisplay
Remorse timeouts control

Something strange, I lost patches that are concernin UI...

So Eventsview + launcher combined patch for example is not shown anymore in Patchmanager view in settings...

Plz help :)

nodevel 2015-07-16 07:39

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

Originally Posted by R1v3r (Post 1476822)
Something strange, I lost patches that are concernin UI...

So Eventsview + launcher combined patch for example is not shown anymore in Patchmanager view in settings...

Plz help :)

It's not really strange. These patches by coderus depend on a single Lipstick version (from the last update) and as Lipstick was updated to a newer version, these packages were automatically removed as part of the upgrade process.

You can try fixing the patches by changing their required Lipstick version in the spec and rebuilding them by yourself - for all we know, they could still work (even though I doubt it, as Lipstick is moving quite fast as we're approaching Sailfish 2.0).

R1v3r 2015-07-16 07:55

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

Originally Posted by nodevel (Post 1476833)
It's not really strange. These patches by coderus depend on a single Lipstick version (from the last update) and as Lipstick was updated to a newer version, these packages were automatically removed as part of the upgrade process.

You can try fixing the patches by changing their required Lipstick version in the spec and rebuilding them by yourself - for all we know, they could still work (even though I doubt it, as Lipstick is moving quite fast as we're approaching Sailfish 2.0).

Thanks for the quick response!

Ok. It seems that in my "skills" I need to wait to coderus update these patches or just wait for 2.0 and see, what it gives :)

Thaodan 2015-07-16 11:59

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Any other workaround is to install the patches by rpm --nodeps -i

vistaus 2015-07-17 18:02

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

Originally Posted by R1v3r (Post 1476840)
Thanks for the quick response!

Ok. It seems that in my "skills" I need to wait to coderus update these patches or just wait for 2.0 and see, what it gives :)

Same here. Lack of skills will require me to wait for coderus to update the patches. If coderus can at least update Launcher Combined Patch and Eventsview Controls with settings applet patches then I will once again donate 10 euros to him :)

Schturman 2015-07-17 19:03

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Same here.. Most of patches work, only "Eventsview controls attached page" and "add Sneak Peak option to Display settings" not work. that mean you can't install it.
I just unpackaged them and moved files manually where them should be and all work without any problem...

vistaus 2015-07-18 17:06

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
My Jolla locked up again so I bought a new one as there's clearly a hw fault. So coderus has about a week until I get my *new* Jolla so he has time to update all and I will do 20 euros donation instead of 10 if he does update the patches I mentioned :)

madry72 2015-07-18 17:18

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

Originally Posted by Schturman (Post 1477057)
Same here.. Most of patches work, only "Eventsview controls attached page" and "add Sneak Peak option to Display settings" not work. that mean you can't install it.
I just unpackaged them and moved files manually where them should be and all work without any problem...

Manual placing of files to corresponding directories is not necessary. Installing proper packages from terminal with devel-su privileges and --force option worked like a charm in my case. These command worked for me:

zypper install --force sailfishos-displa
y-sneak-peak sailfishos-eventsview-controls-attached

aQUICK1 2015-07-18 17:23

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

Originally Posted by vistaus (Post 1477120)
My Jolla locked up again so I bought a new one as there's clearly a hw fault. So coderus has about a week until I get my *new* Jolla so he has time to update all and I will do 20 euros donation instead of 10 if he does update the patches I mentioned :)

Crazy! Why not 100 euro lol, Coderus cant be forced but wil apreciate ur 100 don lol:D

vistaus 2015-07-18 17:30

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
'Cause I'm donating to various devs/companies and independent creators (a few YT'ers, for example) and that's already quite costly when you count the totals. If I donate 100 euros to coderus then others won't get my money for this month and I don't like that idea ;)

coderus 2015-07-18 18:31

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
all patches will be updated when it will be possible for me :)

Schturman 2015-07-19 04:47

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

Originally Posted by madry72 (Post 1477122)
Manual placing of files to corresponding directories is not necessary. Installing proper packages from terminal with devel-su privileges and --force option worked like a charm in my case. These command worked for me:

zypper install --force sailfishos-displa
y-sneak-peak sailfishos-eventsview-controls-attached

Yep I know, just wanted to check manually ;)

coderus 2015-07-21 18:11

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
updated most of patches. if something missing let me know.

Leinad 2015-07-21 19:19

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

Originally Posted by coderus (Post 1477483)
updated most of patches. if something missing let me know.

thanks! more network modes is missing

coderus 2015-07-21 19:52

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
more network modes is not just a patch, it requires new ofono build, i'll do it later.

carmenluci 2015-07-21 20:43

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Thank you!! Will you update "Lockscreen mediaplayer controls" too?

coderus 2015-07-21 21:17

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
what wrong with "Lockscreen mediaplayer controls"?

cvp 2015-07-21 21:27

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
cant install combined and other patches

i try this:
http://talk.maemo.org/showpost.php?p...&postcount=935

but get this:
http://www11.pic-upload.de/21.07.15/txkuegn3sy2n.png

coderus 2015-07-21 21:28

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
'm sure you need to refresh repos before installing any package. asking same question after each package update isn't good. try to remember this essential thing now.

cvp 2015-07-21 21:31

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
uh, can you tell me how i do that? refresh over warehouse app not helping me.

EDIT:
ok pkcon update helps me :)


All times are GMT. The time now is 03:52.

vBulletin® Version 3.8.8