build with the --ppa, apt-line duplicated

Bug #1072115 reported by Hajime Mizuno
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-defaults-builder (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I run ubuntu-defaults-image with a --ppa option.
ISO Images that have been built, include "ubuntu-defaults.chroot.list" and "ubuntu-defaults.binary.list".
These contents are identical. As a result, I failed to apt-get update (duplicate apt-line).

ubuntu-defaults.chroot.list, in the image that has been built should be removed.

build command:
$ ubuntu-defaults-image --ppa mizuno-as/ppa

Live session in builded image:
$ ls /etc/apt/sources.list.d/
ubuntu-defaults.binary.list ubuntu-defaults.chroot.list

$ sudo apt-get update
(...snip...)
W: Duplicate sources.list entry http://ppa.launchpad.net/mizuno-as/ppa/ubuntu/ quantal/main i386 Packages (/var/lib/apt/lists/ppa.launchpad.net_mizuno-as_ppa_ubuntu_dists_quantal_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

Related branches

Nobuto Murata (nobuto)
Changed in ubuntu-defaults-builder (Ubuntu):
assignee: nobody → Nobuto MURATA (nobuto)
status: New → Confirmed
Revision history for this message
Nobuto Murata (nobuto) wrote :

I seems that chroot.list and binary.list were deprecated, and we should use list.chroot and list.binary instead.
http://live.debian.net/manual/html/live-manual.en.html#371

But we don't need to have a separate content for chroot/binary to add PPA, so I unified those in the attached branch.

Nobuto Murata (nobuto)
Changed in ubuntu-defaults-builder (Ubuntu):
assignee: Nobuto MURATA (nobuto) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
ubuntu-defaults-builder (0.47) raring; urgency=low

  [ Nobuto MURATA ]
  * Write the PPA apt line to just one file to avoid apt duplicate
    sources.list entries warning. (LP: #1072115)
 -- Barry Warsaw <email address hidden> Tue, 11 Dec 2012 16:11:09 -0500

Changed in ubuntu-defaults-builder (Ubuntu):
status: Confirmed → 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.