Hi! There is another really annoying thing in autoyast2, the list of packages to be installed has to include a base-package, otherwise installation will not work at all. I have now: <software> <base>Minimal</base> Problem is, that i have to install systems with sendmail rather than postfix, but i cannot remove postfix from the list of packages to be installed, it gets installed, even if not in the package list, because its part of "Minimal". Why do i have to specify a "base", when the package list in my xml-file contains ALL PACKAGES to be installed, even those from the "Minimal" base? Or ist there a way to explicitly exclude a package from installation? Well, i found out that i can change the description of the minimal base, but I got no way to modify a file on a DVD - my primary source of Installation. There should be a simpler solution other than buying a DVD-Recorder... ;-) Any hint/idea is appreciated... Wolfgang
Ing. Wolfgang Skabrond wants to install Systems from DVD :
the list of packages to be installed has to include a base-package, otherwise installation will not work at all. I have now:
<software> <base>Minimal</base>
Problem is, that i have to install systems with sendmail rather than postfix, but i cannot remove postfix from the list of packages to be installed,
You could try to deinstall unwanted packages in a post-installscript: Something like this should work (mmh, at least in autoyast for Suse8.0 it should work with this syntax, haven't done scripts with newer versions): <post-scripts config:type="list"> <script> <filename>delete-unwanted-pakets</filename> <interpreter>shell</interpreter> <source> <![CDATA[ # delete unwanted rpm pakets rpm -e postfix ]]> </source> </script> </post-scripts>
Well, i found out that i can change the description of the minimal base, but I got no way to modify a file on a DVD - my primary source of Installation. There should be a simpler solution other than buying a DVD-Recorder... ;-)
Hmm, if you install systems with sendmail - are these servers or workstations? If it is a lean server installation, the needed packages probably will fit on a CD-Rom - so the solution gets cheaper since you can use a CD-Recorder .. (You'll have some fun in repacking the stuff but it *should* work) Or you might think about doing it via NFS or other supported network protocoll, since that works very nice and you can make your own base-package descriptions. (If you have somewhere a network and enough discspace - why not?) Just my two pfennige^h^h^h^h^h^h^h^h groschen^h^h^h^h^h^h^h^h cents .. Hella Breitkopf - who does it all via NFS
--- Hella Breitkopf schrieb am 17.04.2003, 11:06 ---
Ing. Wolfgang Skabrond wants to install Systems from DVD :
You could try to deinstall unwanted packages in a post-installscript: Something like this should work (mmh, at least in autoyast for Suse8.0 it should work with this syntax, haven't done scripts with newer versions): <post-scripts config:type="list"> <script> <filename>delete-unwanted-pakets</filename> <interpreter>shell</interpreter> <source> <![CDATA[ # delete unwanted rpm pakets rpm -e postfix ]]>> </source> </script> </post-scripts>
Sadly, removing postfix in a postinstall-script fails for the following reason - sadly :-( When installing postfix (from the Minimal base) AND sendmail (from my package selection) in parallel, this really is an inconsistent system. Postfix contains "/usr/sbin/sendmail" as a sendmail-compatibility-program, uninstalling postfix removes /usr/sbin/sendmail, effectively breaking the sendmail-package, which also owns a /usr/sbin/sendmail - THE ORIGINAL! So doing an rpm -e postfix in the postinstall-script effectivly leaves the system without any functioning SMTP ...
Hmm, if you install systems with sendmail - are these servers or workstations? If it is a lean server installation, the needed packages probably will fit on a CD-Rom - so the solution gets cheaper since you can use a CD-Recorder .. (You'll have some fun in repacking the stuff but it *should* work)
Well, the systems are servers - i don't think i'll ever manage to fit my package selection on a CD, but - alas - i can give it a try and have some fun with it ;-)
Or you might think about doing it via NFS or other supported network protocoll, since that works very nice and you can make your own base-package descriptions. (If you have somewhere a network and enough discspace - why not?)
Well, NFS is OK, when i'm installing here, but - no way out in the field ...
Just my two pfennige^h^h^h^h^h^h^h^h groschen^h^h^h^h^h^h^h^h cents ..
Hella Breitkopf - who does it all via NFS
Anyway - thanks for your 2 pfennings ... groschen ... cents ... well, lets talk in Bytes - there's no conversion *grin* Wolfgang, who's going in circles ...
On Thursday 17 April 2003 12:03, Ing. Wolfgang Skabrond wrote:
Sadly, removing postfix in a postinstall-script fails for the following reason - sadly :-(
When installing postfix (from the Minimal base) AND sendmail (from my package selection) in parallel, this really is an inconsistent system. Postfix contains "/usr/sbin/sendmail" as a sendmail-compatibility-program, uninstalling postfix removes /usr/sbin/sendmail, effectively breaking the sendmail-package, which also owns a /usr/sbin/sendmail - THE ORIGINAL! So doing an rpm -e postfix in the postinstall-script effectivly leaves the system without any functioning SMTP ...
Well, that makes all a bit more complicated .. but what about that idea: While autoyast is doing these post-scripts, the install-media is probably still mounted (otherwise copy rpm paket via pre-script to local disk). It should be possible to deinstall postfix and *then* install sendmail.rpm ... you just have to find out where the rpm location is at installation time..
Or you might think about doing it via NFS or other supported network protocoll, since that works very nice and you can make your own base-package descriptions. (If you have somewhere a network and enough discspace - why not?)
Well, NFS is OK, when i'm installing here, but - no way out in the field ...
If you are out in the field with the installation, you probably have a laptop with you? You can do NFS, if you have a linux laptop (or a temporary linux laptop ... knoppix cd - IIRC one can download suse trial out cds ... whatever, there a lot of possibilities ) IIRC you can also use windows shares for installation. You only need a laptop whith enough disc space. Won't work, if the installation media should go out to fieldwork without you .. in that case I'd recommend customized install cds
Just my two pfennige^h^h^h^h^h^h^h^h groschen^h^h^h^h^h^h^h^h cents ..
Anyway - thanks for your 2 pfennings ... groschen ... cents ... well, lets talk in Bytes - there's no conversion *grin* 1Dbeit = 7Abeit ;-)
Happy Easter to all!
Wolfgang, who's going in circles ...
Hella, who recommends to go for a walk instead (such nice weather outside)
--- Hella Breitkopf schrieb am 17.04.2003, 14:21 ---
Well, that makes all a bit more complicated .. but what about that idea: While autoyast is doing these post-scripts, the install-media is probably still mounted (otherwise copy rpm paket via pre-script to local disk). It should be possible to deinstall postfix and *then* install sendmail.rpm ... you just have to find out where the rpm location is at installation time..
Well - thats an idea worth looking at - i'll have a try and post my results here - maybe other people are stumbling just the way i am.
If you are out in the field with the installation, you probably have a laptop with you? You can do NFS, if you have a linux laptop (or a temporary linux laptop ... knoppix cd - IIRC one can download suse trial out cds ... whatever, there a lot of possibilities )
IIRC you can also use windows shares for installation. You only need a laptop whith enough disc space.
Won't work, if the installation media should go out to fieldwork without you .. in that case I'd recommend customized install cds
Well - thats just the case - i'll use this as last resort ...
Hella, who recommends to go for a walk instead (such nice weather outside)
Well - in fact - i used my lunch break for just that - a walk in the nice weather ;-) Wolfgang, who always has a perfect problem for every solution :oops: :-))
participants (2)
-
Hella Breitkopf
-
Ing. Wolfgang Skabrond