[ilugc] Passing answers to prompts using bash script

  • From: ilugid@xxxxxxxxx (Ashish Verma)
  • Date: Tue Dec 7 05:25:39 2010

On Mon, Dec 6, 2010 at 6:45 PM, Ashish Verma <ilugid@xxxxxxxxx> wrote:


Your answers.file need to contain the strings identically the same as
you would enter them interactively in one line for each answer.


I did that...Each on one line. no space nothing... still it accepted only
the first one and then skipped the rest.


HTH
-- Arun Khan



I now downloaded the the tcl and tk packages and tried to install them,
however since gcc was missing, got the compiler errors. When I tried to yum
install gcc, I got the below yum checksum errors. I checked the repomd.xml
file on the server and saw it contained the correct sha256 sum of the
primary_db file that was downloaded. However I was still getting this error.
I found the below link for the same. I cant change the version of sha that
the repo was created with. How can I go around this kind of issue. Is there
a way I can make the python script run sha256 instead of whatever it is
currently running on my system.

Ref Link

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

http://prefetch.net/blog/index.php/2009/11/26/dealing-with-yum-checksum-errors/

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

ERROR

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

http://download.fedora.redhat.com/pub/fedora/linux/releases/12/Everything/i386/os/repodata/01a9150327554e6d65132266f7b065a5d107b4efb7afa78012fa3ffcc6f517e9-primary.sqlite.bz2:
[Errno -3] Error performing checksum

Error: failure:
repodata/01a9150327554e6d65132266f7b065a5d107b4efb7afa78012fa3ffcc6f517e9-primary.sqlite.bz2
from avfedora: [Errno 256] No more mirrors to try.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Though I can create my own repo and get around this issue. I would like to
know how to solve the below error for future ref.

Regards,
Ashish




Just to add on.

Linux server.av.net 2.6.18-194.el5 #1 SMP Mon Mar 29 20:06:41 EDT 2010 i686
i686 i386 GNU/Linux
Red Hat Enterprise Linux Server release 5.5 (Tikanga)

Yum version
==================================
3.2.22
  Installed: rpm-4.4.2.3-18.el5.i386 at 2010-10-16 15:37
  Built    : [] at 2009-09-04 01:40
  Committed: Panu Matilainen <pmatilai@xxxxxxxxxx> at 2009-07-24 22:00

  Installed: yum-3.2.22-26.el5.noarch at 2010-10-16 15:37
  Built    : [] at 2010-04-01 04:06
  Committed: James Antill <jantill@xxxxxxxxxx> at 2010-02-23 22:00

  Installed: yum-metadata-parser-1.1.2-3.el5.i386 at 2010-10-16 15:35
  Built    : [] at 2009-07-02 22:43
  Committed: James Antill <james.antill@xxxxxxxxxx> at 2009-04-06 22:00
==================================

Other related posts: