Updated to Ubuntu 20.04.3 and now apps don't work

Asked by Dan Smith

So I turned on my laptop after the update and now when trying to use my web browser nothing will load. Tried using my other app and it just sits there and loads. Other Ubuntu apps seem to work but not downloaded apps. When trying sudo apt update I get a 0% working message and then a bunch of err messages.

One of the errors after doing sudo apt update

 Err:1 http://security.ubuntu.com/ubuntu focal-security InRelease Could not resolve 'security.ubuntu.com'

At the bottom of the terminal it says

W: Some index files failed to download. They have been ignored, or old ones used instead.

Anything helps cause currently my laptop is useless. If you need any other information let me. Everything looks fine but until you try and use downloaded apps they just don't load. So Mozzila Firefox will open but no pages load. Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Could not resolve 'security.ubuntu.com'

This can be an indication that you do not have any internet connection.
This would also explain that firefox does not load any pages.

Which way of connection do you have (cable, WLAN) and can you check that it correctly works?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Reboot your router and then the PC

Revision history for this message
Dan Smith (caboose342) said :
#3

I tried wired and wireless just now and they both did not work. Phone works on the internet and my PC also works on the internet. Shows it connected and everything on my laptop but still no loading.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Can you ping 8.8.8.8 OK?
Did you reboot the router?

Revision history for this message
Dan Smith (caboose342) said :
#5

Looks like pinging 8.8.8.8 worked! This is the commands I did.

$ cd /etc/
$ sudo nano resolv.conf

At the bottom I added in

nameserver 8.8.8.8
nameserver 8.8.4.4

Then I wrote the 20 lines and it worked!

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

That file is generated so won't last a reboot. If you get updated and then reboot is it still OK?

Revision history for this message
Dan Smith (caboose342) said :
#7

It did not last the reboot! Idk lol

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

Set the DNS servers in your network manager application. You'll be OK

Revision history for this message
Dan Smith (caboose342) said :
#9

How would I go about doing that if I may ask?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

If you look online you'll probably find a guide. If not then I'll reply later.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11
Revision history for this message
Dan Smith (caboose342) said :
#12

So I tried the link you sent and that did not change anything. Maybe there is something I'm not getting. It would be nice if it didn't get deleted Everytime I do the 8.8.8.8

Revision history for this message
Bernard Stafford (bernard010) said (last edit ):
#13

It could be a hardware problem with the laptop network card (NIC)
Hook up Ethernet wired:
In the terminal: cat /sys/class/net/eth0/carrier -the output should be "1"
  or Then : cat /sys/class/net/eth0/operstate -the output should be "up"
Hook up wireless wlan:
In the terminal: cat /sys/class/net/wlan0/carrier -the output should be "1"
 or Then: cat /sys/class/net/wlan0/operstate -the output should be "up"
output of up is internet is up
ls /sys/class/net/ -shows the installed NIC interfaces.

Can you help with this problem?

Provide an answer of your own, or ask Dan Smith for more information if necessary.

To post a message you must log in.