Creating a WAPT Cleaner package
Published: October 15, 2018 - 12:08 PM
Hey everyone, 
I've performed a WAPT server migration, from machines on server "A" (WAPT 1.3) to server "X" (WAPT 1.5, which was later updated to 1.6).
The problem with this migration is that the machines that underwent the change via waptdeploy reverted their inventory from 1.3 to 1.5, and some package names changed, while other packages disappeared.
However, their inventory remains valid to the client and the console.
I'd like some help creating a cleanup script. I'm wondering if you have a better suggestion than this:
The script runs a `wapt-get list` and then, using a loop, searches for exceptions that I would have listed earlier in a variable.
If it finds the package, it runs a simple `wapt-get forget xxxxxx` followed by a `wapt-get install zzzzz` with the replacement package.
Perhaps I missed a step in waptdeploy to clean up post- or pre-installation. Or perhaps you're looking for some kind of package already available for a similar process?
Thanks in advance
(I'll probably make progress on the system mentioned above and share it with you once it's finished).
I've performed a WAPT server migration, from machines on server "A" (WAPT 1.3) to server "X" (WAPT 1.5, which was later updated to 1.6).
The problem with this migration is that the machines that underwent the change via waptdeploy reverted their inventory from 1.3 to 1.5, and some package names changed, while other packages disappeared.
However, their inventory remains valid to the client and the console.
I'd like some help creating a cleanup script. I'm wondering if you have a better suggestion than this:
The script runs a `wapt-get list` and then, using a loop, searches for exceptions that I would have listed earlier in a variable.
If it finds the package, it runs a simple `wapt-get forget xxxxxx` followed by a `wapt-get install zzzzz` with the replacement package.
Perhaps I missed a step in waptdeploy to clean up post- or pre-installation. Or perhaps you're looking for some kind of package already available for a similar process?
Thanks in advance
(I'll probably make progress on the system mentioned above and share it with you once it's finished).