Ask / Submit

Removed package leaves the package folder - why ?

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

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:

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): See here the specific stuff:

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

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

Cmdr_Zod gravatar image

I think this is a duplicate of this question:

edit flag offensive delete publish link more


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 +0300 )edit
Login/Signup to Answer

Question tools

1 follower


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

Seen: 101 times

Last updated: Feb 18 '14