LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-09-2006, 05:19 AM   #1
piggysmile
Member
 
Registered: Apr 2004
Location: Philippines
Posts: 175

Rep: Reputation: 30
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?
 
Old 04-09-2006, 06:52 AM   #2
Acron_0248
Member
 
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

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

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


Reegards


Bye
 
Old 04-10-2006, 05:53 PM   #3
piggysmile
Member
 
Registered: Apr 2004
Location: Philippines
Posts: 175

Original Poster
Rep: Reputation: 30
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.

Last edited by piggysmile; 04-10-2006 at 05:55 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox cache location? detpenguin Linux - Software 1 07-13-2005 03:04 PM
apt could not lock the cache file abadile Debian 4 06-20-2005 12:35 PM
Changing emacs' default file location rose_bud4201 Linux - Software 6 11-16-2004 11:01 PM
How to 'apt-cache search' & 'apt-file search' by distribution? davidas Debian 3 04-19-2004 01:56 PM
APT questions -- file on the mirror, not in the cache... MatthewSabin Linux - Software 6 06-14-2003 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration