在试图修复问题的过程中,当我打算删除/etc/sysctl.conf时,我意外地删除了/sbin/sysctl。
当我运行sysctl时,会得到这样的错误:
The program 'sysctl' is currently not installed. You can install it by typing:
sudo apt-get install procps当我同时尝试install和upgrade时,它说的是procps is already the newest version。我也尝试过删除procps并重新安装它,但是我得到了以下错误:
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:
libegl1-mesa : Depends: libgbm1 (>= 7.11~1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.有没有办法让我从这个包中得到sysctl文件?当我试图删除procps以使它能够以这种方式工作时,是否修复了错误?
如果有关系,我在LinuxMint17.3上使用Ubuntu14.04
发布于 2016-07-11 23:11:04
您可以将--reinstall标志用于apt-get
apt-get --reinstall install procpshttps://unix.stackexchange.com/questions/295253
复制相似问题