On Mon, 14 Feb 2005 17:04:45 +0530 (IST), H. S. Rai
<[EMAIL PROTECTED]> wrote:
> 
> I intend to make server on RedHat. May we run dpkg-scanpackages on RH?
>
No problem as I can see. Just create the Packages and Packages.gz file
on your debian machine and copy it to the proper directory. IIRC,
there must be some ports of certain deb-utils to RH/Fedora. You can
try googling for it.

> > Append lines to /etc/fstab to mount all the ISOs onto the appropriate
> > directory under /debian.  Now run apt-setup
> 
> That mean, this command is to be run from a Debian Installed machine.
>
Obviously.
 
> I believe, what I am seeking is quite common, and there may well
> documented step by step procedure. Can someone point me to that link?
>
I have a fairly good broadband at my home. I just create a repoistory
of all the packages. Create the Packages* file and copy the whole to
an external hard disk housed in a usb enclosure. Move this box around
to upgrade any box. Of course, if the target box has a package that I
have not installed on my system, it is not upgraded. Anyway, it is one
more download and a trip to that machine which anyway I do daily :-)

If you are interested, I do the following:

   mkdir -p /home/software/debian/dists/sarge/packages/binary-i386
   cp /somewhere/*.deb /home/software/debian/dists/sarge/packages/binary-i386
   cd /home/software/debian
   dpkg-scanpackages dists/sarge/packages/binary-i386 /dev/null > \
        dists/sarge/packages/binary-i386/Packages
    gzip -c dists/sarge/packages/binary-i386/Packages > \
        dists/sarge/packages/binary-i386/Packages.gz
  
If this is to go on a public server, say http://xyz/debian
The appropriate entry in /etc/apt/sources.list would be

   deb http://xyz/debian sarge packages

As root, run 
  apt-get update
  apt-get upgrade

If this is on a local directory, the sources.list is

  deb file:/home/software/debian sarge packages

Rest as usual.

HTH,

Regards,

-- 
Sridhar M.A.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to