On 08/25/2009 10:55 PM, CLIFFORD ILKAY wrote:
Hello Michael,
On 25/08/09 06:06 PM, Michael DeHaan wrote:
> Are you running a Cobbler server on a Fedora 11 system?
>
I am indeed, version 1.6.6.1. This was originally installed Fedora 10
and I mirrored onto this machine.
> If so, the
> createrepo commands in Cobbler 2.0 are modified to
> use "-s sha" when creating the repo, so this should fix the install
> problems you are seeing.
>
> I believe going to all the install trees that have been repo-ized and
> running createrepo on them again should fix your problem
> for now.
>
I noticed the owner and group were wrong on only the CentOS-5.3-x86_64
repo so I did:
chown -R apache:apache /var/www/cobbler/CentOS-5.3-x86_64
cd /var/www/cobbler/CentOS-5.3-x86_64
createrepo --checksum sha --outputdir . CentOS/
That created new filelists.xml.gz, other.xml.gz, primary.xml.gz, and
repomd.xml. I repeated the above for all the repos that I'm referencing
from that profile, e.g. updates.
After rebooting the client, it got as far as adding the repos but this
time, I got a dialog with:
"Error: Unable to read group information from repositories. This is a
problem with the generation of your install tree."
with the only option being "Reboot". What now?
Ah, if you only did the -s sha, it would have lost the groups file.
Basically you'll have to modify cobbler's action_import.py or wait until
2.0 is released.
or import on a system running something earlier than F-11.
--Michael