[wpkg-users] Silently drop a package

Rainer Meier r.meier at wpkg.org
Tue Nov 18 13:55:29 CET 2008


Hi Vladimir/Andreas,

Vladimir Psenicka wrote:
> Upgrade (increase revision number) package SU1 without upgrade command
> and remove command, then remove package from profile:

This is entirely correct.
Here's some explanation to make it more clear...

Removing the package from the profile will make WPKG to execute the
remove commands defined within the package. As you do not want it to
execute any remove commands you have to upgrade the package (on server
side) to contain either an empty remove command or no remove command at
all. Then increase the (server side) revision number of that package and
remove it from the profile (do not delete it completely).

On next WPKG execution WPKG will do the upgrade-before-remove process
and first upgrade to the new revision available on the server side
(note, the upgrade commands might be empty too). Then WPKG writes the
upgraded package definition to the local settings (which contains empty
uninstall string). Next step is to remove the package (executes nothing
if no remove commands are existing).

br,
Rainer



More information about the wpkg-users mailing list