ntop / ntopng

Web-based Traffic and Security Network Traffic Monitoring
http://www.ntop.org
GNU General Public License v3.0
6.21k stars 651 forks source link

[Regression] Automatic and manual updates are broken #5747

Closed lucaderi closed 3 years ago

lucaderi commented 3 years ago

This problem can be reproduced on 194...

Screen Shot 2021-08-09 at 15 14 55

Manually everything seems to work

root@ntop2:/# apt-get install ntopng Lettura elenco dei pacchetti... Fatto Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto I seguenti pacchetti aggiuntivi saranno inoltre installati: ndpi nprobe ntopng-data pfring pfring-dkms Pacchetti raccomandati: pfring-dkms I seguenti pacchetti saranno aggiornati: ndpi nprobe ntopng ntopng-data pfring pfring-dkms 6 aggiornati, 0 installati, 0 da rimuovere e 32 non aggiornati. È necessario scaricare 48,2 MB di archivi. Dopo quest'operazione, verranno occupati 8.192 B di spazio su disco. Continuare? [S/n]

and

root@ntop2:/# /usr/bin/ntopng-utils-manage-updates -a check-updates-on-demand root@ntop2:/# echo $? 0

cardigliano commented 3 years ago

I tried to reproduce this on the same box but it's working now.. I will keep an eye on that, please let me know if it happens again (before running a manual update)

Screen Shot 2021-08-09 at 16 06 52 Screen Shot 2021-08-09 at 16 15 27
lucaderi commented 3 years ago

This problem is pending since many months unfortunately.

lucaderi commented 3 years ago

Even today broken on 194...

cardigliano commented 3 years ago

Please note that the system is already up to date, this looks like a repo issue which has the yesterday's packages

Screen Shot 2021-08-10 at 09 35 36 Screen Shot 2021-08-10 at 09 35 42
cardigliano commented 3 years ago

It seems ntopng was (correctly) not detecting an update when the revision was unchanged, even with a new version date, however this creates headaches thus we decided to add the date to the check. Fixed in 58a74d3b0c6fe3af97f7e8c24c09c5fd9ebbbbe2

lucaderi commented 3 years ago

Hope it works. Closing for now will reopen if necessary