LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Changing Apt File Cache Location (https://www.linuxquestions.org/questions/debian-26/changing-apt-file-cache-location-433283/)

piggysmile 04-09-2006 05:19 AM

Changing Apt File Cache Location
 
How can the default apt file cache location "/var/cache/apt/archives" be moved somewhere else like in /home/user/archives?

Acron_0248 04-09-2006 06:52 AM

You could try addin this line in your apt.conf file:

Dir::Cache "/home/youruser/cache";


Reegards


Bye

piggysmile 04-10-2006 05:53 PM

The option has to be
Code:

Dir::Cache::pkgcache=/home/user/cache
according to man. Plus I don't have apt.conf.

I made a temporary solution by making a symbolic link of /home/user/cache to /var/cache/apt/archives.


All times are GMT -5. The time now is 10:04 AM.