Space allocation +500MB for /var/lib/apt/lists

If none of the more specific forums is the right place to ask

Space allocation +500MB for /var/lib/apt/lists

Postby c.monty » 2019-01-05 12:12

Hi,
I'm running a small application on Debian.
Checking the space allocation of the root disk I can see that /var/lib/apt/lists allocates +500MB.

The details of current space alloction is this:
Code: Select all
--- /var/lib/apt/lists ---------------------------------------------------------------------------------------------------
                         /..
  126,3 MiB [##########] /partial
   47,1 MiB [###       ]  deb.debian.org_debian_dists_unstable_main_source_Sources
   45,3 MiB [###       ]  deb.debian.org_debian_dists_unstable_main_binary-amd64_Packages
   42,2 MiB [###       ]  deb.debian.org_debian_dists_buster_main_binary-amd64_Packages
   38,4 MiB [###       ]  deb.debian.org_debian_dists_buster_main_source_Sources
   37,1 MiB [##        ]  deb.debian.org_debian_dists_stretch_main_binary-amd64_Packages
   32,6 MiB [##        ]  deb.debian.org_debian_dists_jessie_main_binary-amd64_Packages
   32,2 MiB [##        ]  deb.debian.org_debian_dists_stretch_main_source_Sources
   31,2 MiB [##        ]  deb.debian.org_debian_dists_jessie_main_source_Sources
   30,4 MiB [##        ]  deb.debian.org_debian_dists_unstable_main_i18n_Translation-en
   27,7 MiB [##        ]  deb.debian.org_debian_dists_buster_main_i18n_Translation-en
   25,2 MiB [#         ]  deb.debian.org_debian_dists_stretch_main_i18n_Translation-en
   21,4 MiB [#         ]  deb.debian.org_debian_dists_jessie_main_i18n_Translation-en
    7,3 MiB [          ]  deb.debian.org_debian_dists_jessie_main_i18n_Translation-de
    7,1 MiB [          ]  deb.debian.org_debian_dists_unstable_main_i18n_Translation-de
    6,8 MiB [          ]  deb.debian.org_debian_dists_stretch_main_i18n_Translation-de
    6,6 MiB [          ]  deb.debian.org_debian_dists_buster_main_i18n_Translation-de
    4,2 MiB [          ]  deb.debian.org_debian_dists_stretch-backports_main_source_Sources


Question:
How can I reduce and limit space allocation in /var/lib/apt/lists?

THX & happy new year!
c.monty
 
Posts: 12
Joined: 2013-10-13 12:03

Re: Space allocation +500MB for /var/lib/apt/lists

Postby Head_on_a_Stick » 2019-01-05 12:38

c.monty wrote:How can I reduce and limit space allocation in /var/lib/apt/lists?

Reduce the number of repositories. And delete the files periodically (or place /var in a subvolume and enforce a quota if you're running ZFS).

Mixed systems can be tricky to handle in Debian, is there a particular reason you're not running pure Debian stable?
"French riots get results! U lot are instagram zzzombies" — graffiti over Euston underpass
User avatar
Head_on_a_Stick
 
Posts: 8590
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Space allocation +500MB for /var/lib/apt/lists

Postby None1975 » 2019-01-05 16:06

Unstable, buster, stretch, stretch-backports and jessie. It is FrankenDebian. You deserve the first place in repository mich-mach parade.
OS: Debian Stretch / WM: FVWM
Debian Wiki | DontBreakDebian, My config files in github
User avatar
None1975
 
Posts: 750
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Space allocation +500MB for /var/lib/apt/lists

Postby c.monty » 2019-01-06 13:56

OK.
I have removed buster and jessie.

I need unstable because package freeipa-client is only available in unstable.

Hereby I reduce space allocation to 246,5 MiB.

Any other advise?
c.monty
 
Posts: 12
Joined: 2013-10-13 12:03

Re: Space allocation +500MB for /var/lib/apt/lists

Postby None1975 » 2019-01-07 14:43

You are no longer using the Debian system, but it is not clear what. The easiest way is to start from scratch. Install Debian 9 with .netinstall and then upgrade it to unstable. But remember! Given its nature, it can break at any point. It is was designed to break randomly at any given time.
OS: Debian Stretch / WM: FVWM
Debian Wiki | DontBreakDebian, My config files in github
User avatar
None1975
 
Posts: 750
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius


Return to General Questions

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable