I created a Debian package installer with a control file and desktop file, for a piece of software with no dependencies. It installs the software as expected, however the software does not seem to be removed when uninstalling with the software manager in Linux Mint. I am wondering if I am missing something i.e. how do I tell the package which files to remove? I don't have a postrm or prerm file. I created the package with:
dpkg-deb --build mydemopkg The control file looks like:
Package: mydemopkg Version: 1.0 Section: Office Priority: optional Architecture: all Maintainer: xxxx yyyy <[email protected]> Description: My blah blah program for blah blah
dpkg --remove mydemopkgordpkg --purge mydemopkgremove the package as expected? If not you will need to create prerm and postrm scripts fordpkgto run.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 viaaptbut otherwise the tool you want isdpkg. Should I create an answer out of these comments or are you continuing to have issues?.deb, a custom built one at that, is pretty neat!dpkg -L mydemopkgoutput, when the package is installed?