AleXxiO Posted December 14, 2005 Report Share Posted December 14, 2005 hi, some days ago urpmi was running fine but now it does not go at all.. when i upgrade my urpmi database it says " could not write uprmi config file" so i can't use urpmi.... :( problem is simple, what can i do? Quote Link to comment Share on other sites More sharing options...
arctic Posted December 14, 2005 Report Share Posted December 14, 2005 Easiest fix: remove your urpmi ressources and try a different mirror. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted December 15, 2005 Report Share Posted December 15, 2005 Commands: urpmi.removemedia -a will remove all sources, then you can visit easyurpmi page again and configure your sources. Quote Link to comment Share on other sites More sharing options...
AleXxiO Posted December 15, 2005 Author Report Share Posted December 15, 2005 nothing, same errors, i already tried for this solutions... need more Quote Link to comment Share on other sites More sharing options...
arctic Posted December 15, 2005 Report Share Posted December 15, 2005 Okay, which version are you running? Did you do anything to your system as root lately? Which permissions are set for the urpmi.conf file? Quote Link to comment Share on other sites More sharing options...
AleXxiO Posted December 17, 2005 Author Report Share Posted December 17, 2005 i didn't change permissions on that file, i'm running the 2006 version, but error arise when i was on 10.2...now i'll chmod 777 and see.. Quote Link to comment Share on other sites More sharing options...
AleXxiO Posted January 18, 2006 Author Report Share Posted January 18, 2006 i have not the urpmi.conf file!! ?? for example, it i type urpmi.addmedia main ftp://ftp.uasw.edu/pub/os/linux/mandrakel...i586/media/main with media_info/hdlist.cz it goes in timeout.... Quote Link to comment Share on other sites More sharing options...
arctic Posted January 18, 2006 Report Share Posted January 18, 2006 Sorry, I meant the urpmi.cfg file. It should be located in /etc/urpmi. If it ain't there, please post the output of "ls /etc/urpmi" in order to see what is there/what might be missing. If needed, we/I can send you a working urpmi.cfg. file which you can copy into your urpmi folder and check if it works then. edit: I just saw that the link you provided points to a Mandriva 2005 repository, not a 2006 one. Use the eayurpmi tool again and select the 2006 mirrors. Then try again. Quote Link to comment Share on other sites More sharing options...
AleXxiO Posted January 19, 2006 Author Report Share Posted January 19, 2006 this is my urpmi.cfg: [root@alexxiohp alexxio]# cat /etc/urpmi/urpmi.cfg Installation\ Free\ DVD\ (dvd1) removable://mnt/cdrom/media/main { hdlist: hdlist.Installation Free DVD (dvd1).cz key-ids: 70771ff3 removable: /dev/hdc synthesis with_hdlist: ../..//media/media_info/synthesis.hdlist1.cz } Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 19, 2006 Report Share Posted January 19, 2006 Timeout's usually are because of DNS resolution. Can you browse the web? Your urpmi only has your CD/DVD sources. If I'm stating the obvious, sorry, but check it out and do get back with results. Try issuing this command from the prompt: host linux.org and see what it reports back with? This will prove if DNS is OK. Also try: netstat -r to show us your default routes. Quote Link to comment Share on other sites More sharing options...
arctic Posted January 19, 2006 Report Share Posted January 19, 2006 This urpmi.cfg should work. If it stalls again, check again for correct network settings, firewall, DNS servers and ipv6. Installation\ Free\ DVD\ (dvd1) removable://mnt/cdrom/media/main { hdlist: hdlist.Installation Free DVD (dvd1).cz key-ids: 70771ff3 removable: /dev/hdc synthesis with_hdlist: ../..//media/media_info/synthesis.hdlist1.cz } main ftp://mandrake.contactel.cz/Mandrakelinux...i586/media/main { hdlist: hdlist.main.cz key-ids: 70771ff3 update with_hdlist: media_info/hdlist.cz } contrib ftp://mandrake.contactel.cz/Mandrakelinux...6/media/contrib { hdlist: hdlist.contrib.cz key-ids: 78d019f5 update with_hdlist: media_info/hdlist.cz } jpackage ftp://mandrake.contactel.cz/Mandrakelinux.../media/jpackage { hdlist: hdlist.jpackage.cz key-ids: c431416d update with_hdlist: media_info/hdlist.cz } updates ftp://mandrake.contactel.cz/Mandrakelinux....0/main_updates { hdlist: hdlist.updates.cz key-ids: 22458a98 list: list.updates update with_hdlist: media_info/hdlist.cz } plf-free ftp://spirit.bentel.sk/mirrors/plf/mandrake/free/2006.0 { hdlist: hdlist.plf-free.cz key-ids: caba22ae list: list.plf-free update with_hdlist: hdlist.cz } plf-nonfree ftp://spirit.bentel.sk/mirrors/plf/mandrake/non-free/2006.0 { hdlist: hdlist.plf-nonfree.cz key-ids: caba22ae list: list.plf-nonfree update with_hdlist: hdlist.cz } Good luck. Quote Link to comment Share on other sites More sharing options...
AleXxiO Posted January 24, 2006 Author Report Share Posted January 24, 2006 that urpmi.cfg gives me the errors: can't reach file hdlist of "main"..ignoring support and so on with contrib etc... i obviously have the connection up 'cause i'm writing from there :) ps: how to disable ipv6? Quote Link to comment Share on other sites More sharing options...
arctic Posted January 26, 2006 Report Share Posted January 26, 2006 open a terminal and log in as root. Now launch echo "alias net-pf-10 off" >> /etc/modprobe.conf echo "alias ipv6 off" >> /etc/modprobe.conf This will add the "alias ..." part into you modprobe.conf file and should disable ipv6. Another useful thing is to add valid DNS-ip's (e.g. nameserver 217.237.149.161) to your /etc/resolv.conf file (if needed, you can lock it with chattr +i /etc/resolv.conf as root) if you are using an ADSL connection with DHCP enabled. Quote Link to comment Share on other sites More sharing options...
AleXxiO Posted January 27, 2006 Author Report Share Posted January 27, 2006 Another useful thing is to add valid DNS-ip's (e.g. nameserver 217.237.149.161) to your /etc/resolv.conf file (if needed, you can lock it with chattr +i /etc/resolv.conf as root) if you are using an ADSL connection with DHCP enabled. <{POST_SNAPBACK}> i already had that ;) i gave the commands ...but i'm not sure it will go...what else can it be? Quote Link to comment Share on other sites More sharing options...
arctic Posted January 27, 2006 Report Share Posted January 27, 2006 Is your firewall disabled? If not, disable it now and try to reach the mirrors once more. If your network-connection is up and running and ipv6 disabled and valid DNS servers defined, the last thing I could think of is a misconfigured firewall blocking your ports. If it doesn't work without the firewall either, then I need a beer (or two) and need to think a lot about what might be causing a timeout... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.