[Bug 704630] [NEW] files in /var/cache/apt in uec images
Scott Moser
smoser at canonical.com
Tue Jan 18 21:04:45 UTC 2011
Public bug reported:
Binary package hint: cloud-init
This is a long standing bug, for which I've never opened a bug. However,
something in the build process ends up leaving some debs in
/var/cache/apt/archives .
$ mkdir mnt1 mnt2
$ tar -Sxvzf ubuntu-natty-daily-i386-server-20110118.tar.gz --wildcards "*.img"
$ tar -Sxvzf ubuntu-maverick-daily-i386-server-20110115.tar.gz --wildcards "*.img"
$ sudo mount -o loop maverick*.img mnt1
$ sudo mount -o loop natty*.img mnt2
$ find mnt?/var/cache/apt -type f
$ find mnt?/var/cache/apt -type f
mnt1/var/cache/apt/pkgcache.bin
mnt1/var/cache/apt/srcpkgcache.bin
mnt1/var/cache/apt/archives/libnl1_1.1-5build1_i386.deb
mnt1/var/cache/apt/archives/lock
mnt1/var/cache/apt/archives/wireless-tools_30~pre9-3ubuntu4_i386.deb
mnt1/var/cache/apt/archives/wpasupplicant_0.6.10-2_i386.deb
mnt1/var/cache/apt/archives/libpcsclite1_1.5.5-3ubuntu2_i386.deb
mnt1/var/cache/apt/archives/libiw30_30~pre9-3ubuntu4_i386.deb
mnt2/var/cache/apt/archives/lock
mnt2/var/cache/apt/archives/libnl1_1.1-6_i386.deb
mnt2/var/cache/apt/archives/libpcsclite1_1.5.5-3ubuntu2_i386.deb
mnt2/var/cache/apt/archives/libiw30_30~pre9-3ubuntu6_i386.deb
mnt2/var/cache/apt/archives/wireless-tools_30~pre9-3ubuntu6_i386.deb
mnt2/var/cache/apt/archives/wpasupplicant_0.7.3-0ubuntu1_i386.deb
mnt2/var/cache/apt/srcpkgcache.bin
mnt2/var/cache/apt/pkgcache.bin
$ du -hs mnt?/var/cache/apt
33M mnt1/var/cache/apt
32M mnt2/var/cache/apt
$ sudo chroot mnt1 apt-get clean; sudo chroot mnt2 apt-get clean
$ du -hs mnt?/var/cache/apt
32M mnt1/var/cache/apt
31M mnt2/var/cache/apt
So, its like a total of 1M or less that we'd save, but useless waste
nontheless.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: cloud-init 0.5.15-0ubuntu4
ProcVersionSignature: User Name 2.6.37-12.26-virtual 2.6.37
Uname: Linux 2.6.37-12-virtual x86_64
Architecture: amd64
Date: Tue Jan 18 20:45:28 2011
Ec2AMI: ami-78b54511
Ec2AMIManifest: ubuntu-images-testing-us/ubuntu-natty-daily-amd64-server-20110118.manifest.xml
Ec2AvailabilityZone: us-east-1c
Ec2InstanceType: m1.large
Ec2Kernel: aki-427d952b
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
LC_MESSAGES=en_US.utf8
SHELL=/bin/bash
SourcePackage: cloud-init
** Affects: ubuntu-on-ec2
Importance: Low
Status: Triaged
** Affects: cloud-init (Ubuntu)
Importance: Undecided
Status: Invalid
** Tags: amd64 apport-bug ec2-images natty
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in ubuntu.
https://bugs.launchpad.net/bugs/704630
Title:
files in /var/cache/apt in uec images
More information about the Ubuntu-server-bugs
mailing list