[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: Re: live-build: LB_APT_INDICES="false" does not remove indices



Forget to cc list as well
---------- Forwarded message ----------
From: Punky <punkytse@gmail.com>
Date: Tue, Dec 2, 2014 at 11:46 AM
Subject: Re: Re: live-build: LB_APT_INDICES="false" does not remove indices
To: Anthony F McInerney <afm404@gmail.com>


Hi Anthony,

Here are what have been left:

root@voyage:~# ls  -la /var/lib/apt/lists/|wc -l
40
root@voyage:~# ls -la /var/cache/apt/
total 43372
drwxr-xr-x 4 root root       74 Dec  1 03:49 .
drwxr-xr-x 9 root root       60 Dec  1 04:45 ..
drwxr-xr-x 4 root root       30 Dec  1 03:48 archives
-rw-r--r-- 1 root root 22216528 Dec  1 03:49 pkgcache.bin
-rw-r--r-- 1 root root 22195993 Dec  1 03:49 srcpkgcache.bin

root@voyage:~# du -sk /var/cache/apt/ /var/lib/apt/lists/
43372   /var/cache/apt/
89389   /var/lib/apt/lists/

I would expect if "lb chroot_archives chroot remove" works correctly, at lease the above indices should not exists in the final live-image when LB_APT_INDICES=false.

Removing apt indices would decrease the image size which is important for my lean distribution.

Regards,
Punky


On Mon, Dec 1, 2014 at 4:23 PM, Anthony F McInerney <afm404@gmail.com> wrote:
Which files are actually left over?
In synaptic and using apt list after build i can only see the
installed packages, so the option --apt-indices false is doing
something.

Thanks



--
-- 

Regards,
Kim-man "Punky" Tse

* Open Source Embedded Solutions and Systems
  - Voyage Linux (http://linux.voyage.hk)
  - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
  - Voyage MuBox (http://mubox.voyage.hk)
* Voyage Store   (http://store.voyage.hk)



--
-- 

Regards,
Kim-man "Punky" Tse

* Open Source Embedded Solutions and Systems
  - Voyage Linux (http://linux.voyage.hk)
  - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
  - Voyage MuBox (http://mubox.voyage.hk)
* Voyage Store   (http://store.voyage.hk)

Reply to: