APT: Use Different Folder for Cache

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

APT: Use Different Folder for Cache

Postby garda on Sat Nov 22, 2008 7:49 am

My root partition is getting cramped (slightly less than a gig of free space remaining). So I'm thinking about moving all the *.deb's in /var/cache/apt/archives to another folder in another partition (/media/backup/apt) and tell apt/synaptic to permanently use it as cache folder. I know how to move the files but I still can't figure out how to make apt/synaptic always refer to this folder to check for and and store downloaded packages. Can someone please kindly tell me how to accomplish this?

Thank you in advance.
User avatar
garda
Level 5
Level 5
 
Posts: 744
Joined: Sat Aug 30, 2008 2:55 am
Location: /root

Linux Mint is funded by ads and donations.
 

Re: APT: Use Different Folder for Cache

Postby proxima_centauri on Sat Nov 22, 2008 10:29 am

User avatar
proxima_centauri
Level 11
Level 11
 
Posts: 3969
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: APT: Use Different Folder for Cache

Postby garda on Sat Nov 22, 2008 12:49 pm

Thanks for the link. I discovered a symlink method too, and I've just finished writing a simple how-to about it:

How To Move APT's Archive Directory to Another Partition
User avatar
garda
Level 5
Level 5
 
Posts: 744
Joined: Sat Aug 30, 2008 2:55 am
Location: /root


Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], cshong0618, Google [Bot] and 47 guests