{"action":"created","issue":{"url":"https://api.github.com/repos/cybozu-go/aptutil/issues/37","repository_url":"https://api.github.com/repos/cybozu-go/aptutil","labels_url":"https://api.github.com/repos/cybozu-go/aptutil/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/cybozu-go/aptutil/issues/37/comments","events_url":"https://api.github.com/repos/cybozu-go/aptutil/issues/37/events","html_url":"https://github.com/cybozu-go/aptutil/issues/37","id":305810728,"number":37,"title":"How to support security.debian.org?","user":{"login":"kenhys","id":225841,"avatar_url":"https://avatars1.githubusercontent.com/u/225841?v=4","gravatar_id":"","url":"https://api.github.com/users/kenhys","html_url":"https://github.com/kenhys","followers_url":"https://api.github.com/users/kenhys/followers","following_url":"https://api.github.com/users/kenhys/following{/other_user}","gists_url":"https://api.github.com/users/kenhys/gists{/gist_id}","starred_url":"https://api.github.com/users/kenhys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenhys/subscriptions","organizations_url":"https://api.github.com/users/kenhys/orgs","repos_url":"https://api.github.com/users/kenhys/repos","events_url":"https://api.github.com/users/kenhys/events{/privacy}","received_events_url":"https://api.github.com/users/kenhys/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"ymmt2005","id":1461515,"avatar_url":"https://avatars3.githubusercontent.com/u/1461515?v=4","gravatar_id":"","url":"https://api.github.com/users/ymmt2005","html_url":"https://github.com/ymmt2005","followers_url":"https://api.github.com/users/ymmt2005/followers","following_url":"https://api.github.com/users/ymmt2005/following{/other_user}","gists_url":"https://api.github.com/users/ymmt2005/gists{/gist_id}","starred_url":"https://api.github.com/users/ymmt2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymmt2005/subscriptions","organizations_url":"https://api.github.com/users/ymmt2005/orgs","repos_url":"https://api.github.com/users/ymmt2005/repos","events_url":"https://api.github.com/users/ymmt2005/events{/privacy}","received_events_url":"https://api.github.com/users/ymmt2005/received_events","type":"User","site_admin":false},"assignees":[{"login":"ymmt2005","id":1461515,"avatar_url":"https://avatars3.githubusercontent.com/u/1461515?v=4","gravatar_id":"","url":"https://api.github.com/users/ymmt2005","html_url":"https://github.com/ymmt2005","followers_url":"https://api.github.com/users/ymmt2005/followers","following_url":"https://api.github.com/users/ymmt2005/following{/other_user}","gists_url":"https://api.github.com/users/ymmt2005/gists{/gist_id}","starred_url":"https://api.github.com/users/ymmt2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymmt2005/subscriptions","organizations_url":"https://api.github.com/users/ymmt2005/orgs","repos_url":"https://api.github.com/users/ymmt2005/repos","events_url":"https://api.github.com/users/ymmt2005/events{/privacy}","received_events_url":"https://api.github.com/users/ymmt2005/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-03-16T05:56:07Z","updated_at":"2018-03-22T13:32:28Z","closed_at":"2018-03-22T13:32:28Z","author_association":"CONTRIBUTOR","body":"# Problem\r\n\r\nIt seems that go-apt-cacher can't handle missing path case.\r\nAre there any workaround configuration on this issue?\r\n\r\n# Expected\r\n\r\nThere is a workaround configuration in go-apt-cacher.toml or something.\r\n\r\n# Actual\r\n\r\nIt works with apt-line:\r\n\r\n```\r\ndeb http://security.debian.org/debian-security/ jessie/updates main\r\ndeb-src http://security.debian.org/debian-security/ jessie/updates main\r\n```\r\n\r\nand go-apt-cacher.toml.\r\n\r\n```\r\n[mapping]\r\ndebian = \"http://ftp.jp.debian.org/debian\"\r\ndebian-security = \"http://security.debian.org/debian-security\"\r\n```\r\n\r\n\r\nBut It doesn't work with apt-line and above toml:\r\n\r\n```\r\ndeb http://security.debian.org/ jessie/updates main\r\ndeb-src http://security.debian.org/ jessie/updates main\r\n```\r\n\r\n```\r\n% sudo apt update\r\n...(skip)...\r\nFetched 23.1 MB in 2s (10.4 MB/s)                                                 \r\nW: Failed to fetch http://security.debian.org/dists/jessie/updates/main/source/Sources  404  Not Found\r\n\r\nW: Failed to fetch http://security.debian.org/dists/jessie/updates/main/binary-amd64/Packages  404  Not Found\r\n\r\nE: Some index files failed to download. They have been ignored, or old ones used instead.\r\n```\r\n\r\nHow to configure  go-apt-cacher.toml mapping correctly for http://security.debian.org/? (without modifiyng /etc/apt/sources.list?)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cybozu-go/aptutil/issues/comments/375306720","html_url":"https://github.com/cybozu-go/aptutil/issues/37#issuecomment-375306720","issue_url":"https://api.github.com/repos/cybozu-go/aptutil/issues/37","id":375306720,"user":{"login":"kenhys","id":225841,"avatar_url":"https://avatars1.githubusercontent.com/u/225841?v=4","gravatar_id":"","url":"https://api.github.com/users/kenhys","html_url":"https://github.com/kenhys","followers_url":"https://api.github.com/users/kenhys/followers","following_url":"https://api.github.com/users/kenhys/following{/other_user}","gists_url":"https://api.github.com/users/kenhys/gists{/gist_id}","starred_url":"https://api.github.com/users/kenhys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenhys/subscriptions","organizations_url":"https://api.github.com/users/kenhys/orgs","repos_url":"https://api.github.com/users/kenhys/repos","events_url":"https://api.github.com/users/kenhys/events{/privacy}","received_events_url":"https://api.github.com/users/kenhys/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T13:32:27Z","updated_at":"2018-03-22T13:32:27Z","author_association":"CONTRIBUTOR","body":"Ah, I got it. I've misunderstood design of it.\r\nSo, I'll close this issue.\r\nThanks, @ymmt2005 !\r\n"}}
{"actor":{"display_login":"kenhys"}}