This is hit by "apt source" in sid. You can test this with Docker, if Docker is your thing:
# In an up to date-ish Debian Sid machine...
faux@astoria:~% docker pull debian:sid && docker run -it debian:sid
sid: Pulling from library/debian
Digest: sha256:4a9698e05982d5b3a26c799a480e5c3aae58d1ad6b02605a14ec928fa8cf4b6e
Status: Image is up to date for debian:sid
# Configure the proxy (here "urika" is the name of the machine running apt-cacher-ng),
# then run apt update, then try and apt source openssl:
root@cff2c85d3dea:/# echo 'Acquire::http { Proxy "http://urika:3142"; };' > /etc/apt/apt.conf.d/1694121acng && sed -i 'p;s/^deb/&-src /' /etc/apt/sources.list && apt update && apt source openssl
Get:1 http://deb.debian.org/debian sid InRelease [243 kB]
Get:2 http://deb.debian.org/debian sid/main Sources [9734 kB]
Get:3 http://deb.debian.org/debian sid/main amd64 Packages [10.1 MB]
Fetched 20.1 MB in 1s (17.5 MB/s)
Reading package lists... Done
Building dependency tree... Done
23 packages can be upgraded. Run 'apt list --upgradable' to see them.
The linked bug report perfectly describes what I am seeing, but, if you want something more specific:
On the apt-cacher-ng machine, running the attached config without the workaround, I cannot fetch .asc files, such as this one from openssl:
% curl http:// localhost: 3142/debian/ pool/main/ o/openssl/ openssl_ 1.1.0f. orig.tar. gz.asc ><head> <title> 403 Forbidden file type or location</title>
<!DOCTYPE html>
<html lang="en"
...
This is hit by "apt source" in sid. You can test this with Docker, if Docker is your thing:
# In an up to date-ish Debian Sid machine... 4a9698e05982d5b 3a26c799a480e5c 3aae58d1ad6b026 05a14ec928fa8cf 4b6e
faux@astoria:~% docker pull debian:sid && docker run -it debian:sid
sid: Pulling from library/debian
Digest: sha256:
Status: Image is up to date for debian:sid
# Configure the proxy (here "urika" is the name of the machine running apt-cacher-ng), ea:/# echo 'Acquire::http { Proxy "http:// urika:3142"; };' > /etc/apt/ apt.conf. d/1694121acng && sed -i 'p;s/^deb/&-src /' /etc/apt/ sources. list && apt update && apt source openssl
# then run apt update, then try and apt source openssl:
root@cff2c85d3d
Get:1 http:// deb.debian. org/debian sid InRelease [243 kB] deb.debian. org/debian sid/main Sources [9734 kB] deb.debian. org/debian sid/main amd64 Packages [10.1 MB]
Get:2 http://
Get:3 http://
Fetched 20.1 MB in 1s (17.5 MB/s)
Reading package lists... Done
Building dependency tree... Done
23 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done debian. org/pkg- openssl/ openssl/ deb.debian. org/debian sid/main openssl 1.1.0f-1 (dsc) [2583 B] deb.debian. org/debian sid/main openssl 1.1.0f-1 (tar) [5278 kB] deb.debian. org/debian sid/main openssl 1.1.0f-1 (asc) deb.debian. org/debian/ pool/main/ o/openssl/ openssl_ 1.1.0f. orig.tar. gz.asc deb.debian. org/debian sid/main openssl 1.1.0f-1 (diff) [53.5 kB] 1.1.0f- 1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) deb.debian. org/debian/ pool/main/ o/openssl/ openssl_ 1.1.0f. orig.tar. gz.asc 403 Forbidden file type or location: http:// deb.debian. org/debian/ pool/main/ o/openssl/ openssl_ 1.1.0f. orig.tar. gz.asc
NOTICE: 'openssl' packaging is maintained in the 'Svn' version control system at:
svn://anonscm.
Need to get 5335 kB of source archives.
Get:1 http://
Get:2 http://
Err:3 http://
403 Forbidden file type or location: http://
Get:4 http://
Fetched 5334 kB in 0s (83.2 MB/s)
W: Download is performed unsandboxed as root as file 'openssl_
E: Failed to fetch http://
E: Failed to fetch some archives.
It fails, because of the above 403 from apt-cacher-ng.
You can see apt-cacher-ng logging the error in /var/log/ apt-cacher- ng/apt- cacher. log: E|428|192. 168.1.235| 403 Forbidden file type or location: http:// deb.debian. org/debian/ pool/main/ o/openssl/ openssl_ 1.1.0f. orig.tar. gz.asc
1496161336|