[Ubuntu]jenkins_2.46.3_all.deb Writing more data than expected (69980470 > 69980456)

263 views
Skip to first unread message

Mitsutoshi NAKANO

unread,
May 26, 2017, 3:23:44 PM5/26/17
to 日本Jenkinsユーザー会
はじめまして、中野と申します。

職場ではCentOS6.9でyumパッケージとして、
お家ではUbuntu16.04でaptパッケージとしてJenkins stableを使用しています。

2.46.2から2.46.3へ最近updateされましたよね。
CentOSの方はすんなりyum updateできました。
しかし、Ubuntuの方はerrorがでてupgradeできません。
messagesを読む限り、期待したfile sizeと実際のfile sizeが
違っていてエラーが出ているかのように見えます。

Debian/Ubuntu系でJenkinsをお使いの皆さんは、すんなりupgradeできたでしょうか?

$ LANG=C sudo apt update 
Hit:2 http://archive.ubuntulinux.jp/ubuntu xenial InRelease                    
Ign:3 http://archive.ubuntulinux.jp/ubuntu-ja-non-free xenial InRelease        
Hit:4 http://jp.archive.ubuntu.com/ubuntu xenial InRelease                     
Hit:5 http://archive.ubuntulinux.jp/ubuntu-ja-non-free xenial Release          
Hit:6 http://jp.archive.ubuntu.com/ubuntu xenial-updates InRelease             
Ign:7 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:8 http://jp.archive.ubuntu.com/ubuntu xenial-backports InRelease           
Hit:9 https://apt.dockerproject.org/repo ubuntu-xenial InRelease               
Hit:11 http://dl.google.com/linux/chrome/deb stable Release                    
Hit:12 http://security.ubuntu.com/ubuntu xenial-security InRelease             
Hit:14 https://packages.microsoft.com/repos/vscode stable InRelease            
Hit:15 http://ppa.launchpad.net/ansible/ansible/ubuntu xenial InRelease        
Hit:16 http://security.ubuntu.com/ubuntu precise-security InRelease            
Hit:17 http://ppa.launchpad.net/rael-gc/rvm/ubuntu xenial InRelease            
Hit:18 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease           
Ign:19 https://pkg.jenkins.io/debian-stable binary/ InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: http://security.ubuntu.com/ubuntu/dists/precise-security/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)

$LANG=C sudo apt list --upgradable -a
Listing... Done
jenkins/binary 2.46.3 all [upgradable from: 2.46.2]
jenkins/now 2.46.2 all [installed,upgradable to: 2.46.3]

$ LANG=C sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  jenkins
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 70.0 MB of archives.
After this operation, 1024 B disk space will be freed.
Do you want to continue? [Y/n] Y
Get:1 https://pkg.jenkins.io/debian-stable binary/ jenkins 2.46.3 [70.0 MB]
Err:1 https://pkg.jenkins.io/debian-stable binary/ jenkins 2.46.3              
  Writing more data than expected (69980470 > 69980456)
E: Failed to fetch https://pkg.jenkins.io/debian-stable/binary/jenkins_2.46.3_all.deb  Writing more data than expected (69980470 > 69980456)

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

$ LANG=C sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  jenkins
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 70.0 MB of archives.
After this operation, 1024 B disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 https://pkg.jenkins.io/debian-stable binary/ jenkins 2.46.3 [70.0 MB]
Err:1 https://pkg.jenkins.io/debian-stable binary/ jenkins 2.46.3              
  Writing more data than expected (69980470 > 69980456)
E: Failed to fetch https://pkg.jenkins.io/debian-stable/binary/jenkins_2.46.3_all.deb  Writing more data than expected (69980470 > 69980456)

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

$ LANG=C sudo apt-get upgrade --fix-missing
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  jenkins
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 70.0 MB of archives.
After this operation, 1024 B disk space will be freed.
Do you want to continue? [Y/n] Y
Get:1 https://pkg.jenkins.io/debian-stable binary/ jenkins 2.46.3 [70.0 MB]
Err:1 https://pkg.jenkins.io/debian-stable binary/ jenkins 2.46.3              
  Writing more data than expected (69980470 > 69980456)
E: Failed to fetch https://pkg.jenkins.io/debian-stable/binary/jenkins_2.46.3_all.deb  Writing more data than expected (69980470 > 69980456)

$ LANG=C ls -l jenkins_2.46.3_all.deb 
-rw-rw-r-- 1 mitsutoshi mitsutoshi 69980470 May 27 03:37 jenkins_2.46.3_all.deb

$ sha256sum jenkins_2.46.3_all.deb 
1d3f027eda30802192b63b970fb786d9f65a725fa86e314e611221b4a73a7084  jenkins_2.46.3_all.deb


Mitsutoshi NAKANO

unread,
May 26, 2017, 3:44:34 PM5/26/17
to 日本Jenkinsユーザー会
sudo dpkg -i jenkins_2.46.3_all.deb
ですんなりupgradeできましたが、何か釈然としませんw
Reply all
Reply to author
Forward
0 new messages