keep-apt waste space with Translation-* files

Bug #956894 reported by Paolo Sammicheli
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-defaults-builder (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

We tried building the Italian CD with the keep-apt directive. We've found that as is there's a waste of more than 50MB, that makes the CD ovesizing 700MB.

We found that two kind of files related to universe and Translation-en are not useful for fixing bug #942180. Se we can delete it and save all this space.

Attaching a patch with a proposed change.

Thanks in advance

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubuntu-defaults-builder 0.26 [modified: usr/bin/ubuntu-defaults-image]
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic-pae 3.2.9
Uname: Linux 3.2.0-18-generic-pae i686
ApportVersion: 1.94.1-0ubuntu2
Architecture: i386
Date: Fri Mar 16 12:59:22 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120201)
PackageArchitecture: all
ProcEnviron:
 TERM=screen
 PATH=(custom, user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-defaults-builder
UpgradeStatus: Upgraded to precise on 2012-03-13 (2 days ago)

Revision history for this message
Paolo Sammicheli (xdatap1) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "keep-apt.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Martin Pitt (pitti) wrote : Re: keep-apt waste space with universe and Translation-en files

Selectively removing *universe* would be besides the point, though. If you use --components universe, you probably have some universe packages installed, and thus apt should work on them just as well. If you don't build with --components universe, then the ISO won't have the indexes in the first place.

I'm ok with removing the package descriptions, i. e. removing *Translations*. I committed this bit. If you want to selectively drop per-comonent apt lists, I suggest we add a new option which takes an argument list, like "--keep-apt-components=main,restricted"?

summary: - keep-apt waste space with universe and Translation-en files
+ keep-apt waste space with Translation-* files
Revision history for this message
Martin Pitt (pitti) wrote :

Committed the removal of all translation files and dedicating this bug to that.

Thank you!

Changed in ubuntu-defaults-builder (Ubuntu):
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-defaults-builder - 0.27

---------------
ubuntu-defaults-builder (0.27) precise; urgency=low

  * test/make-example: Call the package "defaults-builder-test", with the
    recent "restrict Ubuntu customizations" change we can't call the package
    "ubuntu-defaults-test" any more. (LP: #957044)
  * bin/ubuntu-defaults-image: With --keep-apt, remove the translations. They
    take a lot of space, and most apt operations will work fine without them.
    (LP: #956894)
  * bin/dh_ubuntu_defaults: Update distribution.ini path to where Firefox puts
    the file these days. (LP: #956899)
 -- Martin Pitt <email address hidden> Fri, 16 Mar 2012 17:04:14 +0100

Changed in ubuntu-defaults-builder (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.