Internet and apps not working after update

asked 2019-03-08 03:59:46 -0500

lbt000 gravatar image

I currently have fedora-26, and I tried to update to fedora-28. Ever since I restarted my computer after the download, I have had many problems, and I’m not sure what to do. After the restart, I noticed the lock screen wallpaper changed, so I assume the update was successful. The first thing I did was try to change the wallpaper back, but when the settings app opened the old wallpaper was listed and the app froze. When I tried to quit the app I got a message that it wasn’t responding and I could force quit it so I did. Since I have restarted my computer, I get the old wallpaper (i.e. it only was changed the very first time).

Now I am able to use the terminal, document viewer, files, and a few other apps. However, Chrome, Firefox, and gnome-software won’t open. I can open settings, but if I click on any option then the app freezes.

In the terminal, I checked which fedora I’m using and got 26, so I guess the update failed.

In the terminal, if I try sudo anything it hangs indefinitely. If I try dnf check-update I get the message “Error: Failed to synchronize cache for repo ‘fedora-Cisco-openh264’”.

Looking at other answers, I noticed that the file /etc/resolv.conf is empty. From what I understand, I need to add a line with a name server, but I can’t do this without sudo.

I would appreciate any suggestions.

edit retag flag offensive close merge delete

Comments

sudo is not working? can you do a sudo su -? (it will ask for your user's password)

uname -a and cat /etc/*-release will tell you what kernel/release you booted.

what does ping bbc.com return?

FYI, my resolv.conf looks like this:

# Generated by NetworkManager
search myrouter
nameserver 192.168.2.1
nameserver fe80::1%wlp3s0

if you can login as root or in case sudo works, I would suggest: dnf distro-sync

florian gravatar imageflorian ( 2019-03-08 16:01:46 -0500 )edit

Thanks for the suggestions. Strangely, after my battery died and I rebooted, its back to normal. I had rebooted it several times prior with no change though, so I don’t know what’s different about shutting down due to low battery. After these earlier reboots the lock screen went back to my old one. When it started back up again after dying, the lock screen had changed to the new one, but it changed itself back...

I would still like to have an idea of what caused this if anybody has ideas. I would guesss sudo su - would hang just like any other command I tried with sudo because ...

lbt000 gravatar imagelbt000 ( 2019-03-09 12:08:32 -0500 )edit

... it never prompted me for my password. I tried strace sudo and didn’t really understand the output. Whenever I was trying ping it would also give some error message and hang indefinitely. Control c wouldn’t kill it.

lbt000 gravatar imagelbt000 ( 2019-03-09 12:12:12 -0500 )edit

please check nameserver...and get a your public network dns ip or input like a google... name server 8.8.8.8 The battery related to the notebook is based on the power saving setting, and it is designed to operate in the hibernation state when the battery capacity is low or the battery is in use. When the power is turned on or the environment setting is changed, it operates in the normal state. Therefore, you can change the power-related settings in Preferences.

simmon gravatar imagesimmon ( 2019-03-12 01:15:53 -0500 )edit

Step 1: get a working Fedora 28 live image usb stick Step 2: use gnome-disks to mount your system partition. Remember the path it gets mounted to! Step 3: boot from usb. open a terminal. become root. Enter "chroot {pathyouremembered}" Step 4: dnf --allowerasing --releasever=28 --setopt=deltarpm=false distro-sync

It may complain about the halve eaten system, force it to go on. If your system is not fully F28, it should fix your problem.

rdtcustomercare gravatar imagerdtcustomercare ( 2019-03-12 12:04:31 -0500 )edit