Posts: 188
Threads: 32
Joined: Aug 2017
Reputation:
0
05-01-2019, 07:14 PM
(This post was last modified: 05-01-2019, 07:45 PM by Searchernow.)
Jerry,
inxi -C
CPU: Dual core Intel Core i5-3320M (-MT-MCP-) cache: 3072 KB
clock speeds: max: 3300 MHz 1: 1197 MHz 2: 1204 MHz 3: 1200 MHz
4: 1199 MHz
I can't access the other laptop right now, but it also has an i5.
Edit: both laptops have the problem.
SN. I hope my reply has been useful - click Thank on the left.
Posts: 1
Threads: 0
Joined: Feb 2021
Reputation:
0
02-28-2021, 11:33 AM
(This post was last modified: 03-04-2021, 04:10 PM by pblack.)
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?