Upgrade to new VM - ghost packages after a restore from the backup.
-
I was in the position of not having enough disk space on my old install to do an inlace update and did not want to mess about trying to change disk sizes - so i installed a new vm with the latest release (2.3.1-RELEASE (amd64)) and then imported the config from a backup.
Once i had fixed a couple of glitches and got everything running again, i am left with a couple of ghost packages.
In the control panel i get…
named Domain Name Service
nrpe2 Nagios NRPEv2 DaemonThese packages seem to no longer be available in the packages - but how do i loose them from the GUI or will they eventually make their way into the packages and i can eventually re-install them?
-
1. Backup
2. Edit your config.xml manually, delete the sections from <installedpackages>that relate to the packages you want to remove. Be careful when editing the XML to preserve the syntax. I suggest using an editor with syntax highlighting (e.g. Atom or VScode) to help you spot errors.
3. Do the same thing for
<menu>, <services>and other sections – best bet is to do a text search for your package name as Phil suggests below...
4. Restore config
That should do it….</services></menu></installedpackages>
-
And you might find entries in the services section. Search for the package name in config.xml, think and remove each bit.
-
good point Phil - I added your suggestion to my last msg ;)
-
Thanks all, i'll have a go at that.