I'm trying to kickstart a Centos 4.1 system with the minimum set of packages. I have no use for ypbind so I'm trying to prevent from being installed, but kickstart/anaconda always insist on its installation (complaining that the package is missing). This is the %packages section of my ks file so far:
%packages #-@ dialup kernel grub e2fsprogs lvm2 -slocate -bluez-utils -bluez-bluefw -bluez-hcidump-1.11-1.i386.rpm -isdn4k-utils -pcmcia-cs -ppp -wvdial -ypbind
as you can see, ypbind is deselected in the ks file. Is ypbind a mandatory package? In the RPMS directory, I tried to determine what package may be requiring ypbind, but I could find any. This is what I used to determine what package may be requiring it:
cd CentOS/RPMS for i in *.rpm; do echo ---------------- $i; rpm -qp --requires $i 2>/dev/null | grep ypbind && echo ******** $i *******;done
On Mon, Aug 15, 2005 at 12:43:55PM -0700, Fong Vang enlightened us:
I'm trying to kickstart a Centos 4.1 system with the minimum set of packages. I have no use for ypbind so I'm trying to prevent from being installed, but kickstart/anaconda always insist on its installation (complaining that the package is missing). This is the %packages section of my ks file so far:
%packages #-@ dialup kernel grub e2fsprogs lvm2 -slocate -bluez-utils -bluez-bluefw -bluez-hcidump-1.11-1.i386.rpm -isdn4k-utils -pcmcia-cs -ppp -wvdial -ypbind
as you can see, ypbind is deselected in the ks file. Is ypbind a mandatory package? In the RPMS directory, I tried to determine what package may be requiring ypbind, but I could find any. This is what I used to determine what package may be requiring it:
According to my 4.1 system, ypbind requires yp-tools, and yp-tools requires ypbind. Yay for circular dependencies!
yum remove ypbind on my system also removes yp-tools, so if you give your ks file a -yp-tools as well, you should be all right, I would think.
Matt
This worked. I looked in comps.xml but didn't see these packages listed in the mandatory package list.
On 8/15/05, Matt Hyclak hyclak@math.ohiou.edu wrote:
On Mon, Aug 15, 2005 at 12:43:55PM -0700, Fong Vang enlightened us:
I'm trying to kickstart a Centos 4.1 system with the minimum set of packages. I have no use for ypbind so I'm trying to prevent from being installed, but kickstart/anaconda always insist on its installation (complaining that the package is missing). This is the %packages section of my ks file so far:
%packages #-@ dialup kernel grub e2fsprogs lvm2 -slocate -bluez-utils -bluez-bluefw -bluez-hcidump-1.11-1.i386.rpm -isdn4k-utils -pcmcia-cs -ppp -wvdial -ypbind
as you can see, ypbind is deselected in the ks file. Is ypbind a mandatory package? In the RPMS directory, I tried to determine what package may be requiring ypbind, but I could find any. This is what I used to determine what package may be requiring it:
According to my 4.1 system, ypbind requires yp-tools, and yp-tools requires ypbind. Yay for circular dependencies!
yum remove ypbind on my system also removes yp-tools, so if you give your ks file a -yp-tools as well, you should be all right, I would think.
Matt
-- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos