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

Removed package leaves the package folder - why ?

asked 2014-02-18 15:16:09 +0200

Schturman gravatar image

I asked it yesterday on TMO, but no answers yet... I don't know why, but uninstallation of all my packages deletes all files but leaves a folders of the packages. I can't understand why... In debian packages it was easy - deleted all what was installed. Here is a example of my .spec file. It's a simple package with only 3 files: .desktop, .png and aliendalvik-restart that located in /usr/share/jolla-adrestartfolder. Only this folder leaves after uninstallation. (I know, I know the "jolla-" prefix is for jolla apps, it's just example of my first package) Here is my .spec file: http://pastie.org/8745182

Can someone tell me what wrong here please ?

We tried with Coderus to find the reason, but without success :(

I found one interesting explanation about postuninstall script (%postun): http://wiki.mandriva.com/en/Development/Howto/RPM See here the specific stuff: http://pastie.org/8745193

In this way I can add rm -rf /usr/share/jolla-adrestart to this %postun section and it will work perfectly. But I still don't know if this correct way to do for removing packages... Please any advice ?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
0

answered 2014-02-18 15:31:34 +0200

Cmdr_Zod gravatar image

I think this is a duplicate of this question: https://together.jolla.com/question/24792/option-to-purge-removed-applications/

edit flag offensive delete publish link more

Comments

Not exactly, my app is not leave files (conf etc), when I uninstall them, they leave the empty app folder in /usr/share, whete app was installed...

Schturman ( 2014-02-18 15:57:01 +0200 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2014-02-18 15:16:09 +0200

Seen: 145 times

Last updated: Feb 18 '14