Kickstart Installation usage of key --skip when installing Workstation Packages.

chris.ellam at dfs.de chris.ellam at dfs.de
Wed Sep 1 11:09:00 UTC 2010


Hi All,

I am having problems with the Kickstart installaion process with RH 
Workstation 5.3. The dvd or its NFS mounted iso image has both the Client 
and Workstation packages and I want to install some packages from the 
Workstation repository.  This is in principle Ok when an installation key 
is provided, but when the installation key is skipped the workstation 
package repository is ignored and missing packages (abort or continue) 
questions arise, which means that manual intervention is required. I could 
specify the ignore missing packages, but then the installed system does 
not have the configuration that is required. What I need is a solution to 
install a new/replacement workstation without inititially having a key 
(which gets provided later).

When an installation key is provided, i.e 

nfs --server=10.200.7.14 --dir=/os/RHWS53
key 5d44a61f5d08xxxx

in /var/log/anaconda.log I see that it picks up both the Workstation and 
the client repositiories

12:11:29 INFO    : moving (1) to step regkey
12:11:29 INFO    : Adding Workstation repo
12:11:29 INFO    : Adding Base repo
12:11:29 INFO    : repopaths is {'workstation': 'Workstation', 'base': 
'Client'}

12:11:30 INFO    : moving (1) to step reposetup
12:11:30 INFO    : package paths is {'workstation': 
['file:///mnt/source/./Workstation'], 'base': 
['file:///mnt/source/./Client']}

However, when the installation key is skipped (which is a valid option), 
i.e.

nfs --server=10.200.7.14 --dir=/os/RHWS53
key --skip

in /var/log/anaconda.log I see that it picks only the client repository

14:37:54 INFO    : skipping install key

14:37:55 INFO    : package paths is {'base': 
['file:///mnt/source/./Client']}

14:37:57 DEBUG   : Checking for virtual provide or file-provide for imake
14:37:57 DEBUG   : no package matching imake
14:40:31 DEBUG   : Checking for virtual provide or file-provide for 
arpwatch
14:40:31 DEBUG   : no package matching arpwatch


To overcome this I tried to add the Workstation repository to kickstart

nfs --server=10.200.7.14 --dir=/os/RHWS53
key --skip

repo --name=Workstation --baseurl=nfs://10.200.7.14:/os/RHWS53/Workstation
or
repo --name=Workstation 
--baseurl=nfs://10.200.7.14:/os/RHWS53/Workstation/repodata
or 
repo --name=Workstation --baseurl=file://mnt/source/./Workstation

in the anaconda log I see that it didn't except this

14:37:54 INFO    : skipping install key

14:37:55 INFO    : moving (1) to step reposetup
14:37:55 INFO    : package paths is {'base': 
['file:///mnt/source/./Client']}
14:37:55 INFO    : added repository Workstation with source URL 
file://mnt/source/./Workstation
14:37:55 WARNING : /usr/lib64/python2.4/site-packages/snack.py:250: 
DeprecationWarning: integer argument expected, got float
  self.w = _snack.scale(width, total)
14:37:55 WARNING : /usr/lib64/python2.4/site-packages/snack.py:247: 
DeprecationWarning: integer argument expected, got float
  self.w.scaleSet(amount)

14:37:55 DEBUG   : repo time: 0.001
14:37:55 DEBUG   : Setting up Package Sacks
14:37:56 DEBUG   : pkgsack time: 0.836
14:37:56 DEBUG   : Reading Local RPMDB
14:37:56 DEBUG   : rpmdb time: 0.000
14:37:56 DEBUG   : repo time: 0.001
14:37:56 DEBUG   : Setting up Package Sacks
14:37:56 ERROR   : reading package metadata: Cannot retrieve repository 
metadata
 (repomd.xml) for repository: Workstation. Please verify its path and try 
again
14:37:56 ERROR   : disabling non-base repo Workstation: Cannot retrieve 
reposito
ry metadata (repomd.xml) for repository: Workstation. Please verify its 
path and
 try again
14:37:56 DEBUG   : Getting group metadata

14:37:57 DEBUG   : Checking for virtual provide or file-provide for imake
14:37:57 DEBUG   : no package matching imake
14:40:31 DEBUG   : Checking for virtual provide or file-provide for 
arpwatch
14:40:31 DEBUG   : no package matching arpwatch


The later appears to be a known problem and as yet I have not found a 
solution to this either.

Thanks,

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20100901/9c682fef/attachment.htm>
-------------- next part --------------


DFS Deutsche Flugsicherung GmbH
Am DFS-Campus 10
D - 63225 Langen

Tel.: +49-(0)6103-707-0 

Sitz der Gesellschaft: Langen/Hessen
Zust?ndiges Registergericht: AG Offenbach am Main, HRB 34977
Vorsitzender des Aufsichtsrates: Prof. Klaus-Dieter Scheurle
Gesch?ftsf?hrer: Dieter Kaden (Vors.), Ralph Riedle, Jens Bergmann

Internet: http://www.dfs.de
Public-Key der DFS: http://www.dfs.de/dfs/public_key.asc


More information about the Kickstart-list mailing list