![]() |
2014-04-15
, 01:07
|
Posts: 539 |
Thanked: 518 times |
Joined on May 2010
@ nanaurbusiness
|
#2
|
![]() |
2014-04-15
, 03:13
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#3
|
![]() |
2014-04-15
, 06:39
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#4
|
![]() |
2014-04-15
, 12:42
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#5
|
Empty Conflicts field for test
Also, there is coult be %post script exit error if killall can't kill something.
%post fc-cache -f killall maliit-server killall jolla-messages killall jolla-email killall jolla-notes killall jolla-clock || : %preun
%post fc-cache -f killall maliit-server killall jolla-messages || : killall jolla-email || : killall jolla-notes || : killall jolla-clock || : %preun
|
2014-04-15
, 15:07
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#6
|
![]() |
2014-04-15
, 16:49
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#7
|
Hmm so far only "error" I have seen is the DNS issue, which I dont care about.
Did you try to add an exit 0 ?
I think what coderus is suggesting is to add some error controls.
Fx, test if there is anything to kill at all and only use kill if there is, else, exit 0.
I see you are building as root, not sure if that could cause these issues.
![]() |
2014-04-15
, 17:34
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#8
|
![]() |
2014-04-16
, 20:45
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#9
|
%post if [ $1 = 1 ]; then // Do stuff specific for first install echo "It's first time install" fc-cache -f killall maliit-server killall jolla-messages killall jolla-email killall jolla-notes killall jolla-clock else if [ $1 = 2 ]; then // Do stuff specific to upgrades killall maliit-server fi fi %postun if [ $1 = 0 ]; then // Do stuff specific to uninstalls rm -rf /usr/share/maliit/plugins/com/jolla/custom-he killall maliit-server else if [ $1 = 1 ]; then // Do stuff specific to upgrades echo "It's just upgrade" fi fi
After system update (1.0.5.16), I decided to update my apps (hebrew vkb). I changed only one file (layouts-he.conf) and number of version in SPEC.
New package created without any problem, BUT I saw this line in output, that I don't remember on previous system version (1.0.4.20):
Now the problems:
1. Installation of new version failed and show me this output:
3. When both of them uninstalled, my new package installed without any problem and errors. Also I can reinstall the same version without any problem.
4. Tried create another new version and install over the already installed (new) version and also get the same errors
Some advice ?
Maybe I should add something new to the SPEC file because of this error ?:
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.
Last edited by Schturman; 2014-04-16 at 20:45.