Hi when I want to run bash script to install Jenkins form I face with this error can anyone help me? …----------------#################..-.-JENKINS-.-..#################----------------…
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
Hit:2 Index of /ubuntu jammy InRelease
Hit:3 Index of /ubuntu jammy-updates InRelease
Hit:4 Index of /ubuntu jammy-backports InRelease
Hit:5 Index of /ubuntu jammy-security InRelease
Ign:1 Debian Jenkins Packages binary/ InRelease
Get:6 Debian Jenkins Packages binary/ Release [2044 B]
Get:7 Debian Jenkins Packages binary/ Release.gpg [833 B]
Ign:8 http://apt.kubernetes.io kubernetes-xenial InRelease
Err:9 http://apt.kubernetes.io kubernetes-xenial Release
404 Not Found [IP: 34.107.204.206 80]
Ign:7 Debian Jenkins Packages binary/ Release.gpg
Reading package lists… Done
E: The repository ‘http://apt.kubernetes.io kubernetes-xenial 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.
W: GPG error: Debian Jenkins Packages binary/ Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 7198F4B714ABFC68
E: The repository ‘Debian Jenkins Packages binary/ Release’ is not signed.
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.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package jenkins is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘jenkins’ has no installation candidate
Failed to enable unit: Unit file jenkins.service does not exist.
Failed to start jenkins.service: Unit jenkins.service not found.
usermod: user ‘jenkins’ does not exist
…----------------#################..-.-COMPLETED-.-..#########