LoginSignup
1
1

More than 3 years have passed since last update.

Ubuntu19.04のapt-get updateで「File has unexpected size」が出る場合はrepositoryのurlを変更する

Last updated at Posted at 2019-10-10

エラー現象

E: http://jp.archive.ubuntu.com/ubuntu/dists/eoan/restricted/binary-amd64/Packages.xz の取得に失敗しました  File has unexpected size (14384 != 14788). Mirror sync in progress? [IP: 160.26.2.187 80]
   Hashes of expected file:
    - Filesize:14788 [weak]
    - SHA256:45b037255e8ddc9f6d51358ee530d541af69b66e12d63d6b845c0eab1d7b9545
    - SHA1:235e84e2c50323688701f81866dd933b0e22b57a [weak]
    - MD5Sum:dbc9c99af469464efa6670b8d4b8298b [weak]
   Release file created at: Thu, 10 Oct 2019 11:33:20 +0000

解決策

http://jp.archiveをhttp://repos.archiveへ変更する
これでうまくいく

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1