LinuxQuestions.org
Help answer threads with 0 replies.
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 01-31-2006, 03:59 PM   #1
coyopil
Member
 
Registered: Oct 2005
Location: Bergen, Norway
Distribution: 2005: Libranet 2.8.1 expanded with Debian Sarge 2012: Kanotix 64 bit, antiX 8.5, Crunchbang
Posts: 139

Rep: Reputation: 14
how to clear apt-cache


ok folks:
what is the shell command to clear the apt package cache?
 
Old 01-31-2006, 04:02 PM   #2
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian
Posts: 2,543

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
apt-get clean

This is on the man page
 
Old 01-31-2006, 04:39 PM   #3
coyopil
Member
 
Registered: Oct 2005
Location: Bergen, Norway
Distribution: 2005: Libranet 2.8.1 expanded with Debian Sarge 2012: Kanotix 64 bit, antiX 8.5, Crunchbang
Posts: 139

Original Poster
Rep: Reputation: 14
man page is LAST option ;-)
thanks
 
Old 04-12-2013, 10:00 AM   #4
WunHeart
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
In my case I was unable to access synaptic, apt-get or aptitude until I used apt-get clean. Thank for the help.
 
Old 04-12-2013, 11:08 AM   #5
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, DragonFly BSD
Posts: 1,414

Rep: Reputation: Disabled
Note: This is a 7 year old thread...

What you describe points to their being not enough space on the / partition. Unless the cache was huge, then clearing it may only be a temporary solution. If you have /var mounted on it's own partition you might not have allocated enough space there.
 
Old 04-14-2013, 02:33 AM   #6
WunHeart
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
I have a small HDD for my linux system with two partitions one for / and /home as below:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 14G 6.6G 6.7G 50% /
udev 3.7G 4.0K 3.7G 1% /dev
tmpfs 1.5G 1.2M 1.5G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.7G 940K 3.7G 1% /run/shm
/dev/sda2 51G 11G 39G 21% /home

I do think it was due to a large cache that I this problem. If this occurs again that I will move /var to its own partition or expand /.

I did notice that it was a old post, does not mean that the information provide was not beneficial.
 
Old 01-29-2014, 01:15 AM   #7
AcornBBCnut
LQ Newbie
 
Registered: May 2013
Location: New Zealand
Distribution: Debian (Wheezy)
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by WunHeart View Post
I did notice that it was a old post, does not mean that the information provide was not beneficial.
Agreed!
 
  


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
how do you clear the cache? eagletalontim Linux - Newbie 11 01-11-2006 04:05 PM
clear or disable file cache acristescu Linux - General 3 11-04-2005 11:25 AM
clear cache remotely [mozilla] dereko Linux - Software 2 10-11-2005 06:56 AM
Help me clear ALL dhcp (client) cache! carboncopy Slackware 4 06-28-2004 09:42 AM
Clear cache raysr Linux - Newbie 2 03-26-2004 02:34 AM


All times are GMT -5. The time now is 12:32 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration