Bug 34000 - Не работают URLы с literal IPv6 адресами в sources.list
: Не работают URLы с literal IPv6 адресами в sources.list
Status: NEW
: Sisyphus
(All bugs in Sisyphus/apt)
: unstable
: all Linux
: P3 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2017-10-12 10:51 by
Modified: 2017-10-13 10:44 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2017-10-12 10:51:16
# cat /etc/apt/sources.list.d/sisyphus-local.list
rpm [alt] http://[::1]/Sisyphus x86_64 classic
rpm [alt] http://[::1]/Sisyphus noarch classic

# apt-get update
Err http://[::1] x86_64 release
  400 Bad Request
Err http://[::1] noarch release
  400 Bad Request
Failed to fetch http://[::1]/Sisyphus/x86_64/base/release  400 Bad Request
Failed to fetch http://[::1]/Sisyphus/noarch/base/release  400 Bad Request

# tail -2 /var/log/nginx/access.log
[12/Oct/2017:10:43:27 +0300] ::1 - - "GET /Sisyphus/x86_64/base/release
HTTP/1.1" (http:///Sisyphus/x86_64/base/release) 400 166 ref: "-" uag: "-" for:
"-" "acclang: -"
[12/Oct/2017:10:43:27 +0300] ::1 - - "GET /Sisyphus/noarch/base/release
HTTP/1.1" (http:///Sisyphus/noarch/base/release) 400 166 ref: "-" uag: "-" for:
"-" "acclang: -"

# wget -q -O /dev/null 'http://[::1]/Sisyphus/noarch/base/release'

# tail -1 /var/log/nginx/access.log
[12/Oct/2017:10:46:15 +0300] ::1 - - "GET /Sisyphus/noarch/base/release
HTTP/1.1" (http://[::1]/Sisyphus/noarch/base/release) 200 691 ref: "-" uag:
"Wget/1.14 (linux-gnu)" for: "-" "acclang: -"