はじめまして、中野と申します。
職場では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
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
$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
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
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
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