We have moved to a new Sailfish OS Forum. Please start new discussions there.

How to remove phonehook ? [answered]

asked 2015-05-12 10:01:36 +0300

Pakke gravatar image

updated 2015-05-12 21:08:31 +0300

kimmoli gravatar image

Before updating to SailfishOS I need to remove phonehook but I don't know how ?

[root@Jolla nemo]# pkcon remove  phonehook
Fatal error: Subprocess failed. Error: RPM failed: patching file compositor.qml
Unreversed patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file compositor.qml.rej
patching file connectivity/ConnectionSelector.qml
Unreversed patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file connectivity/ConnectionSelector.qml.rej
error: 0x450fe10creun(phonehook-0.2.1-1.armv7hl) scriptlet failed, exit status 1
error: phonehook-0.2.1-1.armv7hl: erase failed

How to remove it ?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by simo
close date 2015-05-12 21:29:21.118306


Did you install it with warehouse? If yes, try to uninstall it with this app.

wanderer ( 2015-05-12 10:12:09 +0300 )edit

Have you tried simply long pressing the app icon and then pressing the X that appears?

Sandoz ( 2015-05-12 10:40:19 +0300 )edit

I installed it from rpm file, but now I tried to remove it from Warehouse -> it gives the same failure notice: ... error: 0x455b010creun(phonehook-0.2.1-1.armv7hl) scriptlet failed, exit status 1 error: phonehook-0.2.1-1.armv7hl: erase failed

Pakke ( 2015-05-12 11:10:39 +0300 )edit

At first I tried to remove by clicking 'X' from the app icon but its failing. Then trying some commands without success (phonehook-daemon was stopped during commands):

[root@Jolla nemo]# pkcon remove phonehook [root@Jolla nemo]# rpm -e phonehook-0.2.1-1.armv7hl [root@Jolla nemo]# zypper rm phonehook-0.2.1-1.armv7hl

Pakke ( 2015-05-12 12:11:16 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2015-05-12 12:40:52 +0300

tex gravatar image

updated 2015-05-12 13:16:58 +0300

It's been covered in openrepos.net in Phonehook's comments, exactly here: https://openrepos.net/comment/6088#comment-6088 but in short:

cd /usr/share/lipstick-jolla-home-qt5/
patch -N -p4  < /usr/share/phonehook/phonehook-lipstick-v3.patch;
pkcon remove phonehook
edit flag offensive delete publish link more


Yep, that helped, now it's removed.

Thank you !

[root@Jolla nemo]# cd /usr/share/lipstick-jolla-home-qt5 [root@Jolla lipstick-jolla-home-qt5]# patch -N -p4 < /usr/share/phonehook/phonehook-lipstick-v3.patch; [root@Jolla lipstick-jolla-home-qt5]# pkcon remove phonehook ... Removing packages Resolving dependencies Removing packages [root@Jolla lipstick-jolla-home-qt5]#

Pakke ( 2015-05-12 13:19:12 +0300 )edit

Question tools



Asked: 2015-05-12 10:01:36 +0300

Seen: 603 times

Last updated: May 12 '15