sudo apt-get install git-email
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
git-email : Depends: git (< 1:1.9.1-.)
E: Unable to correct problems, you have held broken packages.
sudo apt-get install git-email
正在阅读软件包列表...做
构建依赖关系树
正在读取状态信息...做
无法安装某些软件包。这可能意味着您有
请求不可能的情况,或者如果您正在使用不稳定的情况
尚未创建某些所需包的发行版
或已移出传入。
以下信息可能有助于解决此问题:
以下包具有未满足的依赖项:
git-email : depends: git (< 1:1.9.1-.)
E:无法纠正问题,您持有损坏的包裹。
这个错误通常是由于系统中存在损坏或不完整的软件包导致的。您可以尝试以下几种方法来解决这个问题:
更新软件包列表:运行以下命令,然后再次尝试安装git-email。
sudo apt-get update
修复损坏的软件包:运行以下命令以修复可能损坏的软件包。
sudo apt-get install -f
清理无效的软件包:运行以下命令以清理系统中的无效软件包。
sudo apt-get autoclean
sudo apt-get autoremove
手动安装git-email:如果上述方法都无效,您可以尝试手动下载并安装git-email软件包。
您可以在Ubuntu软件包网站上找到相关的软件包,并按照说明进行安装。
sudo apt-get install lighttpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
lighttpd : Depends: libterm-readline-perl-perl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.