[Piuparts-devel] Bug#798306: 'unknown location' errors with [trusted=yes] file deb src

Scott Wakeling scott at diskfish.org
Mon Sep 7 21:11:57 UTC 2015


Package: piuparts
Version: 0.66
Severity: normal

Dear Maintainer,

piuparts gives 'unknown location' errors when sources.list has the
following first line:

 deb [trusted=yes] file:/home/scott/debian/apt ./

So:

  sudo piuparts jsqsh_2.1.1+ds-1_all.deb

leads to:

 0m0.0s DEBUG: Command ok: ['dpkg', '--info',
 'jsqsh_2.1.1+ds-1_all.deb']
 0m0.0s DEBUG: Created temporary
 directory /tmp/tmpJ2XZ7y
 0m0.0s DEBUG: Setting up minimal chroot for
 sid at /tmp/tmpJ2XZ7y.
 0m0.0s DEBUG: Starting command: ['debootstrap',
 '--variant=minbase',
 '--keyring=/usr/share/keyrings/debian-archive-keyring.gpg',
 '--include=eatmydata', '--components=./', 'sid', '/tmp/tmpJ2XZ7y',
 '[trusted=yes]']
 0m0.1s DUMP:
 I: Retrieving Release
 E: unknown location [trusted=yes]/dists/sid/Release
 0m0.1s ERROR: Command failed
 (status=1): ['debootstrap', '--variant=minbase',
 '--keyring=/usr/share/keyrings/debian-archive-keyring.gpg',
 '--include=eatmydata', '--components=./', 'sid', '/tmp/tmpJ2XZ7y',
 '[trusted=yes]']
 I: Retrieving Release
 E: unknown location [trusted=yes]/dists/sid/Release

If I comment out the aforementioned [trusted=yes] file: deb src from my
sources.list, piuparts works and all tests pass.

Cheers,

-scott

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages piuparts depends on:
ii  debootstrap      1.0.71
ii  debsums          2.1.2
ii  dpkg             1.18.1
ii  lsb-release      4.1+Debian13+nmu1
ii  lsof             4.86+dfsg-1
ii  piuparts-common  0.66
ii  python-debian    0.1.27
pn  python:any       <none>

Versions of packages piuparts recommends:
ii  adequate  0.15

Versions of packages piuparts suggests:
pn  schroot  <none>

-- no debconf information

-- 
4096R/1533BECF 2014-11-20 Scott James Wakeling <scott at diskfish.org>



More information about the Piuparts-devel mailing list