LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updates via GUI - no indicator
#46
This still seems to be an issue under Linux lite 5.2. 
Running lite-updates via the command line I get awk: cmd. line:1: (FILENAME=- FNR=34) fatal: division by zero attempted
Also get the same issue running Linux lite on Virtualbox.

Hacking the lite-updates bash script to test for 0 division when totoal is zero is a workaround.
awk ' BEGIN { FS=" "; total=1;end_download=0} /upgraded/ {total= $1 + $3;FS="[ :]" } /^Get:[[:digit:]]+/ {printf "#Downloading %s %s %s\n",$7,$(NF-1),$NF;if(total >0){print int(($2 - 1) * 100 / total);}
But never done any bash programming and pretty new to linux so no idea why the upgraded match is not being hit?
Reply


Messages In This Thread
Updates via GUI - no indicator - by Derek_ - 01-23-2019, 07:53 AM
Re: Updates via GUI - no indicator - by Valtam - 01-23-2019, 09:12 AM
Re: Updates via GUI - no indicator - by Derek_ - 01-24-2019, 03:29 AM
Re: Updates via GUI - no indicator - by Derek_ - 02-01-2019, 10:44 AM
Re: Updates via GUI - no indicator - by Derek_ - 02-01-2019, 10:29 PM
Re: Updates via GUI - no indicator - by TheDead - 02-01-2019, 11:47 PM
Re: Updates via GUI - no indicator - by Valtam - 02-02-2019, 04:23 AM
Re: Updates via GUI - no indicator - by Derek_ - 02-03-2019, 07:56 AM
Re: Updates via GUI - no indicator - by stevef - 02-06-2019, 08:30 AM
Re: Updates via GUI - no indicator - by Derek_ - 04-25-2019, 07:09 AM
Re: Updates via GUI - no indicator - by Derek_ - 04-25-2019, 07:11 AM
Re: Updates via GUI - no indicator - by Valtam - 04-25-2019, 07:17 AM
Re: Updates via GUI - no indicator - by Derek_ - 04-25-2019, 07:25 AM
Re: Updates via GUI - no indicator - by Valtam - 04-25-2019, 07:27 AM
Re: Updates via GUI - no indicator - by Derek_ - 04-25-2019, 07:36 AM
Re: Updates via GUI - no indicator - by Valtam - 04-25-2019, 07:41 AM
Re: Updates via GUI - no indicator - by Derek_ - 04-25-2019, 08:02 AM
Re: Updates via GUI - no indicator - by Valtam - 04-25-2019, 08:12 AM
Re: Updates via GUI - no indicator - by Derek_ - 04-27-2019, 12:49 PM
Re: Updates via GUI - no indicator - by Derek_ - 04-27-2019, 12:51 PM
Re: Updates via GUI - no indicator - by Valtam - 04-27-2019, 12:55 PM
Re: Updates via GUI - no indicator - by Derek_ - 04-28-2019, 05:24 AM
Re: Updates via GUI - no indicator - by Valtam - 04-28-2019, 05:41 AM
Re: Updates via GUI - no indicator - by stevef - 04-29-2019, 06:01 AM
Re: Updates via GUI - no indicator - by Valtam - 04-29-2019, 06:18 AM
Re: Updates via GUI - no indicator - by stevef - 04-29-2019, 08:41 AM
Re: Updates via GUI - no indicator - by Valtam - 04-29-2019, 10:35 AM
Re: Updates via GUI - no indicator - by stevef - 04-30-2019, 06:22 AM
Re: Updates via GUI - no indicator - by Valtam - 04-30-2019, 06:36 AM
Re: Updates via GUI - no indicator - by Valtam - 04-30-2019, 12:06 PM
Re: Updates via GUI - no indicator - by Valtam - 04-30-2019, 12:13 PM
Re: Updates via GUI - no indicator - by Valtam - 05-01-2019, 08:40 AM
Re: Updates via GUI - no indicator - by Valtam - 05-01-2019, 12:01 PM
Re: Updates via GUI - no indicator - by stevef - 05-01-2019, 02:42 PM
Re: Updates via GUI - no indicator - by Valtam - 05-02-2019, 01:24 AM
Re: Updates via GUI - no indicator - by pblack - 02-28-2021, 11:33 AM

Forum Jump:


Users browsing this thread: 12 Guest(s)