On Mon, 14 Feb 2005, Sridhar M.A. wrote:

>    mkdir -p /home/software/debian/dists/sarge/packages/binary-i386
>    cp /somewhere/*.deb /home/software/debian/dists/sarge/packages/binary-i386

I loop mounted all CDs on a server and soft linked it to make available 
under /var/www/html

Then used wget to fetch tree under "pool", which contain "main" and 
"contrib". The 15 CDs were made available like:

/home/software/debian/dists/sarge/packages/binary-i386/debian/CD_Number/pool/ 
..

where CD_Number varies from 1 through 15.

>    cd /home/software/debian
>    dpkg-scanpackages dists/sarge/packages/binary-i386 /dev/null > \
>         dists/sarge/packages/binary-i386/Packages

Done. Got Packages of size 13M

>     gzip -c dists/sarge/packages/binary-i386/Packages > \
>         dists/sarge/packages/binary-i386/Packages.gz

Got 3.2M in size.

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

Used following like only in sources.list:

   deb file:/home/software/debian sarge packages

> As root, run 
>   apt-get update

It took about 1.8 sec, Ign file sarge/packages

>   apt-get upgrade

Took 0.3 sec. 0 upgrade, 0 newly install, 0 to remove, 0 not upgraded.

How I can install all packages from 15 CDs, which now I have on Debian 
installed (only from 1st CD) HDD.

Thanks in advance.

-- 
H.S.Rai



-------------------------------------------------------
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