@cadcrazy:best and simple method is u move ur existing /var/cache/apt/ to ur desired location and make a symlink in /var/cache/ dir as
for eg:if your apt-cache is in Desktop
ln -s /home/user/Desktop/mydir /var/cache/apt
yes,u can edit /etc/apt/apt.conf (man 5 apt.conf) also to set apt-cache dir to someother location or partition.but the symlink solution is easy
for debian way(dont try it!):
Code:
sudo vim /etc/apt/apt.conf (make apt.conf file)
sudo echo "Dir::Cache "var/cache/apt/";" >> /etc/apt/apt.conf
sudo echo "Dir::Cache::archives "archives/";" >> /etc/apt/apt.conf
where var/cache/apt/ can be replaced by ur directory.
use sudo apt-config dump to see the current apt settings.
2nd options is for to download new cahe to the new directory.
Best is to try 1st way.