Timeline for Creating a Debian package with correct uninstaller
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 16, 2019 at 9:41 | comment | added | cas | that's a very vague description of the problem. What, exactly, do you mean by "the software does not seem to be removed when uninstalling with the software manager in Linux Mint"? What have you done to investigate the issue? Which (if any) files are being left behind when the package is removed? | |
| Oct 16, 2019 at 4:16 | comment | added | Stephen Kitt | What does dpkg -L mydemopkg output, when the package is installed? | |
| Oct 15, 2019 at 20:28 | answer | added | kemotep | timeline score: 2 | |
| Oct 15, 2019 at 20:14 | comment | added | kemotep | Okay I will make an answer. Typically I complete all tasks like this via command-line but being able to double click a .deb, a custom built one at that, is pretty neat! | |
| Oct 15, 2019 at 20:06 | comment | added | gornvix | Ah right. So I installed it by double clicking the ".deb" file, but I'm trying to uninstall with the software manager which is a graphical tool in Linux Mint. As I'm not putting the package in a repository I guess it doesn't matter. | |
| Oct 15, 2019 at 20:02 | comment | added | kemotep | By software manager you mean apt? or some kind of graphical tool? The reason it is not removing your package because it has not been indexed by your package manager. It does not know it even exists because you did not install it using it. Custom packages can be uploaded to a custom repository (which can be a local file directory) to be managed via apt but otherwise the tool you want is dpkg. Should I create an answer out of these comments or are you continuing to have issues? | |
| Oct 15, 2019 at 19:59 | history | edited | Jeff Schaller♦ | edited tags | |
| Oct 15, 2019 at 19:57 | comment | added | gornvix | Yes, it does that (sudo dpkg --remove mydemopkg) with no errors. I guess the software manager needs something more. | |
| Oct 15, 2019 at 19:53 | history | edited | gornvix | CC BY-SA 4.0 | edited title |
| Oct 15, 2019 at 19:52 | comment | added | kemotep | Does dpkg --remove mydemopkg or dpkg --purge mydemopkg remove the package as expected? If not you will need to create prerm and postrm scripts for dpkg to run. | |
| Oct 15, 2019 at 19:51 | history | edited | gornvix | CC BY-SA 4.0 | edited title |
| Oct 15, 2019 at 19:44 | history | edited | gornvix | CC BY-SA 4.0 | added 62 characters in body |
| Oct 15, 2019 at 19:38 | history | asked | gornvix | CC BY-SA 4.0 |