src/lib/lua/updater: correctly report what is about to happen

This improves reporting about action to be performed. Now user is
informed in more standard way if package is new or if it is modification
(and what kind of modification) of installed version.
7 jobs for package-signature in 4 minutes and 11 seconds (queued for 4 seconds)
Status Name Job ID Coverage
  Build
passed build-alpine #402394

00:01:15

passed build-debian-stable #402392

00:01:13

passed build-debian-unstable #402393

00:01:12

 
  Test
failed check #402395

00:02:15

passed lint-c #402397

00:01:02

passed lint-lua #402398

00:00:52

failed valgrind-memcheck #402396

00:02:56

 
Name Stage Failure
failed
valgrind-memcheck Test
make[1]: *** [Makefile:2058: check-TESTS] Error 2
make[1]: Leaving directory '/builds/turris/updater/updater'
make: *** [Makefile:2696: check-valgrind-memcheck-am] Error 2
Uploading artifacts...
test-suite*.log: found 1 matching files
tests/*/*.log: found 54 matching files

tests/*/*.trs: found 54 matching files

Uploading artifacts to coordinator... ok
id=402396 responseStatus=201 Created token=4T49ztK2
ERROR: Job failed: exit code 1
failed
check Test
make[1]: *** [Makefile:2058: check-TESTS] Error 2
make[1]: Leaving directory '/builds/turris/updater/updater'
make: *** [Makefile:2356: check-am] Error 2
Uploading artifacts...
test-suite*.log: found 1 matching files
tests/*/*.log: found 54 matching files

tests/*/*.trs: found 54 matching files

Uploading artifacts to coordinator... ok
id=402395 responseStatus=201 Created token=PrHoVsob
ERROR: Job failed: exit code 1