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

Bug#569619: live-helper: debs in config/chroot_local-packages is given lowest priority by apt

Package: live-helper
Version: 2.0~a6-1
Severity: normal

According to apt's manpages, the sources are listed in order of preference.  Since the deb: file... line generated by live-helper is at the end of the sources.list, it takes last priority behind everything else in sources.list and sources.list.d.  If the file generate were changed to something like:

                                # Add to sources.list
                                echo "" > chroot/etc/apt/sources.list.d/50local-packages.list
                                echo "# Local packages" >> chroot/etc/apt/sources.list.d/50local-packages.list
                                echo "deb file:/root/local-packages ./" >> chroot/etc/apt/sources.list.d/50local-packages.list

it would bring the file: to higher than sources.list and leave room on both sides for the builder to decide where he wants it in the list of custom sources.

I didn't include this as a patch as it is only one of many ways of making the change and I will leave it up to the maintainers to decide just how they want to handle things.

-- Package-specific info:

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-helper depends on:
ii  cdebootstrap                  0.5.5      Bootstrap a Debian system
ii  debootstrap                   1.0.20     Bootstrap a basic Debian system

Versions of packages live-helper recommends:
ii  gettext-base                  0.17-8     GNU Internationalization utilities

Versions of packages live-helper suggests:
ii  dosfstools                    3.0.7-1    utilities for making and checking 
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  genisoimage                   9:1.1.10-1 Creates ISO-9660 CD-ROM filesystem
ii  grub                          0.97-59    GRand Unified Bootloader (dummy pa
pn  memtest86+ | memtest86        <none>     (no description available)
ii  mtools                        4.0.10-1   Tools for manipulating MSDOS files
pn  parted                        <none>     (no description available)
pn  squashfs-tools | genext2fs |  <none>     (no description available)
ii  sudo                          1.7.2p1-1  Provide limited super user privile
ii  uuid-runtime                  2.16.2-0   runtime components for the Univers
pn  win32-loader                  <none>     (no description available)

-- no debconf information

Reply to: