Re: out of space in /var/cache/apt/archives

2003-02-05 Thread Gary Turner
Nick Hastings wrote:

Hi,

* Nori Heikkinen [EMAIL PROTECTED] [030205 11:31]:
 my /var is 465M.  i'm trying to do and apt-get upgrade, which i
 haven't in a while, and got the following message:
 
 Need to get 69.0MB/109MB of archives. After unpacking 39.1MB will be
 used.
 E: Sorry, you don't have enough free space in /var/cache/apt/archives/
 to hold all the .debs.
snip

To safely remove old/obsolete packages from the cache:

apt-get autoclean

If this still doesn't give you enough space you can tell apt to put
the cache somewhere other than /var, however I can't remember how to
do that. I think there was a thread regarding this a few weeks ago, so
have a look in the archives, or try reading the apt-get man page or
the apt howto.

I had the same problem.  The solution for me was to move the cache.
1.  mkdir /home/aptcache# or pick another 
location--/usr/local/lib
# 
comes to mind
2.  in /etc/apt/apt.conf do 
Dir::Cache::Archives /home/aptcache;

See man apt.conf
--
gt  [EMAIL PROTECTED]
 If someone tells you---
 I have a sense of humor, but that's not funny. 
  ---they don't.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




out of space in /var/cache/apt/archives

2003-02-04 Thread Nori Heikkinen
my /var is 465M.  i'm trying to do and apt-get upgrade, which i
haven't in a while, and got the following message:

Need to get 69.0MB/109MB of archives. After unpacking 39.1MB will be
used.
E: Sorry, you don't have enough free space in /var/cache/apt/archives/
to hold all the .debs.

... which is true:

orange:~# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/hda5  93M   25M   63M  29% /
/dev/hda1  29M  2.1M   25M   8% /boot
/dev/hda6 6.0G  1.8G  3.8G  32% /usr
/dev/hda7  30G   27G  2.3G  92% /home
/dev/hda8 465M  407M   34M  93% /var
/dev/hda9 465M  5.5M  435M   2% /tmp

so, it's pretty full.  288M of that is in /var/cache/apt/archives, and
are a lot of debs.  can i safely delete these all to make room for the
new ones?  there's nothing here that i need for these packages to run,
right?

just checking.

/nori

-- 
.~.  nori @ sccs.swarthmore.edu 
/V\  http://www.sccs.swarthmore.edu/~nori/jnl/
   // \\  @ maenad.net
  /(   )\   www.maenad.net
   ^`~'^


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: out of space in /var/cache/apt/archives

2003-02-04 Thread Steve Lamb
Nori Heikkinen said:
 so, it's pretty full.  288M of that is in /var/cache/apt/archives, and
 are a lot of debs.  can i safely delete these all to make room for the
 new ones?  there's nothing here that i need for these packages to run,
 right?

Should be able to.  Easiest way to do it is apt-get clean.


-- 
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
 ICQ: 5107343  | main connection to the switchboard of souls.
---+-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: out of space in /var/cache/apt/archives

2003-02-04 Thread Colin Watson
On Tue, Feb 04, 2003 at 09:19:11PM -0500, Nori Heikkinen wrote:
 so, it's pretty full.  288M of that is in /var/cache/apt/archives, and
 are a lot of debs.  can i safely delete these all to make room for the
 new ones?  there's nothing here that i need for these packages to run,
 right?

That's right. You can just run 'apt-get clean'.

Cheers,

-- 
Colin Watson  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: out of space in /var/cache/apt/archives

2003-02-04 Thread CaT
On Tue, Feb 04, 2003 at 09:19:11PM -0500, Nori Heikkinen wrote:
 so, it's pretty full.  288M of that is in /var/cache/apt/archives, and
 are a lot of debs.  can i safely delete these all to make room for the
 new ones?  there's nothing here that i need for these packages to run,
 right?

Right. apt-get clean is your friend. apt-get --help and man apt-get are
your better friends.  :)

-- 
Other countries of course, bear the same risk. But there's no doubt his
hatred is mainly directed at us. After all this is the guy who tried to kill 
my dad.
- George W. Bush Jr, 'President' of the United States
  September 26, 2002 (from a political fundraiser in Huston, Texas)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: out of space in /var/cache/apt/archives

2003-02-04 Thread Nick Hastings
Hi,

* Nori Heikkinen [EMAIL PROTECTED] [030205 11:31]:
 my /var is 465M.  i'm trying to do and apt-get upgrade, which i
 haven't in a while, and got the following message:
 
 Need to get 69.0MB/109MB of archives. After unpacking 39.1MB will be
 used.
 E: Sorry, you don't have enough free space in /var/cache/apt/archives/
 to hold all the .debs.
 
 ... which is true:
 
 orange:~# df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/hda5  93M   25M   63M  29% /
 /dev/hda1  29M  2.1M   25M   8% /boot
 /dev/hda6 6.0G  1.8G  3.8G  32% /usr
 /dev/hda7  30G   27G  2.3G  92% /home
 /dev/hda8 465M  407M   34M  93% /var
 /dev/hda9 465M  5.5M  435M   2% /tmp
 
 so, it's pretty full.  288M of that is in /var/cache/apt/archives, and
 are a lot of debs.  can i safely delete these all to make room for the
 new ones?  there's nothing here that i need for these packages to run,
 right?

To safely remove old/obsolete packages from the cache:

apt-get autoclean

If this still doesn't give you enough space you can tell apt to put
the cache somewhere other than /var, however I can't remember how to
do that. I think there was a thread regarding this a few weeks ago, so
have a look in the archives, or try reading the apt-get man page or
the apt howto.

Cheers,

Nick.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: out of space in /var/cache/apt/archives

2003-02-04 Thread Seneca
On Tue, Feb 04, 2003 at 09:19:11PM -0500, Nori Heikkinen wrote:
 so, it's pretty full.  288M of that is in /var/cache/apt/archives, and
 are a lot of debs.  can i safely delete these all to make room for the
 new ones?  there's nothing here that i need for these packages to run,
 right?

You don't need those debs.  Just run apt-get clean.

-- 
Seneca
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: out of space in /var/cache/apt/archives

2003-02-04 Thread Bob Nielsen
On Tue, Feb 04, 2003 at 09:19:11PM -0500, Nori Heikkinen wrote:
 my /var is 465M.  i'm trying to do and apt-get upgrade, which i
 haven't in a while, and got the following message:
 
 Need to get 69.0MB/109MB of archives. After unpacking 39.1MB will be
 used.
 E: Sorry, you don't have enough free space in /var/cache/apt/archives/
 to hold all the .debs.
 
 ... which is true:
 
 orange:~# df -h
 FilesystemSize  Used Avail Use% Mounted on
 /dev/hda5  93M   25M   63M  29% /
 /dev/hda1  29M  2.1M   25M   8% /boot
 /dev/hda6 6.0G  1.8G  3.8G  32% /usr
 /dev/hda7  30G   27G  2.3G  92% /home
 /dev/hda8 465M  407M   34M  93% /var
 /dev/hda9 465M  5.5M  435M   2% /tmp
 
 so, it's pretty full.  288M of that is in /var/cache/apt/archives, and
 are a lot of debs.  can i safely delete these all to make room for the
 new ones?  there's nothing here that i need for these packages to run,
 right?
 
 just checking.

Correct.  'apt-get clean' will delete them for you.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: out of space in /var/cache/apt/archives

2003-02-04 Thread Nori Heikkinen
on Tue, 04 Feb 2003 09:43:25PM -0500, Seneca insinuated:
 On Tue, Feb 04, 2003 at 09:19:11PM -0500, Nori Heikkinen wrote:
  so, it's pretty full.  288M of that is in /var/cache/apt/archives,
  and are a lot of debs.  can i safely delete these all to make room
  for the new ones?  there's nothing here that i need for these
  packages to run, right?
 
 You don't need those debs.  Just run apt-get clean.

awesome, thanks!

/nori

-- 
.~.  nori @ sccs.swarthmore.edu 
/V\  http://www.sccs.swarthmore.edu/~nori/jnl/
   // \\  @ maenad.net
  /(   )\   www.maenad.net
   ^`~'^


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: out of space in /var/cache/apt/archives

2003-02-04 Thread Paul Johnson
On Tue, Feb 04, 2003 at 09:19:11PM -0500, Nori Heikkinen wrote:
 Need to get 69.0MB/109MB of archives. After unpacking 39.1MB will be
 used.
 E: Sorry, you don't have enough free space in /var/cache/apt/archives/
 to hold all the .debs.

apt-get autoclean to clear just out of date packages (if you want to
keep local copies of everything).

apt-get clean to just clear them all out.

-- 
 .''`. Baloo [EMAIL PROTECTED]
: :'  :proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than to fix a system



msg28697/pgp0.pgp
Description: PGP signature


Re: out of space in /var/cache/apt/archives

2003-02-04 Thread Emma Jane Hogbin
On Wed, Feb 05, 2003 at 11:36:38AM +0900, Nick Hastings wrote:
 To safely remove old/obsolete packages from the cache:
 apt-get autoclean

Yes, do this first!

 If this still doesn't give you enough space you can tell apt to put
 the cache somewhere other than /var, however I can't remember how to
 do that. I think there was a thread regarding this a few weeks ago, so
 have a look in the archives

Here's my HOWTO on partitioning hard drives:
http://lists.debian.org/debian-user/2003/debian-user-200301/msg05038.html

I ran into exactly the same problem Nori did.

emma

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: out of space in /var/cache/apt/archives

2003-02-04 Thread Nori Heikkinen
on Tue, 04 Feb 2003 11:13:02PM -0500, Emma Jane Hogbin insinuated:
 On Wed, Feb 05, 2003 at 11:36:38AM +0900, Nick Hastings wrote:
  To safely remove old/obsolete packages from the cache: apt-get
  autoclean
 
 Yes, do this first!

great, just what i needed.  thanks.

  If this still doesn't give you enough space you can tell apt to
  put the cache somewhere other than /var, however I can't remember
  how to do that. I think there was a thread regarding this a few
  weeks ago, so have a look in the archives
 
 Here's my HOWTO on partitioning hard drives:
 http://lists.debian.org/debian-user/2003/debian-user-200301/msg05038.html
 
 I ran into exactly the same problem Nori did.

yeah, i didn't partition this one -- that's my excuse ;)

but i likely would have done something like this if i hadn't been able
to remove those debs for some reason.  

thanks for the howto link.

/nori

-- 
.~.  nori @ sccs.swarthmore.edu 
/V\  http://www.sccs.swarthmore.edu/~nori/jnl/
   // \\  @ maenad.net
  /(   )\   www.maenad.net
   ^`~'^


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]