Your message dated Sun, 19 Mar 2017 10:54:17 +0000
with message-id <[email protected]>
and subject line Re: [Piuparts-devel] Bug#798306: 'unknown location' errors 
with [trusted=yes] file deb src
has caused the Debian Bug report #798306,
regarding piuparts: should support [trusted=yes] in "file deb src" sources.list 
lines
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
798306: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798306
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 <[email protected]>

--- End Message ---
--- Begin Message ---
Hi Scott,

On Tue, Sep 08, 2015 at 04:32:27PM +0200, Andreas Beckmann wrote:
> > If a fix isn't appropriate, I can leave that trusted file src in place and 
> > use 
> > 'piuparts -m' instead.
> Guessing the mirror correctly from the sources.list is complicated once
> sources.list gets non-trivial (i.e. it contains more than one deb line
> or sources.list.d is used instead), so better use the --mirror flag.
 
I'm closing this bug due to the above and because of the reasons explained
in http://blog.liw.fi/posts/wishlist-bugs/ - in short: they clutter the
view and nobody seems to be interested on working on this wishlist feature,
which can be easily worked around.

Still, I have also added a references to the closed bug in piuparts.git/TODO
so should someone in future wants to work on this feature, there will be a
pointer to this bug.


-- 
cheers,
        Holger

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to