#!/usr/bin/python # 8th November, 2009 # update manager failed, giving me the error: # 'files list file for package 'xxx' is missing final newline' for every package. # some Googling revealed that this problem was due to corrupt files(s) in /var/lib/…
参考: dpkg: warning: files list file for package 'x' missing 解决 dpkg: warning: files list file for package 'x' missing 问题 在Ubuntu下通过apt-get安装软件或者更新时,出现大量的dpkg: warning日志: dpkg: warning: files list file for package 'libssh2-1:amd64' missing; assuming pa…
一个好友的国外VPS由于操作不当,结果装软件的时候总是提示dpkg: warning: files list file for package `*****' missing, assuming package has no files currently installed,导致无法安装任何软件,结果百度+Google了好多教程,最后找到的解决办法如下: #!/bin/bash set -e # Clean out /var/cache/apt/archives apt-get clean #…
在运行roslaunch时出现了类似下面的错误: RLException: XXX is neither a launch file in package XXX nor is XXX a launch file name 这是因为setup.bash文件没有进一步说明包的来源,解决方法是 source catkin_ws/devel/setup.bash…
mv /var/lib/dpkg/info /var/lib/dpkg/info.bak //现将info文件夹更名 sudo mkdir /var/lib/dpkg/info //再新建一个新的info文件夹 sudo apt-get update, apt-get -f install sudo mv /var/lib/dpkg/info/* /var/lib/dpkg/info.bak //执行完上一步操作后会在新的info文件夹下生成一些文件,现将这些文件全部移到info.bak文件夹下…
在centos上安装一个偏门软件时出现如下问题: rpm -ivh mNetAssist-0.1.1-2.x86_64.rpm #执行命令 file / from install of XXX conflicts with file from package filesystem-XXX #报错 解决: 执行命令时添加--force选项强制安装,参考链接https://stackoverflow.com/questions/27172142/conflicts-with-file-from-pa…
原文地址:传送门 1.InvalidOperationException: Cannot find compilation library location for package 'xxx'问题: 为了asp.net核心2.0项目已经成功找到外部程序集.NETStandard2.0,你需要重写一个内置的MetadataReferenceFeatureProvider.为此,我们需要添加以下类: using System; using System.Collections.Generic; us…
在CentOS 6.5安装MySQL 5.6.17,安装到最后一个rpm文件MySQL-server时 安装命令是:rpm -ivh MySQL-server-5.6.17-1.el6.x86_64.rpm 出现了错误信息: error: Failed dependencies: libaio.so.1()(64bit) is needed by MySQL-server-5.6.17-1.el6.x86_64 libaio.so.1(LIBAIO_0.1)(64bit) is needed b…
今天打开一个下载的例子 报clang: error: no such file or directory: xxx.pch的错 说一下解决方案 1.先在你的工程里找到这.pch文件- 2.把它现在的路径拷贝下来 3.在 build Setting 里找到 prefix Header把里面的路径替换掉. 再重新编译就OK了-…
yum 安装软件时,报错:No package XXX available. [root@localhost ~]# yum -y install redis Loaded plugins: fastestmirror No package redis available. Nothing to do 配置一台CentOS 7.x或RHEL 7.x的系统使用Fedora EPEL  repos和第三方软件包安装各种软件包.请注意,这些软件包没有正式获得任何的CentOS或Red Hat的支持,但…