很久以前,我安装了 Jenkins,后来又卸载了,现在我试图重新安装它,但无法登录localhost:8080
,而且即使我已经卸载了 Jenkins,我仍然可以jenkins.war
在列表中看到软件包。我需要删除它。
我已经尝试过这一切:
sudo apt-get remove jenkins.war
或者
sudo apt-get purge jenkins.war
或者
sudo apt-get remove jenkins
仍然不起作用,显示如下错误:
E: Unable to locate package jenkins.war'
E: Couldn't find any package by glob 'jenkins.war'
E: Couldn't find any package by regex 'jenkins.war'
使用此命令:
sudo apt-get remove --auto-remove jenkins
变得像:
package 'jenkins' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.