ubuntu 常见错误
来源:互联网 发布:js中遍历map对象 编辑:程序博客网 时间:2024/05/29 12:00
1. Could not get lock /var/lib/dpkg/lock
原因上次运行安装未完成 导致资源被占用
在终端中敲入以下两句
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock 解决
2. fatal error: mysql.h: No such file or directory 缺少链接库
sudo apt-get install libmysqlclient-dev
fatal error: sqlite3.h: No such file or directory的解决方法,没有安装函数库
sudo apt-get install libsqlite3-dev
3.Cfitsio 找不到的头文件
需下载cfitsio软件包
4.解压tar.gz tar xzvf 名字
5.修改mysql密码不成功
mysql -uroot -p
Enter password: 【输入原来的密码】
mysql>use mysql;
mysql> update user set password=passworD("test") where user='root';
mysql> flush privileges;
mysql> exit;
是因为password字段换了
update user set authentication_string=password('123456') where user='root' ;
6.找隐藏的usr
cd /usr
阅读全文
0 0
- ubuntu常见错误
- Ubuntu常见错误
- ubuntu常见安装错误
- ubuntu常见错误归纳
- ubuntu常见错误
- ubuntu 常见错误
- Ubuntu常见错误问题解决
- ubuntu 常见错误
- 常见./configure错误记录(Ubuntu)
- ubuntu 常见安装软件错误
- ubuntu 常见安装软件错误
- ubuntu 常见安装软件错误
- ubuntu 常见安装软件错误
- ubuntu 软件安装常见错误
- ubuntu配置nginx常见错误
- ubuntu常见错误及解决
- ubuntu nfs常见错误解决方法
- ubuntu下载安装常见错误
- IOS 元素定位工具
- InfoSphere DataStage 运行时列扩展(RCP)在 ETL 中的应用
- Pat(A) 1094. The Largest Generation (25)
- activiti学习--05流程实例:部署流程定义+部署流程定义+查询当前人的个人任务+完成我的任务
- Linux 网络配置文件笔记
- ubuntu 常见错误
- bzoj 3110: [Zjoi2013]K大数查询(树套树)
- elasticsearch安装步骤
- LeetCode
- 用多种方法交换两个数的值(转载)
- 使用过滤器实现判断session
- LR和SGD对比学习乳腺癌肿瘤数据集
- 几个主要的期刊杂志
- 二叉树中的最大路径和-LintCode