# webapp-config -U -h localhost -d phpwebsite/ 0.10.1-r1 * Cannot upgrade from phpwebsite-0.10.0-r2 to 0.10.1-r1- * You can only upgrade to a later version of phpwebsite * * If you really do want to replace phpwebsite with 0.10.1-r1, * please use /usr/sbin/webapp-config -C first Fatal error: Cannot upgrade to a completely different package Fatal error(s) - aborting Reproducible: Always Steps to Reproduce: 1. 2. 3.
Since this has a GLSA out on it. I think this could be considered a serious issue. Wendall
This is user error, combined with a bug in the parameter checking. The command you want is: webapp-config -U -h localhost -d phpwebsite/ phpwebsite 0.10.1-r1 You missed out the 'phpwebsite', which tells webapp-config what app you want to upgrade to. It's kinda silly that you have to tell it which app, but that's what you have to do. I'll improve the error checking to catch this. The check will appear in the next release of webapp-config. Best regards, Stu
Great thanks Stuart. I figured I might be missing something. I was confused by the error message. I assumed it would grab the application information from the .webapp file in the directory. Maybe this should be the behavior of the function? Dunno, that's up to you. Wendall