Re: Can apt manage packages for a different distro?

Andre Costa <[email protected]> Thu, 3 Feb 2005 16:02:50 -0200
Newsgroups gmane.linux.conectiva.apt-rpm
Organization TecGraf
Message-ID <[email protected]>
On Wed, 2 Feb 2005 09:32:43 -0200
Andre Costa <[email protected]> wrote:

> Hi,
> 
> I guess my request will be rather unusual, but I guess this is still
> the best place to try it, so...
> 
> We have this lean mean FC2 (soon to be RHEL AS) machine, with huge
> storage and plugged to a no-break. It's our perfect choice for our
> internal apt-get mirror. The problem is: "client" machines are running
> FC1.
> 
> I've already managed to write a tweaked apt.conf file that redirects
> all packages to a different partition (rather than using standard
> /var/cache/apt, /etc/apt etc.), and it seems to work just fine.
> However, apt-get uses the installed RPM database as a base for
> deciding if packages need to be upgraded. This clearly won't work
> "cross-distro" (apt-get "server" running RHEL AS, "client" machines
> running FC1).
> 
> Is there anyway I can instruct apt-get to use a different database for
> comparison? (even if I need to generate it on a FC1 machine)
> 
> Hope I made myself clear. Please let me know if you need any further
> explanation.
> 
> TIA
> 
> Andre

... complementing my own question: if I use on the RHEL machine a
pkgcache.bin (and srcpkgcache.bin) generated on one of the FC1 machines,
would it work?

TIA

Andre

-- 
Andre Oliveira da Costa
([email protected])