Re: How to restrict package installation to x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jason,

Given the importance of libc.so to pretty much everything, it would stand to
reason that excluding it would prevent any apps from installing ... but then
you can tell Kickstart to pull dependencies during installation, so that
could undo the exclusion.

I've never tried that aggressive an approach to package exclusion; I would
just explicitly reference the i386 packages I didn't want and reference the
x86_64 versions that I did want ... it worked well enough, although it
wasn't what I would call an elegant solution.

Klaus

On 2/20/08 2:55 PM, "Jason Edgecombe" <jason@xxxxxxxxxxxxxxxxx>did etch on
stone tablets:

> I wonder if using the following would work:
> 
> %packages
> glibc.x86_64
> -glibc.i386
> 
> does everything require glibc as a dependency? If not could some other
> key package by excluded?
> What about removing all of the i386 rpms from your install source?
> 
> Jason
> 
> Klaus Steden wrote:
>> Hello John,
>> 
>> I don't know if there's a way to globally restrict packages the way you're
>> looking for, but if it suits your purposes, you can write something like
>> this in the '%packages' section of your ks.cfg:
>> 
>> %packages
>> @ Admin
>> myfoopackage.x86_64
>> -myfoopackage.i386
>> 
>> The '-' prefix tells Kickstart not to install it.
>> 
>> hth,
>> Klaus
>> 
>> On 2/19/08 9:51 PM, "John Morris" <jman@xxxxxxxxxxx>did etch on stone
>> tablets:
>> 
>>   
>>> Not sure if this is a kickstart, anaconda or yum question, so please
>>> slap and redirect me if this is the wrong forum.
>>> 
>>> Our server environment is all x86_64 architecture CentOS 5.1, and thus
>>> far, new kickstarts have had only a few i386 arch RPMs installed.
>>> However, now that the nss_ldap package is included in the ks.cfg file,
>>> it is installed in both x86_64 and i386 architectures.  The i386 version
>>> brings a bevy of other supporting packages with it.  I wouldn't care
>>> that much, except that we have a repo of customized packages, all
>>> x86_64, and don't build for the i386 architecture; however, one of the
>>> supporting packages that we've upgraded in our custom repo, openldap,
>>> breaks the install because the original CentOS openldap package of an
>>> earlier version has file conflicts with our newer version.
>>> 
>>> In kickstart, is there a simple way to restrict package installs to
>>> x86_64 architecture only?  Or is there a different, 'correct' way to
>>> go?  The other solutions I've considered, such as rebuilding our repo
>>> for i386 or removing all i386 packages from the vendor repos, seem
>>> hackish and inconvenient.
>>> 
>>> Thanks-
>>> 
>>>     John
>>> 
>>> _______________________________________________
>>> Kickstart-list mailing list
>>> Kickstart-list@xxxxxxxxxx
>>> https://www.redhat.com/mailman/listinfo/kickstart-list
>>>     
>> 
>> _______________________________________________
>> Kickstart-list mailing list
>> Kickstart-list@xxxxxxxxxx
>> https://www.redhat.com/mailman/listinfo/kickstart-list
>> 
>>   
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux