hack のためのネタ帳, etc,,,

状況

更新掛けたら以下のような状態に。
$ sudo apt update
ヒット:4 http://dl.google.com/linux/chrome/deb stable InRelease                
取得:1 http://mirrors.evowise.com/ubuntu focal InRelease [641 kB]              
取得:2 http://mirrors.evowise.com/ubuntu focal-security InRelease [641 kB]     
取得:3 http://mirrors.evowise.com/ubuntu focal-updates InRelease [641 kB]      
ヒット:5 https://packages.microsoft.com/repos/vscode stable InRelease          
エラー:1 http://mirrors.evowise.com/ubuntu focal InRelease                     
  クリアサインされたファイルが有効ではなく、'NOSPLIT' を得ました (認証にネットワークが必要?)
エラー:2 http://mirrors.evowise.com/ubuntu focal-security InRelease
  クリアサインされたファイルが有効ではなく、'NOSPLIT' を得ました (認証にネットワークが必要?)
エラー:3 http://mirrors.evowise.com/ubuntu focal-updates InRelease
  クリアサインされたファイルが有効ではなく、'NOSPLIT' を得ました (認証にネットワークが必要?)
無視:6 http://dl.google.com/linux/musicmanager/deb stable InRelease
ヒット:7 http://dl.google.com/linux/musicmanager/deb stable Release
パッケージリストを読み込んでいます... 完了
N: リポジトリの作成とユーザ設定の詳細は、apt-secure(8) man ページを参照してください。
N: このようなリポジトリから更新を安全に行うことができないので、デフォルトでは更新が無効になっています。
E: リポジトリ http://mirrors.evowise.com/ubuntu focal InRelease はもう署名されていません。
E: http://mirrors.evowise.com/ubuntu/dists/focal/InRelease の取得に失敗しました  クリアサインされたファイルが有効ではなく、'NOSPLIT' を得ました (認証にネットワークが必要?)
E: http://mirrors.evowise.com/ubuntu/dists/focal-security/InRelease の取得に失敗しました  クリアサインされたファイルが有効ではなく、'NOSPLIT' を得ました (認証にネットワークが必要?)
E: リポジトリ http://mirrors.evowise.com/ubuntu focal-security InRelease はもう署名されていません。
N: このようなリポジトリから更新を安全に行うことができないので、デフォルトでは更新が無効になっています。
N: リポジトリの作成とユーザ設定の詳細は、apt-secure(8) man ページを参照してください。
E: http://mirrors.evowise.com/ubuntu/dists/focal-updates/InRelease の取得に失敗しました  クリアサインされたファイルが有効ではなく、'NOSPLIT' を得ました (認証にネットワークが必要?)
E: リポジトリ http://mirrors.evowise.com/ubuntu focal-updates InRelease はもう署名されていません。
N: このようなリポジトリから更新を安全に行うことができないので、デフォルトでは更新が無効になっています。
N: リポジトリの作成とユーザ設定の詳細は、apt-secure(8) man ページを参照してください。
んで wget と curl の結果
$ wget -O/dev/null -Sv https://mirrors.evowise.com/ubuntu
--2021-07-22 11:41:12--  https://mirrors.evowise.com/ubuntu
mirrors.evowise.com (mirrors.evowise.com) をDNSに問いあわせています... 2606:4700:10::6816:4b3, 2606:4700:10::6816:5b3, 2606:4700:10::ac43:625, ...
mirrors.evowise.com (mirrors.evowise.com)|2606:4700:10::6816:4b3|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 
  HTTP/1.1 301 Moved Permanently
  Date: Thu, 22 Jul 2021 02:41:12 GMT
  Transfer-Encoding: chunked
  Connection: keep-alive
  Cache-Control: max-age=3600
  Expires: Thu, 22 Jul 2021 03:41:12 GMT
  Location: https://www.zerobounce.net
  cf-request-id: 0b6dafb69b00000a56ec2d9000000001
  Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
  Vary: Accept-Encoding
  Server: cloudflare
  CF-RAY: 67294f0429370a56-KIX
  alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400
場所: https://www.zerobounce.net [続く]
--2021-07-22 11:41:12--  https://www.zerobounce.net/
www.zerobounce.net (www.zerobounce.net) をDNSに問いあわせています... 2606:4700::6811:623d, 2606:4700::6811:613d, 104.17.97.61, ...
www.zerobounce.net (www.zerobounce.net)|2606:4700::6811:623d|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 
  HTTP/1.1 200 OK
  Date: Thu, 22 Jul 2021 02:41:12 GMT
  Content-Type: text/html; charset=utf-8
  Content-Length: 640848
  Connection: keep-alive
  CF-Ray: 67294f04dbd10ab2-KIX
  Accept-Ranges: bytes
  Age: 69527
  ETag: index.81e7aa39a5.html
  Expires: Fri, 30 Jul 2021 02:41:12 GMT
  Last-Modified: Wed, 21 Jul 2021 2:41:12 GMT
  Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
  Vary: Accept-Encoding
  CF-Cache-Status: HIT
  Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
  Feature-Policy: sync-xhr 'self'
  NEL: {"report_to":"default","max_age":31536000,"include_subdomains":true}
  Referrer-Policy: strict-origin-when-cross-origin
  Report-To: {"group":"default","max_age":31536000,"endpoints":[{"url":"https://zerob.report-uri.com/a/d/g"}],"include_subdomains":true}
  X-Content-Type-Options: nosniff
  x-frame-options: SAMEORIGIN
  x-xss-protection: 1; mode=block
  Server: cloudflare
  alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400
長さ: 640848 (626K) [text/html]
`/dev/null' に保存中

/dev/null           100%[===================>] 625.83K  --.-KB/s    in 0.1s    

2021-07-22 11:41:12 (6.18 MB/s) - `/dev/null' へ保存完了 [640848/640848]
$ curl -Sv https://mirrors.evowise.com/ubuntu
*   Trying 2606:4700:10::6816:5b3:443...
* TCP_NODELAY set
* Connected to mirrors.evowise.com (2606:4700:10::6816:5b3) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=evowise.com
*  start date: Apr 19 00:00:00 2021 GMT
*  expire date: Apr 18 23:59:59 2022 GMT
*  subjectAltName: host "mirrors.evowise.com" matched cert's "*.evowise.com"
*  issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x558e81c10120)
> GET /ubuntu HTTP/2
> Host: mirrors.evowise.com
> user-agent: curl/7.68.0
> accept: */*
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
< HTTP/2 301 
< date: Thu, 22 Jul 2021 02:43:20 GMT
< cache-control: max-age=3600
< expires: Thu, 22 Jul 2021 03:43:20 GMT
< location: https://www.zerobounce.net
< cf-request-id: 0b6db1aa5f0000aef7cc347000000001
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< server: cloudflare
< cf-ray: 67295223cfabaef7-KIX
< alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400
< 
* Connection #0 to host mirrors.evowise.com left intact
なんか 301 Moved Permanently で www.zerobounce.net に飛ばされてる模様。

仕方がないのでコンソールから software-properties-gtk を起動して「最適なサーバーを探す」した結果
$ software-properties-gtk
mirror: ftp.riken.jp - time: 0.13478422164916992
mirror: mirror.fairway.ne.jp - time: 0.15673398971557617
mirror: ny-mirrors.evowise.com - time: 0.2836480140686035
mirror: it-mirrors.evowise.com - time: 0.3626291751861572
mirror: mirror.deace.id - time: 0.9262104034423828
mirror: mirror.lnx-solutions.com - time: 2.2227835655212402
and the winner is: ftp.riken.jp
evowise 出るんだけどなぁ?
とりあえず、無難そうな riken にしとく。
sudo sed -E 's@mirrors.evowise.com@ftp.riken.jp/linux@g' /etc/apt/sources.list -i

コメントをかく


「http://」を含む投稿は禁止されています。

利用規約をご確認のうえご記入下さい

Wiki内検索

フリーエリア

管理人/副管理人のみ編集できます