You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Updates via GUI - no indicator

Author (Read 15585 times)

0 Members and 1 Guest are viewing this topic.

Re: Updates via GUI - no indicator
« Reply #46 on: February 28, 2021, 06:33:51 AM »
 

pblack

  • New to Forums
  • *
  • 1
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx

  • MEMORY: 8Gb

  • VIDEO CARD: Advanced Micro Devices, Inc. [AMD/ATI]
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?
« Last Edit: March 04, 2021, 11:10:53 AM by pblack »
 

Re: Updates via GUI - no indicator
« Reply #45 on: May 02, 2019, 03:09:07 AM »
 

DeepThought

  • Forum Regular
  • ***
  • 237
    Posts
  • Reputation: 40
  • Linux Lite Member
    • View Profile
    • WKDfm Radio | WKDfm Chat

  • CPU: AMD Turion(tm) 64 x 2 Mobile Technology TL-60

  • MEMORY: 4Gb

  • VIDEO CARD: ATI RS480

  • Kernel: 5.x
Dell Inspiron M5040 using Linux-Lite 4.4 64bit
Code: [Select]
$ inxi -C
CPU:       Dual core AMD E-450 APU with Radeon HD Graphics (-MCP-)
           cache: 512 KB
           clock speeds: max: 1650 MHz 1: 879 MHz 2: 837 MHz
 $

Dell Inspiron 1501 using Linux-Lite 4.4 64bit
 
Code: [Select]
$ inxi -C
CPU:       Dual core AMD Turion 64 X2 Mobile TL-60 (-MCP-) cache: 1024 KB
           clock speeds: max: 1995 MHz 1: 1995 MHz 2: 1995 MHz
 $
Owner and DJ at WKDfm Radio ( www.wkdfm.co.uk )
 

Re: Updates via GUI - no indicator
« Reply #44 on: May 01, 2019, 09:24:09 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Thanks folks :)
 

Re: Updates via GUI - no indicator
« Reply #43 on: May 01, 2019, 03:14:59 PM »
 

Searchernow

  • PayPal Supporter
  • Forum Regular
  • *****
  • 188
    Posts
  • Reputation: 7
  • Linux Lite Member
    • View Profile

  • MEMORY: 4Gb

  • Kernel: 5.x
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.
« Last Edit: May 01, 2019, 03:45:40 PM by Searchernow »
SN.  I hope my reply has been useful - click Thank on the left.
 

Re: Updates via GUI - no indicator
« Reply #42 on: May 01, 2019, 10:42:45 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 777
    Posts
  • Reputation: 143
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
Jerry,

The machine showing the problem has a Quad core Intel Core i5-4460.

Code: [Select]
 stephen  ~  inxi -C
CPU:       Quad core Intel Core i5-4460 (-MCP-) cache: 6144 KB
           clock speeds: max: 3400 MHz 1: 1117 MHz 2: 1433 MHz 3: 1000 MHz
           4: 1235 MHz
 stephen  ~  

Steve
clueless
 

Re: Updates via GUI - no indicator
« Reply #41 on: May 01, 2019, 08:01:06 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Ok, thanks to @DeepThought we may be one step closer. What I need from folk in this thread and from any others that experience this issue is what CPU they are running.

Just run:

Code: [Select]
inxi -C
from your Terminal, and paste the output here. Cheers :)
 

Re: Updates via GUI - no indicator
« Reply #40 on: May 01, 2019, 04:40:47 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Thanks for taking the time to work on this :)
 

Re: Updates via GUI - no indicator
« Reply #39 on: May 01, 2019, 04:27:03 AM »
 

DeepThought

  • Forum Regular
  • ***
  • 237
    Posts
  • Reputation: 40
  • Linux Lite Member
    • View Profile
    • WKDfm Radio | WKDfm Chat

  • CPU: AMD Turion(tm) 64 x 2 Mobile Technology TL-60

  • MEMORY: 4Gb

  • VIDEO CARD: ATI RS480

  • Kernel: 5.x
Hi @Jerry I added set -xv to lite-updates, just before the variables are declared and ran the script.
I have attached the terminal output.
The awk error appears at line 711
Hope this helps
Owner and DJ at WKDfm Radio ( www.wkdfm.co.uk )
 

Re: Updates via GUI - no indicator
« Reply #38 on: April 30, 2019, 08:17:39 AM »
 

DeepThought

  • Forum Regular
  • ***
  • 237
    Posts
  • Reputation: 40
  • Linux Lite Member
    • View Profile
    • WKDfm Radio | WKDfm Chat

  • CPU: AMD Turion(tm) 64 x 2 Mobile Technology TL-60

  • MEMORY: 4Gb

  • VIDEO CARD: ATI RS480

  • Kernel: 5.x
ok :)
Owner and DJ at WKDfm Radio ( www.wkdfm.co.uk )
 

Re: Updates via GUI - no indicator
« Reply #37 on: April 30, 2019, 08:13:17 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Stay on Zenity version please.
 

Re: Updates via GUI - no indicator
« Reply #36 on: April 30, 2019, 08:12:04 AM »
 

DeepThought

  • Forum Regular
  • ***
  • 237
    Posts
  • Reputation: 40
  • Linux Lite Member
    • View Profile
    • WKDfm Radio | WKDfm Chat

  • CPU: AMD Turion(tm) 64 x 2 Mobile Technology TL-60

  • MEMORY: 4Gb

  • VIDEO CARD: ATI RS480

  • Kernel: 5.x
Hi @Jerry  No problem, the machine has been restored back to it's original zenity version of lite-updates, but simple enough to change to the yad version if needed :)
Owner and DJ at WKDfm Radio ( www.wkdfm.co.uk )
 

Re: Updates via GUI - no indicator
« Reply #35 on: April 30, 2019, 08:06:29 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Thanks @DeepThought that should actually help me sought this out :)
Please keep that test machine the way it is and I'll be in touch with you to try some things, if you don't mind.
 

Re: Updates via GUI - no indicator
« Reply #34 on: April 30, 2019, 07:58:34 AM »
 

DeepThought

  • Forum Regular
  • ***
  • 237
    Posts
  • Reputation: 40
  • Linux Lite Member
    • View Profile
    • WKDfm Radio | WKDfm Chat

  • CPU: AMD Turion(tm) 64 x 2 Mobile Technology TL-60

  • MEMORY: 4Gb

  • VIDEO CARD: ATI RS480

  • Kernel: 5.x
Hi @Jerry  I have observed this behaviour myself but because I generally update via the terminal I have ignored it.
Since others have reported this I've done some tests to try and find the problem.

Computer   Dell Inspiron M5040
Processor   AMD E-450 APU with Radeon(tm) HD Graphics
Memory   3632MB (635MB used)
Machine Type   Portable
Operating System   Linux Lite 4.4

Starting with a clean Linux Lite install on first boot I created a restore point using Timeshift before doing anything.
From the Welcome dialog I click on the updates and enter my password, then:

Observations:
progress dialog for updating sources appears and is then replaced with available updates list dialog.
clicking on updates button starts process
downloading updates dialog appears briefly before disappearing.
there is no on screen indication of anything happening, in fact it is only the "hdd activity led" on the front of the laptop that indicates something is going on.
the next dialog to appear is the "updating boot configuration, Please wait ....." and then updates completed dialog and option to view the updates log.

After doing a system restore with Timeshift I changed lite-updates with the one posted by Jerry using yad, and repeated the above with the exact same observations.

I did a system restore once more and did one more test. I started lite-updates from the terminal. The exact same thing happened as per the dialogs, but the terminal showed an error:

Code: [Select]
/usr/bin/lite-updates
awk: cmd. line:1: (FILENAME=- FNR=82) fatal: division by zero attempted
Gtk-Message: 12:15:17.164: GtkDialog mapped without a transient parent. This is discouraged.
File does not exist

The awk message came up when the downloading dialog disappeared.
The GTK message appeared when the updating boot configuration dialog appeared followed by the file does not exist and then the updates completed dialog.

I hope this helps in finding the problem.
DeepThought
Owner and DJ at WKDfm Radio ( www.wkdfm.co.uk )
 

Re: Updates via GUI - no indicator
« Reply #33 on: April 30, 2019, 02:36:58 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Thank you.
 

Re: Updates via GUI - no indicator
« Reply #32 on: April 30, 2019, 02:22:32 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 777
    Posts
  • Reputation: 143
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
Just to confirm, I ran the Yad version update this morning and it appears the overall process has the same cosmetic quirk as with the Zenity code.

After clicking to approve the listed updates, the 'downloading progress' window appears but self closes almost immediately. The expected 'installing progress' window does not appear but after an appropriate time the 'updates completed' window does appear.  Reviewing the log at this point reports the update required 37.6MB download.

I'll try to recall and revert my desktop tweaks and report any changes.

Thanks for reading.
clueless
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section