RightScale Blog

Cloud Management Blog
RightScale 2014 State of the Cloud Report
Cloud Management Blog

Add new comment

I'm trying to create a CentOS 5 image using the script provided. I'm getting the error below when the script tries to group install Base. Since i'm creating the image while running on a CentOS 5 machine, I;ve tried commenting the part which downloads yum and installs it and use the yum along with the OS installation on my machine, however the resulting error is exacly similar. I've also tried to use the CentOS DVD as well as the repository, however the error remains the same. Any pointers will be appreciated. Error: Setting up repositories Reading repository metadata in from local files primary.xml.gz 100% |=========================| 55 kB 00:01 centosplus: ################################################## 93/93 Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.main(sys.argv[1:]) File "yummain.py", line 94, in main result, resultmsgs = base.doCommands() File "cli.py", line 381, in doCommands return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) File "yumcommands.py", line 228, in doCommand return base.installGroups(extcmds) File "cli.py", line 1071, in installGroups self.doRepoSetup() File "cli.py", line 109, in doRepoSetup self.doSackSetup(thisrepo=thisrepo) File "__init__.py", line 341, in doSackSetup File "packageSack.py", line 331, in excludeArchs File "sqlitesack.py", line 589, in excludeArchs File "sqlitesack.py", line 431, in db2class File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 97, in __getattr__ raise AttributeError, key AttributeError: CHECKSUM_VALUE