I made an apt upgrade today on my Ubuntu 20.04 which runs Jenkins. This action throws me this error:
root@xxxxxxxxxxxx:~# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-5.4.0-60 linux-headers-5.4.0-60-generic linux-image-5.4.0-60-generic
linux-modules-5.4.0-60-generic linux-modules-extra-5.4.0-60-generic
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up jenkins (2.277.1) ...
/var/lib/dpkg/info/jenkins.postinst: 71: /etc/default/jenkins: --httpListenAddress=
127.0.0.1: not found
dpkg: error processing package jenkins (--configure):
installed jenkins package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
jenkins
E: Sub-process /usr/bin/dpkg returned an error code (1)
I dont know what it means. Jenkins is running but cucumber reports plugin not. I am not sure if it is related to this error. Thanks for any help.