Problems Updating
-
I am getting the message :
" failed to synchronize cache for repo 'updates' "
on a friend's machine when I try to update. Evidently this is what he got too. It is Fedora 24 it looks like with kernel version 4.6.5-300.
I have tried general updates, upgrading the dnf plugin itself, and just tried go to version 25 without upgrading. So far all has failed with same message. Going to try messing with repos next.
Anyone have any ideas?
-
@jmoore Yes. Fedora current is 29, and 30 will be out soon. The repos for 24 and 25 have probably been depreciated and taken offline.
My advice, for what it's worth, copy /home, reinstall OS, programs, users, and move the /home files back (may need to reassign permissions on the files as well.) Most desktop settings are included inside the user folder in /home, so everything seems to be the same after you're done.
-
Think its a mirror issue. Dont think this one is responding. Looking up how to choose a different mirror.
-
@jmoore said in Problems Updating:
Think its a mirror issue. Dont think this one is responding. Looking up how to choose a different mirror.
You likely will not find any mirrors for 24
-
@JaredBusch Your probably right. I'm guessing thats why my repos 'fedora' and 'updates' arent working but who knows. I always keep my stuff up to date so I never see this weird stuff.
-
@jmoore said in Problems Updating:
@JaredBusch Your probably right. I'm guessing thats why my repos 'fedora' and 'updates' arent working but who knows. I always keep my stuff up to date so I never see this weird stuff.
The only reason I even know about Fedora turning off their repositories is from someone bringing me a laptop they never updated.
If you look hard enough, some of the mirrors might still be available. I'd not recommend it tho.
-
@travisdh1 Yep same problem here, was just never updated.
-
@jmoore said in Problems Updating:
@travisdh1 Yep same problem here, was just never updated.
After that experience, I took to making a short script that does the system update once every 6 months. I at least tell the users and schedule it for a time they'd never be using it. That way I'm not relying on them clicking the box to install updates. Between that and dnf-automatic, they're never behind. (The script is literally @scottalanmiller 4 command to update Fedora from that thread.)
-
Looks like this archive is still online...
https://pubmirror1.math.uh.edu/fedora-buffet/archive/fedora/linux/releases/24/Server/x86_64/os/
-
@scottalanmiller Thanks! That goes in my fedora.repo file correct just under the [baseurl] line correct? Anywhere else so I do this right?
-
Well I can update but still not upgrade. Thinking a repo issue also. Still working on it. I know I could just backup and reinstall Fedora but I'm stubborn and want to learn how to do this lol.
-
@jmoore said in Problems Updating:
Well I can update but still not upgrade. Thinking a repo issue also. Still working on it. I know I could just backup and reinstall Fedora but I'm stubborn and want to learn how to do this lol.
It's a "one time" learn, though. Learning something that you can't use ever again is bad learning. Spend that time learning something repeatable.
-
@scottalanmiller said in Problems Updating:
@jmoore said in Problems Updating:
Well I can update but still not upgrade. Thinking a repo issue also. Still working on it. I know I could just backup and reinstall Fedora but I'm stubborn and want to learn how to do this lol.
It's a "one time" learn, though. Learning something that you can't use ever again is bad learning. Spend that time learning something repeatable.
Not to mention that you are bound to come across struggles when upgrading so many versions at once. You are going down an unnecessary rabbit trail.
-
Ok yeah you all were right, it was too much trouble going from one version to another. I got him updated to 25 then encountered the same problems all over again when trying to go to 26. Just different issues. So just backed up and rebuilt and done. Using dnf-automatic and rsync to keep things up to date and backed up. Thanks for the input all.
-
@jmoore said in Problems Updating:
Ok yeah you all were right, it was too much trouble going from one version to another. I got him updated to 25 then encountered the same problems all over again when trying to go to 26. Just different issues. So just backed up and rebuilt and done. Using dnf-automatic and rsync to keep things up to date and backed up. Thanks for the input all.
You will still have to manually handle the distro upgrades twice a year
-
@JaredBusch Oh yes I know. I do that on my own. I'll remind him.