On Thu, May 25, 2006 at 05:24:10PM -0700, Ted Powell wrote:
> Missing comma in grep, line 40.
> 
> Removes perl-XML-Parser (lines 134-135).
>     But intltool needs perl-XML-Parser and so it had to be removed too.
>     But scrollkeeper needs intltool, so it has to be removed.
>     But scrollkeeper is needed by ekiga, evince, evolution, file-roller,
>     gedit, gnome-applets, gnome-media, gnome-panel, gnome-pilot,
>     gnome-power-manager, gnome-user-docs, gok, gthumb, nautilus, and yelp.
> 
> Hmm. After taking perl-XML-Parser out of the yum command, the script
> still hangs. [...]

As I discovered when running start_over again without tee-ing its output
to a file, it was waiting for a response to yum's query: Is this ok [y/N]:

I was running: (scripts/start_over; echo $?) 2>&1 | tee 00126.log
and the prompt didn't make it through the buffering.

As long as generally-used rpms such as perl-XML-Parser are not included
in the yum remove command, providing the -y option on the command line
should be safe enough, so the proposed patch becomes:

$ svn diff scripts/start_over 
Index: scripts/start_over
===================================================================
--- scripts/start_over  (revision 4860)
+++ scripts/start_over  (working copy)
@@ -37,7 +37,7 @@
 @opkgs = map { chomp $_ } @opkgs;
 
 # skip oda package (and keep mysql around)
[EMAIL PROTECTED] = grep !/^oda$/ @opkgs;
[EMAIL PROTECTED] = grep !/^oda$/, @opkgs;
 
 my @orpms;
 for my $opkg (@opkgs) {
@@ -131,7 +131,7 @@
 system($cmd);
 
 # remove prereqs (hardcoded right now)
-$cmd = "yum remove perl-HTML-Tree perl-Tk perl-Qt perl-XML-Parser 
perl-XML-Simple packman-depman packman-depman-rpms yume";
+$cmd = "yum -y remove perl-HTML-Tree perl-Tk perl-Qt perl-XML-Simple 
packman-depman packman-depman-rpms yume";
 system($cmd);
 
 my %orepo_done;
$ 



-- 
Ted Powell <[EMAIL PROTECTED]>   http://psg.com/~ted/
"If you don't look, you don't know."
    Dr. Sam Ting, Nobel laureate experimental physicist.


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to