ubuntu安装软件时报错: E: The package code needs to be reinstalled, but I can't find an archive for it. 解决方法: 打开 /var/lib/dpkg/status 文件, 查找安装未成功的安装包,譬如搜索关键子 “half” , 将安装包相关信息删除.然后重新安装一下安装包即可. 备注: 系统 ubuntu 16.04…
在ubuntu下用apt-get install安装软件时,发现package list中没有所需的软件, 估计可能是package list太旧了,于是需要apt-get update & apt-get upgrade. 但又怕原始的源慢,故修改为阿里云镜像.步骤如下: 1.备份原始源的配置文件: sudo cp /etc/apt/sources.list /etc/apt/sources.list.bakcup 2.添加阿里云源到sources.list文件: sudo vim /etc/…
How do I use software from a PPA? To start installing and using software from a Personal Package Archive, you first need to tell Ubuntu where to find the PPA. Important: The contents of Personal Package Archives are not checked or monitored. You inst…
update update is used to resynchronize the package index files from their sources. The indexes of available packages are fetched from the location(s) specified in /etc/apt/sources.list. For example, when using a Debian archive, this command retrieves…
今天在安装软件的时候出现了Package has no installation candidate的问题,如: #  apt-get install <packagename> Reading package lists... Done Building dependency tree... Done Package aptitude is not available, but is referred to by another package. This may mean that the…
今天在安装 vim 的时候出现了 Package 'vim' has no installation candidate的问题 解决方法如下:# apt-get update# apt-get upgrade# apt-get install <packagename> 这样就可以正常使用 apt-get 了- 作者:耑新新,发布于  博客园 转载请注明出处,欢迎邮件交流:zhuanxinxin@foxmail.com…
DFU Class Requests Get Status The Host employs the DFU_GETSTATUS request to facilitate synchronization with the device. This status gives information on the execution of the previous request: in progress/OK/Fail/... The device responds to the DFU_GET…
apt-get install vim 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 有一些软件包无法被安装.如果您用的是不稳定(unstable)发行版,这也许是 因为系统无法达到您要求的状态造成的.该版本中可能会有一些您需要的软件 包尚未被创建或是它们还在新到(incoming)目录中. 下列的信息可能会对解决问题有所帮助: 下列的软件包有不能满足的依赖关系: vim: 依赖: vim-common (= 1:7.1-138+1ubuntu3.1)…
参考网址:http://www.ihaveapc.com/2011/10/fix-annoying-the-package-needs-to-be-reinstalled-but-i-cant-find-an-archive-for-it-error-in-linux-mint-ubuntu/ 解决办法: sudo cp /var/lib/dpkg/status status.bkp sudo gedit /var/lib/dpkg/status Search for the package n…
Using command 'alien' instead of 'rpm'. sudo apt-get install alien alien -i tst.rpm 'man alien' for more info.…