Re: Having Apt save packages in local hierarchy.
>you wrote on: 04 Feb 99 at 15:53 (received 05.02.99)
>about : _Having Apt save packages in local hierarchy._
>
>>Whenever Apt fetches new packages, is there a way for it to save them
>Yes, I believe so. Sorry, I don't know the exact syntax, but remember to
>have read it with "man apt-get". There is an option, that makes apt just
>download the files, without installing them.
If you just run the apt-get command by itself, eg apt-get dselect-upgrade
then it downloads and installs the files, but doesn't delete them.
Personally
I recommend using the apt-get -fd dselect-upgrade command. This doesn't
install the packages, just downloads them.
>>Preferably, if Apt could understand the local directory hierarchy and
>>automatically put them in their place that would be wonderful.
>I dunno where apt stores those files, but there's a way to find out :-)
The packages end up in /var/cache/apt/archives partially downloaded
files go into /var/cache/apt/archives/partial it doesn't save the directory
structure though, so if want to maintain a local directory hierachy and use
apt you'll have to manually sort the files.
Jolyon
Reply to: