Blog Forum Wiki Links Contact Us NetbookUser
RunCore Pro IV SSD Transforms your ASUS EEE PC by increasing 
performance 5-40X. Your satistfaction guaranteed RunCore Pro 70mm SATA Mini PCI-e SSD
RunCore Pro IV 70mm SATA II Mini PCI-e SSD
RunCore Pro IV 2.5 Inch SATA II SSD

You are not logged in.

#1 2008-07-30 2:31:26 am

OME9A
Member
Registered: 2008-05-16
Posts: 19

How canIchange the default drive download location for synaptic files?

I got an error while trying to update something about running out of space but I was able to delete some older packages and install the upgrade.

Now it's about 95% full and I want to change the drive to the other backup drive (it's currently the Xandros smaller OS drive).

I checked the preferences option in Synaptic but couldn't find anything.

Any ideas?

Offline

 

#2 2008-07-30 8:42:00 am

albkwan
ExtrEmE User
From: Hong Kong
Registered: 2007-11-04
Posts: 1440
Website

Re: How canIchange the default drive download location for synaptic files?

Synaptic is just the frontend of apt-get. The default location of which for downloaded packages is /var/apt/cache/archive. So if you have run out of disk space on the SSD, you can create a symbolically linked folder on your USB drive to /var/apt/cache/archive.


EeePC 4G white,
Default Xandros (Easy Mode + icewm start menu) on 1st SSD/2nd 16GB SSD added/SD/USB/
http://eeepc.fire.prohosting.com/
http://eeepc-albkwan.blogspot.com/

Offline

 

#3 2008-07-30 10:01:17 am

OME9A
Member
Registered: 2008-05-16
Posts: 19

Re: How canIchange the default drive download location for synaptic files?

Okay I think I understand but how would I go about doing that...?

PS- you see how in the middle all of a sudden it started putting a space between the letters...? What's the key combo to do that! I hate it!

Offline

 

#4 2008-08-01 10:42:44 pm

OME9A
Member
Registered: 2008-05-16
Posts: 19

Re: How canIchange the default drive download location for synaptic files?

anyone know...? =/

Offline

 

#5 2008-08-02 11:23:56 am

Sage_Harpuia
ExtrEmE User
Registered: 2008-01-05
Posts: 2689

Re: How canIchange the default drive download location for synaptic files?

Regarding the text issue, the key combination is Shift + Space. You can find more information on that issue in this thread. wink

Last edited by Sage_Harpuia (2008-08-02 11:24:06 am)


--Harpuia ("Har-pew-yah")

| Lenovo Thinkpad R61i (Kubuntu) | Toshiba Satellite 4000CDS (Puppy Linux) | Pandora (Pre-ordered) |
| How to install software on Linux | "The Right to Read" |

Offline

 

#6 2008-08-02 12:16:37 pm

albkwan
ExtrEmE User
From: Hong Kong
Registered: 2007-11-04
Posts: 1440
Website

Re: How canIchange the default drive download location for synaptic files?

OME9A wrote:

Okay I think I understand but how would I go about doing that...?

You can try like this:

Open File Manager > create a folder named "archives" in your USB drive > click into that folder > then select "Tools" menu > "Open Console Window".

Now you should be in a konsole terminal with the path at something like /media/D:/archives>

Next rename the existing folder /var/apt/cache/archives, then copy its content into the new "archives" folder in your USB drive, and create a symbolic link to /var/apt/cache/archives.

Code:

sudo mv /var/apt/cache/archives /var/apt/cache/archives.orig
cp -R /var/apt/cache/archives.orig/* .
sudo ln -s /media/D:\/archives /var/apt/cache/archives

Be careful with the "D:\" thing. You can type "D:" first, then press [TAB] to allow the system to autocomplete the rest. Also change D to the correct drive letter your system has assigned to your USB drive.

Then you can proceed to install program as usual.

To return to original settings: delete the symbolic link and rename the folder "archives.orig" back to "archives":

Code:

cd /var/apt/cache/
sudo rm archives
sudo mv archives.orig archives

EeePC 4G white,
Default Xandros (Easy Mode + icewm start menu) on 1st SSD/2nd 16GB SSD added/SD/USB/
http://eeepc.fire.prohosting.com/
http://eeepc-albkwan.blogspot.com/

Offline

 

#7 2008-08-15 1:48:39 pm

lagagnon
ExtrEmE User
Registered: 2007-11-10
Posts: 2783

Re: How canIchange the default drive download location for synaptic files?

albkwan: great post! It would be nice if you put that in the wiki!


HowTo Ask Questions the Smart Way
You keep believing, I'll keep evolving. Anon

Offline

 

#8 2008-08-15 11:57:59 pm

albkwan
ExtrEmE User
From: Hong Kong
Registered: 2007-11-04
Posts: 1440
Website

Re: How canIchange the default drive download location for synaptic files?

lagagnon wrote:

albkwan: great post! It would be nice if you put that in the wiki!

When I have time! There are too many wiki post I am working on now.


EeePC 4G white,
Default Xandros (Easy Mode + icewm start menu) on 1st SSD/2nd 16GB SSD added/SD/USB/
http://eeepc.fire.prohosting.com/
http://eeepc-albkwan.blogspot.com/

Offline

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson