when i try to install Debian-stable version of Jenkins in Ubuntu :
Errors were encountered while processing:
jenkins
E: Sub-process /usr/bin/dpkg returned an error code (1)
i do this instructions and execute sudo dpkg --configure -a
to solve this , but the problem remained
Best Answer
Jenkins requires Java in order to run, yet certain distributions don’t include this by default and some Java versions are incompatible with Jenkins.
Refer the official doc