[SOLVED] Can't update my apps after system update 1.0.05.16 - need help.
Hi to all
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): Code:
warning: Could not canonicalize hostname: JollaNow the problems: 1. Installation of new version failed and show me this output: Code:
[root@Jolla rpmbuild]# pkcon install-local -y /home/nemo/Downloads/hebrewvkbnew-2ar-3lang-0.8-1.armv7hl.rpmCode:
[root@Jolla rpmbuild]# rpm -qi hebrewvkbnew-2ar-3langCode:
[root@Jolla rpmbuild]# pkcon remove -y hebrewvkbnew-2ar-3lang3. 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 :cool: Some advice ? Maybe I should add something new to the SPEC file because of this error ?: Code:
warning: Could not canonicalize hostname: JollaCode:
Name: hebrewvkbnew-2ar-3lang |
Re: Can't update my apps after system update 1.0.05.16 - need help.
Probably related to this topic -> https://together.jolla.com/question/...name-released/
It has been "fixed" in the latest release but apparently now causes problems in your specific case ;) You could try to rename/delete /etc/hostname then try to build again and see if it makes any difference. I'm not a programmer, but maybe "Build Host" must have the same "name".... Your first "Build Host" was 'localhost.localdomain' and now it's 'Jolla'. |
Re: Can't update my apps after system update 1.0.05.16 - need help.
I already tried this trick, i changed hostname file from Jolla to localhost and rebooted. Created new package, now warning disappeared, but installation of package over the old package is still the same problem...
|
Re: Can't update my apps after system update 1.0.05.16 - need help.
Empty Conflicts field for test
Also, there is coult be %post script exit error if killall can't kill something. |
Re: Can't update my apps after system update 1.0.05.16 - need help.
Quote:
2. "Also, there is coult be %post script exit error if killall can't kill something." - Never used it before and it alwys worked.. But I also already tested with this suggestion from "together". Tried to add this " || :" to LAST line in %post section -> repackaged -> same result. like this: Code:
%postlike this: Code:
%post |
Re: Can't update my apps after system update 1.0.05.16 - need help.
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. |
Re: Can't update my apps after system update 1.0.05.16 - need help.
Quote:
Now I'm at home and I will try to recreate again some variations. About killall commands, I also don't think that here a problem, because I also tested without killall commands at all (except killall maliit-server) and still got the same error trough update package :( P.S. Also tried to do all this stuff under USER... Same result... |
Re: Can't update my apps after system update 1.0.05.16 - need help.
Ok.. tested on my home network, same results - can't update :(
But like I mentioned before, my new package can be installed without any errors/problems as NEW app. Also it can be reinstalled the same version over the already installed. But if I will create another new version and will change only version number (0.8 -> 0.9). I start to get the same error during installation :( Something mystical... P.S. When I run rpm -qi package I can see also this lines: Relocations : (not relocatable) and Signature : (none) What this mean ? And maybe it should be completed somehow ? But I also saw this on previous versions and all worked without any problem :( |
Re: Can't update my apps after system update 1.0.05.16 - need help.
Ok, finally I found how to fix my problem :D
It come from my spec file from previous version (see first post) I just removed %preun section, changed a little %post and %postun to this: Code:
%post |
| All times are GMT. The time now is 12:50. |
vBulletin® Version 3.8.8