LatterDaySaint Posted February 13, 2005 Report Share Posted February 13, 2005 I tried 3 or 4 times and got error saying something like "not found the requested url /easyurpmi/index.php was not found on this server. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 13, 2005 Author Report Share Posted February 13, 2005 (edited) Try setting up your urpmi sources with the EasyUrpmi link at the top right-hand side of this page. It actually is more reliable. Edited October 19, 2007 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
LatterDaySaint Posted February 13, 2005 Report Share Posted February 13, 2005 Steve,I already got my urpmi sources, but found when I tried your script Example "! /bin/bash" & rpmfix to start things off that I got no response ,so I thought one of these 2 posts might of led to more examples , Im still a linux novice trying to learn but have a little trouble understanding scripting but want to give it a go, I have come accross some tutorials in somePC mags I have and will see if they can get me going as well? I havnt read your tutorial right through yet so maybe I have done something wrong , Should typing ! /bin/bash or rpmfind give me some results or do I have something missing? Thanks Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 13, 2005 Author Report Share Posted February 13, 2005 (edited) Ahhh...I see the problem. What i posted is a script not commands you run from a terminal. Copy and paste the entire code sample into a file and save it, making sure that #!/bin/bash is on the very top line. You can name it whatever yo want, like repairinstall. Then type this command: chmod +x repairinstall then as root: ./repairinstall If you are already running this as a script, make sure all the lines that have # in the beginning, keep them. Edited February 22, 2005 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
jeanackle Posted February 13, 2005 Report Share Posted February 13, 2005 Hi Steve, What you said earlier about XFree packages (they seem to need being reinstalled everytime) is valid for my glibc-devel and kernel-source packages as well. So, I changed a line in your script: if [[ $name != XFree* ]] Is now: if [[ $name != XFree* && $name != glibc-devel* && $name != kernel-source* ]] Now they don't bother me anymore... Just thought I'd let you know about it. Cheers Quote Link to comment Share on other sites More sharing options...
christophe_ca Posted April 24, 2005 Report Share Posted April 24, 2005 Hi! When I'm trying to run this script, I get a Permission denied message. I'm a total newbie with scripts. What do I do? Thank you Quote Link to comment Share on other sites More sharing options...
devries Posted April 24, 2005 Report Share Posted April 24, 2005 Have you made it executable? (if you use kde, rightclick the file, properties, tab accesrights, check executable) Quote Link to comment Share on other sites More sharing options...
jeanackle Posted April 24, 2005 Report Share Posted April 24, 2005 In Nautilus (GNOME), it would be: Right-click the file -> Properties -> Permissions -> Check "Executable" checkboxes Or, in a terminal, type in: chmod a+x rpmfix Assuming you named the script "rpmfix". Otherwise, just replace that with whatever you named it. Cheers, Quote Link to comment Share on other sites More sharing options...
christophe_ca Posted April 24, 2005 Report Share Posted April 24, 2005 Hi! I did chmod a+x and it worked. I had a message saying: "rpmq: no argument to your request" (translation from French). The reason I'm running this script is to be able to run menudrake. When I try to, I get a segmentation fault. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted April 24, 2005 Author Report Share Posted April 24, 2005 Hmmm... no argument to your request sounds like you aren't missing any files. Can you attach your missing_files.list to a post here? You'll have to rename it to missing_files.txt to get it to attach. It'll be in the same directory you run the script from. Quote Link to comment Share on other sites More sharing options...
christophe_ca Posted April 28, 2005 Report Share Posted April 28, 2005 Here's the file: rpmfix.txt Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted April 28, 2005 Author Report Share Posted April 28, 2005 (edited) I meant the file called missing_files.list that the script creates in the directory you run the script from. If the file does not exist, it means either: (a) You do not have write permissions in the directory you run the script from (b) None of your rpms are missing any files, which is highly doubtful Edited April 28, 2005 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
christophe_ca Posted April 28, 2005 Report Share Posted April 28, 2005 (edited) I found the file you were talking about but it's empty Edited April 28, 2005 by christophe_ca Quote Link to comment Share on other sites More sharing options...
christophe_ca Posted April 28, 2005 Report Share Posted April 28, 2005 I can't attach a file anymore? Why!? Quote Link to comment Share on other sites More sharing options...
christophe_ca Posted April 28, 2005 Report Share Posted April 28, 2005 The file missing_files.list is 0k 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.