Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #264814

Re: Problem with /var/cache/apt/archives/

From Joe Pfeiffer <pfeiffer@cs.nmsu.edu>
Newsgroups linux.debian.user
Subject Re: Problem with /var/cache/apt/archives/
Date 2023-12-16 16:20 +0100
Message-ID <HLECl-dZQw-1@gated-at.bofh.it> (permalink)
References <HLDdf-dYTw-5@gated-at.bofh.it> <HLDdf-dYTw-3@gated-at.bofh.it>
Organization A noiseless patient Spider

Show all headers | View raw


"Stephen P. Molnar" <s.molnar@sbcglobal.net> writes:

> I am running Bookworm on my Debian computer. When I installed the OS I
> selected the option for separate /var etc, and selected the default 
> sizes of the partitions.
>
> When I ran sudo apt update this morning I received the error message:
>
> E: You don't have enough free space in /var/cache/apt/archives/
>
> Can I increase the size of the /var partition on the ssd without
> having to reinstall the system?
>
> Thanks in advance.

Are you doing anything to get rid of unused packages?  If not the
archives just keep growing.  An occasional

# apt-get autoclean

will do a lot for you.

       clean
           clean clears out the local repository of retrieved package files.
           It removes everything but the lock file from
           /var/cache/apt/archives/ and /var/cache/apt/archives/partial/.

       autoclean (and the auto-clean alias since 1.1)
           Like clean, autoclean clears out the local repository of retrieved
           package files. The difference is that it only removes package files
           that can no longer be downloaded, and are largely useless. This
           allows a cache to be maintained over a long period without it
           growing out of control. The configuration option
           APT::Clean-Installed will prevent installed packages from being
           erased if it is set to off.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Problem with /var/cache/apt/archives/ "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2023-12-16 14:50 +0100
  Re: Problem with /var/cache/apt/archives/ Greg Wooledge <greg@wooledge.org> - 2023-12-16 15:10 +0100
  Re: Problem with /var/cache/apt/archives/ john doe <johndoe65534@mail.com> - 2023-12-16 15:10 +0100
    Re: Problem with /var/cache/apt/archives/ Andy Smith <andy@strugglers.net> - 2023-12-16 16:30 +0100
  Re: Problem with /var/cache/apt/archives/ Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2023-12-16 16:20 +0100
    Re: Problem with /var/cache/apt/archives/ "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2023-12-16 16:50 +0100
      Re: Problem with /var/cache/apt/archives/ Charles Curley <charlescurley@charlescurley.com> - 2023-12-16 18:20 +0100
      Re: Problem with /var/cache/apt/archives/ <tomas@tuxteam.de> - 2023-12-16 20:40 +0100
        Re: Problem with /var/cache/apt/archives/ Charles Curley <charlescurley@charlescurley.com> - 2023-12-16 21:30 +0100
          Re: Problem with /var/cache/apt/archives/ Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2023-12-16 23:20 +0100
      Re: Problem with /var/cache/apt/archives/ Max Nikulin <manikulin@gmail.com> - 2023-12-17 03:10 +0100
        Re: Problem with /var/cache/apt/archives/ Curt <curty@free.fr> - 2023-12-17 17:30 +0100
  Re: Problem with /var/cache/apt/archives/ Felix Miata <mrmazda@earthlink.net> - 2023-12-16 16:30 +0100
  Re: Problem with /var/cache/apt/archives/ Pocket <pocket@columbus.rr.com> - 2023-12-16 16:50 +0100
    Re: Problem with /var/cache/apt/archives/ Cindy Sue Causey <butterflybytes@gmail.com> - 2023-12-18 03:50 +0100
      Re: Problem with /var/cache/apt/archives/ Greg Wooledge <greg@wooledge.org> - 2023-12-18 04:10 +0100

csiph-web