Sir, I also blog about this a few weeks back. http://gerona.gov.ph/davidjr/?p=92

On the sources.list file.. isn't it supposed to be deb file:/home/dominique/debs/debs/. /  ?

Just asking also, I am no expert :)


On 3/24/06, Dominique Cimafranca <[EMAIL PROTECTED] > wrote:
Hi, all,

I was reinstalling Ubuntu (Breezy Badger) on a couple of my machines.  As you know, after the installation, Ubuntu looks for the updated files.  Given the age of Breezy, it's now at 74MB worth of files to download.

Rather than update each machine, I only updated one.  I then copied the downloaded deb files to the other machine and created a custom repository so that it wouldn't have to download these files anymore.  In case someone out there is going through the same situation, I'm posting the steps.

Here are the steps I took:

1) Downloaded the update files to the target machine machine.  deb files are in /var/cache/apt/archives.  Copied the deb files to the target machine.  (in this case, /home/dominique/debs)

2) Installed the dpkg-dev package on the target machine.  We need this because of dpkg-scanpackages command, not installed by default.

3) In the debs directory (containing the packages), run

      dpkg-scanpackages . /dev/null | gzip > debs/Packages.gz

This will create /home/dominique/debs/debs/Packages.gz

4) Launched synaptic, cleared out the repositories (just in case)

5) In Synaptic, added new custom repository

deb file:/home/dominique/debs debs/

6) Rescan repositories.  Synaptic should see the files to be upgraded.  Mark all upgrades, then apply.


This sequence can be adapted for a local network repository. 

I hope this helps.  If someone can suggest refinements, please do so.  Thanks.

--
Dominique Gerald M. Cimafranca
http://villageidiotsavant.blogspot.com
Dumaguete City

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph




--
David Tacasa Asuncion, Jr.
website keeper, forever linux newbie, BUM extraordinaire

Linux User # 406430
http://counter.li.org/

GPG: 0A024BC0

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to