Hi!

* Mattia Rizzolo [Fri Jul 03, 2015 at 07:44:19AM +0000]:
> On Tue, Jun 30, 2015 at 10:54:18AM +0200, Michael Prokop wrote:
> > Package: pbuilder
> > Version: 0.215+nmu3
> > Severity: wishlist
> > Tags: patch
> > 
> > pbuilder fails to detect MIRRORSITE if /etc/apt/sources.list
> > includes only https entries.
> > 
> > Patch attached.
> 
> Well, that's not enough.
> I haven't tried, by I'd say having https lines in /etc/apt/sources.list
> requires apt-transport-https.
> I don't want to install apt-transport-https by default on chroots, so if you
> really want https being automatically detected and used then you also want to
> add some conditional things that install apt-transport-https if needed.
> 
> Then I've never understood why apt-transport-https is on a different package
> not in the main apt binary, but that's another story.

10 years forward, in the meanwhile apt-transport-https is no longer
a thing (was deprecated with apt 1.6~alpha1 and is a transitional
package since then).

All what's needed to properly handle https nowadays is
ca-certificates (with its openssl dependency), as I just verified on
a Debian/trixie system.

PS: in the meanwhile the problem get worse though, because APT uses
the DEB822 source format nowadays (so no longer having
/etc/apt/sources.list.d/debian.list but
/etc/apt/sources.list.d/debian.sources), so pbuilder's auto
detection of the default mirror no longer works even with only http
on a current (trixie or newer) Debian system.

regards
-mika-

Attachment: signature.asc
Description: PGP signature

Reply via email to