files in /var/cache/apt/archives

2001-12-03 Thread Oki DZ
Hi,

I donwloaded several .deb files, and then transferred to my machine. I'd
like the newly stored files get recognized by apt-get; so that when I do
apt-get dist-upgrade, I don't have to download some of the files that
are already in the directory.

BTW, if I just installed the files using dpkg (I want to upgrade to
Woody), would that make my system to be Woody? (I'm afraid that there some
magical things behind apt-get dist-upgrade.)

TIA,
Oki




Re: files in /var/cache/apt/archives

2001-12-03 Thread Andrew Sione Taumoefolau
On Tue, Dec 04, 2001 at 09:23:33AM +0700, Oki DZ wrote:
 I donwloaded several .deb files, and then transferred to my machine. I'd
 like the newly stored files get recognized by apt-get; so that when I do
 apt-get dist-upgrade, I don't have to download some of the files that
 are already in the directory.

Moving them into /var/cache/apt/archives should be enough -- it's what I
did (often :) when I was still playing around with Debian and installing
and reinstalling it daily. 

 BTW, if I just installed the files using dpkg (I want to upgrade to
 Woody), would that make my system to be Woody? (I'm afraid that there some
 magical things behind apt-get dist-upgrade.)

Pretty much! :)

-- 

Andrew Sione Taumoefolau
[EMAIL PROTECTED]
http://www.midspark.net/shazbot/



Re: files in /var/cache/apt/archives

2001-12-03 Thread Karsten M. Self
on Tue, Dec 04, 2001 at 09:23:33AM +0700, Oki DZ ([EMAIL PROTECTED]) wrote:
 Hi,
 
 I donwloaded several .deb files, and then transferred to my machine. I'd
 like the newly stored files get recognized by apt-get; so that when I do
 apt-get dist-upgrade, I don't have to download some of the files that
 are already in the directory.

Yes.

Alternative (mentioned many times here):  put a transparent squid
caching proxy on your gateway.  You'll cache most of your apt-get
updates and dist-upgrades with little additional work.  A suitable large
cache, suitably tuned (you'll want to increase the file sizes to be
considered for caching).

 BTW, if I just installed the files using dpkg (I want to upgrade to
 Woody), would that make my system to be Woody? (I'm afraid that there
 some magical things behind apt-get dist-upgrade.)

Set your /etc/apt/sources.list file to point to testing.  Run an update
and a dist-upgrade.  You're woody (or broken ;-).

Peace.

-- 
Karsten M. Self kmself@ix.netcom.com   http://kmself.home.netcom.com/
 What part of Gestalt don't you understand? Home of the brave
  http://gestalt-system.sourceforge.net/   Land of the free
   Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org
Geek for Hire http://kmself.home.netcom.com/resume.html


pgpYqXkUOWhOF.pgp
Description: PGP signature