简体   繁体   English

emacs ubuntu依赖问题

[英]emacs ubuntu dependency issue

I was trying to install "gettext" package in Ubuntu 16.04, and it was interrupted in the middle. 我试图在Ubuntu 16.04中安装“ gettext”软件包,但在中间被中断了。 Since then, I have been getting the following errors whenever I run a sudo apt-get install command. 从那时起,每当我运行sudo apt-get install命令时,都会出现以下错误。

dpkg: error processing package emacs (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates it's a follow-up error from a previous failure. dpkg:错误处理软件包emacs(--configure):依赖性问题-未配置没有编写任何评估报告,因为错误消息表明它是来自先前故障的后续错误。 Errors were encountered while processing: emacs24 emacs 处理时遇到错误:emacs24 emacs

I tried to the broken package fixer available in the synaptic manager, and also tried executing sudo apt-get -f install . 我尝试使用突触管理器中可用的损坏的软件包修复程序,还尝试执行sudo apt-get -f install I also tried re-installing the emacs24 library, but ended up with the same error. 我还尝试重新安装emacs24库,但最终出现相同的错误。

Can anyone assist me in fixing this issue?. 谁能协助我解决这个问题?

Thanks. 谢谢。

Before trying to re-install emacs24 , try doing this: 在尝试重新安装emacs24 ,请尝试执行以下操作:

sudo apt-get purge emacs24  #removes configuration files as well
sudo apt-get update
sudo apt-get autoremove
sudo apt-get autoclean

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM