title: Jenkins has no installation candidate : error while trying to install jenkins on ubuntu system
body: <p>so im trying to install the jenkins on my ubuntu and ofc i made sure to update the system by running : apt update</p>
  <p><strong>then i tried to run the following commands from jenkins website to install jenkins :</strong></p>
  <p>&quot;</p>
  <pre><code>
  curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo tee \
  
  /usr/share/keyrings/jenkins-keyring.asc &gt; /dev/null
  
  echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \
  
  https://pkg.jenkins.io/debian-stable binary/ | sudo tee \
  
  /etc/apt/sources.list.d/jenkins.list &gt; /dev/null
  
  sudo apt-get update
  
  sudo apt-get install jenkins
  
  </code></pre>
  <p><strong>then i got an error message that says :</strong></p>
  <pre><code>
  Reading package lists... Done
  
  Building dependency tree
  
  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
  
  </code></pre>
  <p>i barely understood, is that trying to recognize the repo which the files are downloading from?</p>
  <p><strong>i saw a youtube video of someone who had the same problem and he use the following commands:</strong></p>
  <pre><code>
  wget -q -O - https://pkg.jenkins.io/debian-stable/... | sudo apt-get key add
  
  'sudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/&gt;/etc/apt/sources.list.d/jenkind.list
  
  sudo apt-get update
  
  sudo apt-get install jenkins
  
  </code></pre>
  <p><strong>but it still doesnt work for me
  can you help me please get jenkins installed ?</strong></p>