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



Cannot Install updates - not connected to internet error

Author (Read 5494 times)

0 Members and 2 Guests are viewing this topic.

Re: Cannot Install updates - not connected to internet error
« Reply #10 on: December 28, 2022, 07:44:36 AM »
 

bobtastic

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

  • CPU: Intel Core i7-6700HQ 2.60Ghz

  • MEMORY: 16Gb

  • VIDEO CARD: Nvidia
I've switched back to Windows 11 and it appears the issue with updates and slow performance has been resolved by recreating and formatting all HD partitions. Never experienced an issue like this before but at least it's now sorted. May try Linux again in the future as I liked what I saw but for now I'm just happy having a functioning laptop again.

Thanks for all your contributions!
 

Re: Cannot Install updates - not connected to internet error
« Reply #9 on: December 27, 2022, 11:11:59 AM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1848
    Posts
  • Reputation: 284
  • Linux Lite Member
    • View Profile

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x
Couple things to look at / try..
Internet works, just not "update" sites.. and slow boots ...

Both could be related...


Check date/time - if more than 5 minutes out of sync you could being denied....


Disable IPv6 - from network GUI


Check/Try a different DNS server (make note of prior) May need to be tried on router


Set a static IP address




Check whats slowing... 3 different commands

Code: [Select]
systemd-analyze


systemd-analyze blame


systemd-analyze critical-chain
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
 

Re: Cannot Install updates - not connected to internet error
« Reply #8 on: December 26, 2022, 04:01:15 PM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 815
    Posts
  • Reputation: 147
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
The long shot was that there may be some filtering on the router or ISP.  In your position, I'd be tempted to try another connection just to try to eliminate that.  If you have a cooperative friend/relative/neighbour who uses a different ISP you could quickly see if the updates work on their set up.
clueless
 

Re: Cannot Install updates - not connected to internet error
« Reply #7 on: December 26, 2022, 03:30:29 PM »
 

bobtastic

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

  • CPU: Intel Core i7-6700HQ 2.60Ghz

  • MEMORY: 16Gb

  • VIDEO CARD: Nvidia
No i've not set any ad blocking, firewall or filtering. It's a completely fresh install of Linux Lite 6.2.

I'm a complete loss as to what could be happening but it does seem more than a coincidence that when I had Windows 11 installed, I was having the same issue so i'm thinking it could be more than software related. I've tried flashing the bios with the latest updates from Acer but no joy.

What is strange is that I am still able to access the internet, it's just the OS updates for Linux and Windows which don't connect. Also strange that app installers are slow. I have a feeling all of that is related.


The 'edit - add error 56' note wasn't an instruction, I added it because I had edited my post with the error 56 information.  Apologies for any confusion.

Your curl checking address 142.250.187.206:80 gets a connection reset rather than the expected response from the server.  The outcome is that the update script aborts as if there's no internet connection.  I'm on a different service provider in the UK and the check works as expected for me.

Long shot, but do you have anything like ad blocking, privacy filtering or other smart/security/safety protection with your router ?

Maybe need to wait to see if anyone else has any ideas.
 

Re: Cannot Install updates - not connected to internet error
« Reply #6 on: December 26, 2022, 03:17:37 PM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 815
    Posts
  • Reputation: 147
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
The 'edit - add error 56' note wasn't an instruction, I added it because I had edited my post with the error 56 information.  Apologies for any confusion.

Your curl checking address 142.250.187.206:80 gets a connection reset rather than the expected response from the server.  The outcome is that the update script aborts as if there's no internet connection.  I'm on a different service provider in the UK and the check works as expected for me.

Long shot, but do you have anything like ad blocking, privacy filtering or other smart/security/safety protection with your router ?

Maybe need to wait to see if anyone else has any ideas.
clueless
 

Re: Cannot Install updates - not connected to internet error
« Reply #5 on: December 26, 2022, 12:13:13 PM »
 

bobtastic

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

  • CPU: Intel Core i7-6700HQ 2.60Ghz

  • MEMORY: 16Gb

  • VIDEO CARD: Nvidia
Adding the verbose resulted in this:

*   Trying 142.250.187.206:80...
* Connected to google.com (142.250.187.206) port 80 (#0)
> GET / HTTP/1.1
> Host: google.com
> User-Agent: curl/7.81.0
> Accept: */*

* Recv failure: Connection reset by peer
* Closing connection 0

It hung on the "> Accept: */*" row for a minute or so then showed "linux ~ 127"

Yes, I have a standard home network setup. Single router with devices connected via wifi or Ethernet.

Sorry, I don't know how to add error 56.



The first commands check a few basic things about your connectivity which all appear ok.

The last command (curl) replicates what the update script checks before proceeding.  It should get a near instant response but looks like it is timing out (or giving error 56) for you despite you having a working connection.  Try the adding the verbose option to the command to see if it gives any more information on why this is happening.

Code: [Select]
curl -vsk google.com
I'm assuming you are on a straight forward home network - let us know if that's not the case.
I wouldn't have thought this is related to previous Windows 11 not updating - but I don't really know.
5 minute boot time - seems long for that spec machine, could possibly be related, but I think we need to sort the updates first.

Edit - add error 56
« Last Edit: December 26, 2022, 12:15:01 PM by bobtastic »
 

Re: Cannot Install updates - not connected to internet error
« Reply #4 on: December 26, 2022, 11:13:31 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 815
    Posts
  • Reputation: 147
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
The first commands check a few basic things about your connectivity which all appear ok.

The last command (curl) replicates what the update script checks before proceeding.  It should get a near instant response but looks like it is timing out (or giving error 56) for you despite you having a working connection.  Try the adding the verbose option to the command to see if it gives any more information on why this is happening.

Code: [Select]
curl -vsk google.com
I'm assuming you are on a straight forward home network - let us know if that's not the case.
I wouldn't have thought this is related to previous Windows 11 not updating - but I don't really know.
5 minute boot time - seems long for that spec machine, could possibly be related, but I think we need to sort the updates first.

Edit - add error 56




« Last Edit: December 26, 2022, 11:42:23 AM by stevef »
clueless
 

Re: Cannot Install updates - not connected to internet error
« Reply #3 on: December 26, 2022, 09:55:44 AM »
 

bobtastic

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

  • CPU: Intel Core i7-6700HQ 2.60Ghz

  • MEMORY: 16Gb

  • VIDEO CARD: Nvidia
Thanks for your response. After I clicked Install Updates, the dialogue box takes just under 2 minutes to appear. I'm not sure if you wanted specific pieces of info so I just copied everything shown. My system is also taking a very long time to boot - some 5 minutes. I don't think it should be that slow with my processor and RAM. Do you think it could be related to my update issue?

Code: [Select]
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp7s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 30:65:ec:b6:62:d8 brd ff:ff:ff:ff:ff:ff
3: wlp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 94:e9:79:68:85:5b brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.62/24 brd 192.168.1.255 scope global noprefixroute wlp6s0
       valid_lft forever preferred_lft forever
    inet6 fe80::5bfb:a668:b531:4e90/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

Code: [Select]
ifconfig -a
enp7s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 30:65:ec:b6:62:d8  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 588  bytes 49218 (49.2 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 588  bytes 49218 (49.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.62  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::5bfb:a668:b531:4e90  prefixlen 64  scopeid 0x20<link>
        ether 94:e9:79:68:85:5b  txqueuelen 1000  (Ethernet)
        RX packets 20053  bytes 20714398 (20.7 MB)
        RX errors 0  dropped 364  overruns 0  frame 0
        TX packets 7971  bytes 1921836 (1.9 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Code: [Select]
ip r
default via 192.168.1.1 dev wlp6s0 proto dhcp metric 600
192.168.1.0/24 dev wlp6s0 proto kernel scope link src 192.168.1.62 metric 600

Code: [Select]
route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         vodafone.broadb 0.0.0.0         UG    600    0        0 wlp6s0
192.168.1.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp6s0

Code: [Select]
ip n
192.168.1.133 dev wlp6s0 lladdr 48:d6:d5:19:8b:a2 REACHABLE
192.168.1.1 dev wlp6s0 lladdr a0:b5:3c:58:40:0d REACHABLE
192.168.1.185 dev wlp6s0 lladdr 22:90:39:24:4f:25 STALE
fe80::a2b5:3cff:fe58:400d dev wlp6s0 lladdr a0:b5:3c:58:40:0d router STALE

Code: [Select]
arp -a
Chromecast.broadband (192.168.1.133) at 48:d6:d5:19:8b:a2 [ether] on wlp6s0
vodafone.broadband (192.168.1.1) at a0:b5:3c:58:40:0d [ether] on wlp6s0
Hong-Tin-s-S22-Ultra.broadband (192.168.1.185) at 22:90:39:24:4f:25 [ether] on wlp6s0

Code: [Select]
ping _gatewayterminate command with 'ctrl c'

PING _gateway (192.168.1.1) 56(84) bytes of data.
64 bytes from vodafone.broadband (192.168.1.1): icmp_seq=1 ttl=64 time=19.7 ms
64 bytes from vodafone.broadband (192.168.1.1): icmp_seq=2 ttl=64 time=3.45 ms
64 bytes from vodafone.broadband (192.168.1.1): icmp_seq=3 ttl=64 time=3.29 ms
64 bytes from vodafone.broadband (192.168.1.1): icmp_seq=4 ttl=64 time=2.60 ms
64 bytes from vodafone.broadband (192.168.1.1): icmp_seq=5 ttl=64 time=6.10 ms
64 bytes from vodafone.broadband (192.168.1.1): icmp_seq=6 ttl=64 time=3.20 ms
64 bytes from vodafone.broadband (192.168.1.1): icmp_seq=7 ttl=64 time=2.48 ms
64 bytes from vodafone.broadband (192.168.1.1): icmp_seq=8 ttl=64 time=3.43 ms
64 bytes from vodafone.broadband (192.168.1.1): icmp_seq=9 ttl=64 time=6.65 ms
64 bytes from vodafone.broadband (192.168.1.1): icmp_seq=10 ttl=64 time=2.02 ms

Code: [Select]
ping 8.8.8.8terminate command with 'ctrl c'

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=119 time=11.3 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=119 time=9.81 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=119 time=11.7 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=119 time=9.75 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=119 time=14.1 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=119 time=9.42 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=119 time=11.7 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=119 time=11.4 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=119 time=9.87 ms

Code: [Select]
ping google.comterminate command with 'ctrl c'

PING google.com (142.250.187.206) 56(84) bytes of data.
64 bytes from lhr25s33-in-f14.1e100.net (142.250.187.206): icmp_seq=1 ttl=119 time=8.99 ms
64 bytes from lhr25s33-in-f14.1e100.net (142.250.187.206): icmp_seq=2 ttl=119 time=10.0 ms
64 bytes from lhr25s33-in-f14.1e100.net (142.250.187.206): icmp_seq=3 ttl=119 time=10.2 ms
64 bytes from lhr25s33-in-f14.1e100.net (142.250.187.206): icmp_seq=4 ttl=119 time=9.38 ms
64 bytes from lhr25s33-in-f14.1e100.net (142.250.187.206): icmp_seq=5 ttl=119 time=9.17 ms
64 bytes from lhr25s33-in-f14.1e100.net (142.250.187.206): icmp_seq=6 ttl=119 time=10.6 ms
64 bytes from lhr25s33-in-f14.1e100.net (142.250.187.206): icmp_seq=7 ttl=119 time=9.88 ms
64 bytes from lhr25s33-in-f14.1e100.net (142.250.187.206): icmp_seq=8 ttl=119 time=9.22 ms
64 bytes from lhr25s33-in-f14.1e100.net (142.250.187.206): icmp_seq=9 ttl=119 time=10.1 ms
64 bytes from lhr25s33-in-f14.1e100.net (142.250.187.206): icmp_seq=10 ttl=119 time=9.07 ms

Code: [Select]
curl -sk google.com[/quote]
Not a lot happened. It stayed on the white cursor for a while then the prompt changed to "linux ~ 56"
 

Re: Cannot Install updates - not connected to internet error
« Reply #2 on: December 26, 2022, 09:11:29 AM »
 

stevef

  • Global Moderator
  • Gold Level Poster
  • *****
  • 815
    Posts
  • Reputation: 147
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core i5-4460

  • MEMORY: 16Gb

  • Kernel: 5.x
Topic moved to Updates section

Quote
nothing happens for a while

The 'Your Computer is not connected' error should be almost instant, so a significant delay implies something is odd. Approx how long is the delay for you ?

When your system is up and running on the internet (but not updating) please can you open a terminal by pressing 'Ctrl', 'Alt' and 'T' keys together.

In the terminal window run the following commands and post back.

Code: [Select]
ip a
Code: [Select]
ifconfig -a
Code: [Select]
ip r
Code: [Select]
route
Code: [Select]
ip n
Code: [Select]
arp -a
Code: [Select]
ping _gatewayterminate command with 'ctrl c'

Code: [Select]
ping 8.8.8.8terminate command with 'ctrl c'

Code: [Select]
ping google.comterminate command with 'ctrl c'

Code: [Select]
curl -sk google.com

clueless
 

Cannot Install updates - not connected to internet error
« Reply #1 on: December 26, 2022, 07:44:02 AM »
 

bobtastic

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

  • CPU: Intel Core i7-6700HQ 2.60Ghz

  • MEMORY: 16Gb

  • VIDEO CARD: Nvidia
Hi,
I'm a complete Linux noob so please be patient with me.

I've installed Linux Lite on my Acer VN7-792G, complete install no dual boot with Windows. Initially I encountered the "Reset System" boot loop which i've managed to resolve via using Secure boot mode to point to the Grub.efi. It took a while to boot but I got there in the end but I'll want to fix that going forward - any help on that would be appreciated as well as I read it was recommended to have Secure boot disabled but the issue at hand I need help with is that I can't Install updates.

When click on "Install Updates" from the Menu, nothing happens for a while then I get a dialogue saying " Your computer is not connected to the internet, Linux Lite cannot check for updates. Please check your internet connection and try again."
My computer is connected to the internet and I am able to view webpages in the browser and download things but update is not working. I've also tried plugging into my router via an ethernet cable and still the same issue.
The odd thing is that I had the same issue with my previous Windows installation on Windows 11. Was able to access internet and download but could not download Windows updates.

Can anyone please help me shed some light on this issue?

« Last Edit: December 28, 2022, 12:24:56 PM by stevef »
 

 

-->
X Close Ad

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