[opensuse-autoinstall] Forcing a specific package version
Does anyone know how I could force a specific package version in AutoYaST? I have two packages, one original for SLES11SP1, and another (newer) with the same name and newer version, from a third-party. Both are available in repos during installation. -- -- Erico -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On 8/12/11 12:51 PM, "Erico Mendonça" <erico.mendonca@gmail.com> wrote:
Does anyone know how I could force a specific package version in AutoYaST?
I have two packages, one original for SLES11SP1, and another (newer) with the same name and newer version, from a third-party. Both are available in repos during installation.
Under normal circumstances I would expect it to resolve out the older version and install the "latest"... are you looking to be able to arbitrarily choose one of any available for a specific system install or the same behavior for all systems installing from specific repositories or ... ? Tim -- Tim Kirby 651-605-9074 trk@cray.com Cray Inc. Information Systems -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
I agree, it *should* pick up the latest version... but it doesn't because the third-party package was built with a wrong (forced) architecture. Plus, it's from a different supplier. Case in point: sudo-1.6.9p17-21.3.1.i586.rpm (original from SLES11SP1 media) versus sudo-1.8.1-3.sles11.i386.rpm (from sudo.ws) However, the package will install and work nicely if upgraded via rpm -Uvh manually. 2011/8/12 Tim Kirby <trk@cray.com>:
On 8/12/11 12:51 PM, "Erico Mendonça" <erico.mendonca@gmail.com> wrote:
Does anyone know how I could force a specific package version in AutoYaST?
I have two packages, one original for SLES11SP1, and another (newer) with the same name and newer version, from a third-party. Both are available in repos during installation.
Under normal circumstances I would expect it to resolve out the older version and install the "latest"... are you looking to be able to arbitrarily choose one of any available for a specific system install or the same behavior for all systems installing from specific repositories or ... ?
Tim -- Tim Kirby 651-605-9074 trk@cray.com Cray Inc. Information Systems
-- -- Erico -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On 8/12/11 1:07 PM, "Erico Mendonça" <erico.mendonca@gmail.com> wrote:
I agree, it *should* pick up the latest version... but it doesn't because the third-party package was built with a wrong (forced) architecture. Plus, it's from a different supplier.
Case in point:
sudo-1.6.9p17-21.3.1.i586.rpm (original from SLES11SP1 media)
versus
sudo-1.8.1-3.sles11.i386.rpm (from sudo.ws)
However, the package will install and work nicely if upgraded via rpm -Uvh manually.
Ah, I see. But arguably they're not the "same" :) I'm not sure there's a clean way to do it, but more knowledgable voices may chime in. We manage our repositories such that what's presented during the autoyast makes sense with the selection criteria... and once or twice have even rebuilt rpm's so they play nicely. We've seen this with some third party video driver rpm's, for instance. Sorry, not a lot of help... Tim -- Tim Kirby 651-605-9074 trk@cray.com Cray Inc. Information Systems -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
2011/8/12 Tim Kirby <trk@cray.com>:
Ah, I see. But arguably they're not the "same" :)
I'm not sure there's a clean way to do it, but more knowledgable voices may chime in. We manage our repositories such that what's presented during the autoyast makes sense with the selection criteria... and once or twice have even rebuilt rpm's so they play nicely. We've seen this with some third party video driver rpm's, for instance.
Ahh video drivers... sometimes I think some manufacturers do it on purpose. :) I'm considering doing exactly that, rebuilding the package so it's "nice". Thanks for the help! -- -- Erico -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Having just spoken to the subject, I thought I'd throw this out. We just had some new desktops delivered and the orderers have sent us 790's because the 760 and 780 optiplexes are no more. It won't autoyast because it has no network. How can that be? Stupid, the Vendor/Device ID pair has been changed and it's not detecting correctly. We are supposed to be able to use the e1000 driver, but we're not having a lot of luck right now. Just wondering if anyone has come up with a magic incantation that doesn't involve recompiling to work around such a situation. Not that we can't recompile, rebuild etc. We just don't wanna. <aurgh> Tim -- Tim Kirby 651-605-9074 trk@cray.com Cray Inc. Information Systems -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Fri, Aug 12, 2011 at 3:41 PM, Tim Kirby <trk@cray.com> wrote:
Having just spoken to the subject, I thought I'd throw this out. We just had some new desktops delivered and the orderers have sent us 790's because the 760 and 780 optiplexes are no more.
It won't autoyast because it has no network. How can that be? Stupid, the Vendor/Device ID pair has been changed and it's not detecting correctly. We are supposed to be able to use the e1000 driver, but we're not having a lot of luck right now.
Are you using openSUSE or SLES? A Driver Update Disk has been released recently for SLES11 SP1 with a more recent kernel that could be useful in this case. -- -- Erico -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Duh. Don't know why I said "Video driver". This is Ethernet, of course. On 8/12/11 3:50 PM, "Erico Mendonça" <erico.mendonca@gmail.com> wrote:
Are you using openSUSE or SLES?
SLED11 SP1
A Driver Update Disk has been released recently for SLES11 SP1 with a more recent kernel that could be useful in this case.
Indeed. Thanks for the hint... Tim -- Tim Kirby 651-605-9074 trk@cray.com Cray Inc. Information Systems -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
You can extend the autoyast.xml to not install <software> <remove-packages config:type="list"> <package>sudo</package> </remove-packages> </software> And use a init script to install sudo via zypper and lock the package afterwards to prevent overwriting. Hth Hajo -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Mon, Aug 15, 2011 at 4:42 AM, Hans-Joachim Ehlers <HansJoachim.Ehlers@eumetsat.int> wrote:
You can extend the autoyast.xml to not install
<software> <remove-packages config:type="list"> <package>sudo</package> </remove-packages> </software>
And use a init script to install sudo via zypper and lock the package afterwards to prevent overwriting.
Thanks Hans! That did it! After placing "sudo" in the remove-packages section, I used this script (running as a chroot-script): ====== #!/bin/bash mount /dev/cdrom /mnt zypper -n rl sudo zypper -n --no-gpg-checks --no-cd -p /mnt/misc in sudo-1.8.1-3.sles11.i386 zypper -n al sudo ====== I had to mount the DVD manually. Zypper couldn't mount the media if I just referenced the package (still don't know why, the repo is correctly configured). -- -- Erico -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
Erico Mendonça
-
Hans-Joachim Ehlers
-
Tim Kirby