[JIRA] (JENKINS-61967) Can't update Jenkins on Debian/Buster

27 views
Skip to first unread message

mschulz@assona.net (JIRA)

unread,
Apr 20, 2020, 4:29:03 AM4/20/20
to jenkinsc...@googlegroups.com
Marko Schulz created an issue
 
Jenkins / Bug JENKINS-61967
Can't update Jenkins on Debian/Buster
Issue Type: Bug Bug
Assignee: Unassigned
Components: _unsorted
Created: 2020-04-20 08:28
Environment: Debian 10 Buster
Jenkins 2.231
Priority: Critical Critical
Reporter: Marko Schulz

Since last week we get an error, when we upgrade jenkins. we have added the new key with "apt-key add" and when we run the update command we get this error message. Also a --fix-missig get this error.

root:~# apt-get update
Hit:1 http://ftp.de.debian.org/debian buster InRelease
Hit:2 http://ftp.de.debian.org/debian buster-updates InRelease                                                              
Hit:3 http://security.debian.org/debian-security buster/updates InRelease                                                   
Ign:4 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster InRelease                                                       
Hit:5 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster Release                                  
Ign:7 https://pkg.jenkins.io/debian binary/ InRelease                  
Hit:8 https://pkg.jenkins.io/debian binary/ Release
Reading package lists... Done
root@ser503:~# 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 64.6 MB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 https://pkg.jenkins.io/debian binary/ jenkins 2.232 [64.6 MB]
Err:1 https://pkg.jenkins.io/debian binary/ jenkins 2.232
  File has unexpected size (64603200 != 64603188). Mirror sync in progress? [IP: 52.167.88.112 443]
  Hashes of expected file:
   - SHA512:18fc1c92d22bcc6b21971f1ae32e042eb619914b2e48c4d657c05a657d92603f8c5de917abd55ed9b7e6be1477625d02dbdd850985527477397dbafe2620988a
   - SHA256:149255dadb80cbfad25f042b3db338e46182a8ee5d9043031213fa41d5692275
   - SHA1:2989c1f14cb9f6ebbbdc8068efe27d397203434d [weak]
   - MD5Sum:0579b24059d6b45c2631c16cd3cd2cbd [weak]
   - Filesize:64603188 [weak]
E: Failed to fetch https://prodjenkinsreleases.blob.core.windows.net/debian/jenkins_2.232_all.deb  File has unexpected size (64603200 != 64603188). Mirror sync in progress? [IP: 52.167.88.112 443]
   Hashes of expected file:
    - SHA512:18fc1c92d22bcc6b21971f1ae32e042eb619914b2e48c4d657c05a657d92603f8c5de917abd55ed9b7e6be1477625d02dbdd850985527477397dbafe2620988a
    - SHA256:149255dadb80cbfad25f042b3db338e46182a8ee5d9043031213fa41d5692275
    - SHA1:2989c1f14cb9f6ebbbdc8068efe27d397203434d [weak]
    - MD5Sum:0579b24059d6b45c2631c16cd3cd2cbd [weak]
    - Filesize:64603188 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

The we have delete the jenkins repository like the following.

root:~# apt-key list
/etc/apt/trusted.gpg
--------------------

pub   rsa4096 2020-03-30 [SC] [expires: 2023-03-30]
      62A9 756B FD78 0C37 7CF2  4BA8 FCEF 32E7 45F2 C3D5
uid           [ unknown] Jenkins Project <jenkins...@googlegroups.com>
sub   rsa4096 2020-03-30 [E] [expires: 2023-03-30]


root:~# apt-key del "62A9 756B FD78 0C37 7CF2  4BA8 FCEF 32E7 45F2 C3D5"
root:~# rm /etc/apt/sources.list.d/jenkins.list
root:~# apt-get update

After then we have added the Repository like this.

root:~# wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | apt-key add -
root:~# echo -e "\n\ndeb https://pkg.jenkins.io/debian/debian binary/\n" >>/etc/apt/sources.list

Now we get the error message, the th Release file is not found. Is your mirror corrumpted?

root:~# apt-get update
Hit:1 http://ftp.de.debian.org/debian buster InRelease
Hit:2 http://ftp.de.debian.org/debian buster-updates InRelease                                                                              
Hit:3 http://security.debian.org/debian-security buster/updates InRelease                                                                   
Ign:4 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster InRelease                                                                       
Hit:5 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster Release    
Ign:7 https://pkg.jenkins.io/debian/debian binary/ InRelease
Err:8 https://pkg.jenkins.io/debian/debian binary/ Release
  404  Not Found [IP: 52.202.51.185 443]
Reading package lists... Done                   
E: The repository 'https://pkg.jenkins.io/debian/debian binary/ Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

mschulz@assona.net (JIRA)

unread,
Apr 22, 2020, 2:37:04 AM4/22/20
to jenkinsc...@googlegroups.com
Marko Schulz commented on Bug JENKINS-61967
 
Re: Can't update Jenkins on Debian/Buster

Do they even work on the ticket here? The ticket has not even been assigned yet.

dbeck@cloudbees.com (JIRA)

unread,
Apr 24, 2020, 4:36:03 PM4/24/20
to jenkinsc...@googlegroups.com
Daniel Beck closed an issue as Not A Defect
 

We underwent a key change, see changelog.

Lack of documentation is tracked in WEBSITE-741.

Change By: Daniel Beck
Status: Open Closed
Resolution: Not A Defect

olivier@vernin.me (JIRA)

unread,
Apr 27, 2020, 6:04:03 AM4/27/20
to jenkinsc...@googlegroups.com
Olivier Vernin assigned an issue to Olivier Vernin
Change By: Olivier Vernin
Assignee: Olivier Vernin
Reply all
Reply to author
Forward
0 new messages