maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   dpkg: clean uninstall (https://talk.maemo.org/showthread.php?t=64045)

b0unc3 2010-10-19 16:54

dpkg: clean uninstall
 
Hello,

I've some problem on making a clean uninstall of my package ( quick-launch, ver. 0.9 in svn ).
All the package's files are removed, but the app still shows up when I run dpkg -l and it is marked as 'rc'.
Also when I run dpkg -L the output is : Package `quick-launch' does not contain any files (!)
Any hints on how to make a clean uninstall ?
Thanks.

Rob1n 2010-10-19 18:26

Re: dpkg: clean uninstall
 
You need to purge the install completely:
Code:

dpkg --purge quick-launch

b0unc3 2010-10-19 23:18

Re: dpkg: clean uninstall
 
Quote:

Originally Posted by Rob1n (Post 845292)
You need to purge the install completely:
Code:

dpkg --purge quick-launch

Yes by running dpkg --purge everything is clean.
But I want to avoid this, I want (if it's possible) to make a clean uninstall, so users doesn't have to run dpkg --purge (I presume appmanager never run this command).

javispedro 2010-10-19 23:34

Re: dpkg: clean uninstall
 
Quote:

Originally Posted by b0unc3 (Post 845551)
Yes by running dpkg --purge everything is clean.
But I want to avoid this, I want (if it's possible) to make a clean uninstall, so users doesn't have to run dpkg --purge (I presume appmanager never run this command).

No; note that rc means "application uninstalled; configuration files left behind". What this means is that if you reinstall it, it will reuse those configuration files.

b0unc3 2010-10-19 23:39

Re: dpkg: clean uninstall
 
Quote:

Originally Posted by javispedro (Post 845566)
No; note that rc means "application uninstalled; configuration files left behind". What this means is that if you reinstall it, it will reuse those configuration files.

Uhm... and why dpkg -L says : Package `quick-launch' does not contain any files (!) ?

javispedro 2010-10-20 00:08

Re: dpkg: clean uninstall
 
Quote:

Originally Posted by b0unc3 (Post 845570)
Uhm... and why dpkg -L says : Package `quick-launch' does not contain any files (!) ?

Because you didn't define any configuration file, probably.:p

b0unc3 2010-10-21 14:28

Re: dpkg: clean uninstall
 
So, I should release it as is and go ahead ?

javispedro 2010-10-21 21:49

Re: dpkg: clean uninstall
 
Yes, nothing wrong.


All times are GMT. The time now is 21:19.

vBulletin® Version 3.8.8