Re: up2date trick

Hunter Matthews <[email protected]>
Newsgroups gmane.network.up2date.current.devel
Message-ID <1017097890.5586.240.camel@kea>
On Mon, 2002-03-25 at 17:10, Nathan G. Grennan wrote:
> > 
> > I went through all that in the very early versions of current. Good
> > luck. (Try a single rpmdb [with noarch and i386] in it with an exception
> > list of extras. That came closest to working before I went insane)
> > 
> 
> yeah, it looks like I have three options. Do what you mention above and
> hope I can work out every detail, write a script to login to the
> rhn.redhat.com website and download the all rpms in the arch
> family(i386, i486, i586, i686, athlon) for certain packages(kernel,
> glibc, gzip), or convince the up2date maintainers to add a feature to
> just do this, instead of trying to hack around their functionality.

You could try, but I seriously doubt it.

Much saner might be to write a seriously cutdown program that just makes
the required xml-rpc calls to the Current server, downloading EVERYTHING
that you don't have. 

I bet you could do that by simply stealing various bits and parts of the
up2date client (2.7.11 or later). You can leave out 90% of it, because 
a) you don't have to be super careful interacting with some user
b) you _want_ to blindly grab all the packages the server has that your
   "child" server doesn't. 

Play with this idea. It'll fly farther than trying to get up2date/RHN
changed.


> 
> Ah, you aren't talking about how this affects the download idea, but the
> wisdom of trying to auto upload at all. Like putting up2date -u  in
> crontab. Yeah, I have run into something like this before. I had a
> client where I had installed third-party perl module rpms. So I found
> one day when I went to check up on the system that something like a
> dozen errata hadn't been installed because the third-party perl module
> rpms were dependent on perl 5.5 and an errata for perl 5.6.1 had come
> out, so it refused to update till I manually uninstalled those perl
> modules. Then I could install the errata, and then had to install
> updated copies of those rpms for perl 5.6.1.

Exactly. :)
 
-- 
Hunter Matthews                          Unix / Network Administrator
Office: BioScience 145/244               Duke Univ. Biology Department
Key: F0F88438 / FFB5 34C0 B350 99A4 BB02  9779 A5DB 8B09 F0F8 8438
Never take candy from strangers. Especially on the internet.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.