After online upgrade to v. 9, unable to update
I have a strange problem with Mageia after doing an online upgrade from v. 8. to v. 9.
When I try to run an update, I get the follwoing error: Code:
# urpmi --auto-update https://wiki.mageia.org/en/Finding_Mageia_rsync_servers https://mirrors.mageia.org/ https://wiki.mageia.org/en/Mageia_9_Errata I did follow one of the suggestions. I opened drakconf, went to Software Management-->Configure media sources for install and update-->File-->Add a custom medium and added a repo from the repo list above. It did not work. Before I do a reinstall, I thought should ask whether anyone has a suggestion as to how I could fix this without a reinstall. I will add that when I did an online upgrade from v. 7 to v. 8, it went flawlessly. |
If a transaction proceeds to remove /etc/resolv.conf, not found errors become expected behavior. I've done multiple Mageia updates in the past two days, and exactly this happened in one of them.
|
If it is a resolution problem, you can temporarily fix it by creating a resolv.conf file and putting into it the line
Code:
nameserver local_ip_address_of_your_router |
In a way, I did that in advance. /etc/resolv.conf here is replicated as /etc/resolv.conf.latest, so I need only copy the copy back over the broken one, or into the void left by whatever removal transaction. :)
|
Thank you all for your responses. I'm been late getting back to this thread because, frankly, my brain is tired.;)
The odd thing is that websites seem to resolve properly. I looked at my resolve.conf and found this. It points to a site belonging to my ISP. Code:
# cat resolv.conf Can someone point me to nice, concise, clear tutorial on how to make the edit? mrmazda, you said: Quote:
Again, thank you. |
Quote:
|
Thanks. I just wanted to make sure I understood you correctly. I oft for asking a stupid question over making a stupid mistake any day of the week and twice on Sundays.:)
I'll try some things tomorrow and let you all know what happens. (Like I said, everything's working fine except the updates, so I am not in panic mode, at least not yet.) |
Sorry for the delay, but it's the holidays and I've been distracted.
I deleted/remove resolv.conf, rebooted and got a new resolv.conf, just like the old resolv.conf. I still get the same error when I try to run an update. Code:
# urpmi --auto-update Code:
Unable to update medium; it will be automatically disabled. And, if you don't have any suggestions, thanks for trying. |
Quote:
|
Are you able to ping your router? As prequel to trying to do a follow-up here, I did a fresh Mageia 9 installation, with my NIC statically configured. ip a and ip route produced expected output, and I have a valid /etc/resolv.conf (same one used on the other 15 distros on that PC), but I couldn't do anything with it. Ping 127.0.0.1 worked, but none other. e.g. ping 192.168.<self> or router produced "ping: sendmsg: Operation not permitted", something I had never seen before. Then it dawned on me this was a default installation, something I hadn't done since early Mandrake days, and thus firewall must have been installed and enabled. Turning it off got everything network working. Did your upgrade add or change your firewall behavior?
|
Just to wrap things up, I finally got around to doing a fresh install of Mageia v. 9. It went very smoothly.
Since I have a separate /home partition, the great majority of my existing configuration was retained. Firefox and Thunderbird, for example, worked just fine out of the box, with all configuration and plugins still functional. I did have to install xscreensaver anew and no doubt I shall run across some other speed bumps along the way, but, generally, everything's okay and I can update and add software just fine. |
All times are GMT -5. The time now is 01:42 AM. |