[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-user
Subject:    Re: [uml-user] Fix for SuSE 9.0 UML/Yast online update failure
From:       "Stephen D. Williams" <sdw () lig ! net>
Date:       2004-03-29 3:52:15
Message-ID: 40679D6F.5090901 () lig ! net
[Download RAW message or body]

Thanks!  This indeed was a problem.

sdw

Robbie Dinn wrote:

> Hi all
>
> I have just discovered a work around for a problem I have been
> having for some time now. I would like to share it because it
> might help someone in the same position.
>
> I'm using SuSE 9.0 and Yast online update  (You)
>
> I use the SuSE 9.0 distribution and the uml-install-suse shell
> script that comes as part of the uml-utilities-20030903-12 package.
>
> Unfortunately, the disk images that uml-install-suse tool builds
> are slightly broken. The part of the Yast admin tool that does
> online update (known as 'You') doesn't work. There seems to be two
> things that don't get set up right.
>
> 1. The UML machine can't work out which distribution it is using
> It should say "I'm a 9.0 box", but instead it say "I think I'm an 8.2 
> box".
>
> 2. The rpm package manager doesn't know about the SuSE gpg package
> building keys.
>
> I think these errors occur because of incorrect rpm package dependencies
> during the uml-install-suse build process, but that is way too difficult
> for me to fix. Instead I did the following work around:
>
> I have two machines,
> 'rjd' is a working SuSE 9.0 box
> 'deposit' is the broken SuSE 9.0 UML box
>
> On a working 9.0 box, I tar up the file(s) under /var/adm/YaST/ProdDB/
> and copy them to the UML box along with the .rpm file containing the
> suse build gpg keys obtained from the installation media (or your
> favorite mirror site).
>
>  robbie@rjd:~> (cd / && tar cf /tmp/proddb.tar /var/adm/YaST/ProdDB/ )
>  robbie@rjd:~> scp /tmp/prodbd.tar robbie@deposit:~/
>  robbie@rjd:~> scp 
> /media/dvd/suse/noarch/suse-build-key-1.0-460.noarch.rpm \
>                robbie@deposit:~/
>
> The on the UML machine...
> install the suse-build-key rpm using --force switch
> (because it won't install otherwise) and extract the tar file
> contents is the same place as on the original (good) machine.
>
>  robbie@deposit:~> su
>  Password:
>  deposit:/home/robbie # rpm --force -i suse-build-key-1.0-460.noarch.rpm
>  importing SuSE build key to rpm keyring... done.
>  deposit:/home/robbie # gpg --export --armor >/tmp/keys
>  deposit:/home/robbie # rpm --import /tmp/keys
>
> Now you should be able you run up yast on the UML box and have the
> online update complete sucessfully.
>
> This fix might also work with SuSE 8.2, 8.1, etc but I have not
> tried it.
>
> If anyone knows of a better fix, could they tell the list.
>
> Hope that helps ...
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user



-- 
swilliams@hpti.com http://www.hpti.com  Personal: sdw@lig.net http://sdw.st
Stephen D. Williams 703-724-0118W 703-995-0407Fax 20147-4622 AIM: sdw


["sdw.vcf" (text/x-vcard)]
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic