On Mon, 23 Jun 2003 14:22:21 +1000 Rob Weir <[EMAIL PROTECTED]> wrote:
> On Sat, Jun 21, 2003 at 12:09:08PM -0700, Rodney D. Myers wrote: > > In the past month, I've grabbed updates to sarge, and have them > > "archived" onto cdrom. > > > > Now that I've re-installed woody, and upgraded back to sarge, how do > > I get apt-get to see these updated files, so I can save a bit of > > time sing a dialup internet connection. > > > > How do I create a cdrom, that apt-get will know about? > > > > Is there a HOWTO somewhere > > You can use the 'debian-cd' package to generate CD images that apt can > use. Just configure and run it (you will HAVE to read the > documentation) and then use 'apt-cdrom add' to tell apt about the CD. > If you have the .debs on disk, tho, you can create an apt'able archive > by running 'dpkg-scanpackages . /dev/null > Packages' in the dir > containing them (it will recurse into subdirectories) and then > pointing apt at it with a line like this in your /etc/apt/sources.list > > deb file:///path/to/debs ./ > > Don't forget to run 'apt-get update'. Also, apt-proxy can be very > handy for dialup users, especially if you have more than one Debian > system. > Thanks. I ran, and reran it many time yesterday, to make sure it did what I think it's supposed to do. I burnt a cdrom, with everything in the / directory, and the Packages.gz reflected this. I ran apt-setup, point it to this new cdrom, and when finished ran "apt-get update", there were no errors reported, and nothing in dmesg or "tail val/log/messages". I then ran "apt-get upgrade", and was told that there was 14.+ meg of files to be needed, and it started trying to download them. If things worked as I think they should, I know I shouldn't think ;-), should it try and grab the files from the cdrom first? Thanks -- Rodney D. Myers <[EMAIL PROTECTED]> Registered Linux User #96112 ICQ#: AIM#: YAHOO: 18002350 mailman452 mailman42_5 They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. Ben Franklin - 1759
pgp00000.pgp
Description: PGP signature