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-
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEM8yxNkAa/shDo4djlqh4crfqNzcFAmgPQW8ACgkQlqh4crfq Nzf8XRAAkDFdUo1+vWA/tzCa6bVgLMeIa/xbKoR1tVqwjOnp43CxZlfnK4swYRJC eEvpj5JZRdDEAQYsgW29Qo+ybwWoLhlp+s6dhSsUeHq1PliPzeY/vWnHem1KbH/p lzEtw4zG3jsXmAyCVE/KEwKvm+Zb2kQXyS1VwjFIDm00L1ve7f2ov4Q73kysvBX2 /AdiPFXXLgDDryeR1Oz6CmNvBLin8+GzGUwJdPza28WGCBDbUlVlByVEQooFqOjH oha+CKZ3rJ4cBu9eEbZ01sdYu4T/KZUz+BTqfMKvU0cYDMXMaU97qq7zlQlnBt66 KyczxhSdePq0JdArFNVMgbcmk6CxHbH3ZuSkbEZEiJwpCLziK8cykTb5EPUJSm7f IED1SKPa6xVuhhgcLiNcyS3yK9plYJwJdNC1dIqgXrZXgTzmiwm3XA9cqJ9Y+UAF XEAgVoMJpSiQSswZSa+MUia7yqolblT/EEkUIPUMP5tyukMgqbh0YBt9OW1JtI7E AFLtPQw3ebrUk9fvaf17hEii+hqo9xSNhBjeiWiAgnvqLl2SMg+rhdQOrIgr9JPO s3NoW71MyeKAP5vVyeViEL3iiZbuL/sY80uVLJWiAe1vKSNPGzf47UYopO+AXjM6 J/rDBSMTfK5AU6EazEnMSam7xHJwAOIiwh3GkKTpf5ywmARo19g=
=KN1k
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)