随笔分类 -  Linux 错误总结

摘要:轉自:https://www.cnblogs.com/zhuangquan/p/13209758.html ,僅供參考學習使用 1.Network Manager Ubuntu Server: Ubuntu的Server版本只有终端界面,没有桌面GUI,且Server版本不会安装NetworkMan 阅读全文
posted @ 2023-04-18 10:13 白菜没我白 阅读(2440) 评论(0) 推荐(0) 编辑
摘要:我在笔记本电脑上安装了Ubuntu 16.04,当我有局域网连接时,启动ubuntu是很快的,当LAN电缆断开时,需要大约5分钟才能获得登录屏幕,这个实在是无法忍受。我的推测,且不一定准确我是通过Ubunut server安装的系统,安装时候链接了网络。所以系统被自动设置成连接到路由器自动通过DHC 阅读全文
posted @ 2023-04-13 08:56 白菜没我白 阅读(504) 评论(0) 推荐(0) 编辑
摘要:问题描述 虚拟机 VM Ware 重新安装的 ubuntu 22.04,在编译Linux 内核时,报【编译错误】,提示 openssl/bio.h: No such file or directory 解决方法 使用 sudo apt install openssl,提示 openssl 已经安装, 阅读全文
posted @ 2023-02-10 09:28 白菜没我白 阅读(1103) 评论(0) 推荐(0) 编辑
摘要:配置内核菜单报错 1、报错(1):/bin/sh: 1: flex: not found 解决方案(1) sudo apt-get install flex 2、报错(2):/bin/sh: 1: bison: not found 解决方案(2) sudo apt-get install bison 阅读全文
posted @ 2023-02-10 09:24 白菜没我白 阅读(1498) 评论(0) 推荐(0) 编辑
摘要:問題現象: mmc0: unrecognised EXT_CSD revision 8 mmc0: error -22 whilst initialising MMC card 解決方法: 在我们的参考设计板中,eMMC IC是Sandisk SDIN5C2-8(4.41),在i.MX6参考手册和数 阅读全文
posted @ 2023-01-14 10:08 白菜没我白 阅读(713) 评论(0) 推荐(0) 编辑
摘要:现象: 在用buildroot 构建根文件系统过程中产生过一些大大小小的问题, 比如在添加 ssh 的时候,发现 sshd 在开机自启的时候占用了很长的一段时间, 仔细观察打印信息发现,sshd 一定要等待直到 random: nonblocking pool is initialized 。 初始 阅读全文
posted @ 2023-01-10 10:58 白菜没我白 阅读(607) 评论(0) 推荐(0) 编辑
摘要:问题现象: 在 buildroot make的时候,出现以下的提示: You seem to have the current working directory in your LD_LIBRARY_PATH environment variable. This doesn't work. mak 阅读全文
posted @ 2022-12-19 15:20 白菜没我白 阅读(358) 评论(0) 推荐(0) 编辑
摘要:以上错误信息都是因为year设置不当引起的。没有设置RTC,RTC也不会启动计时。 下面首先设置正确的系统时间,然后将系统时间传递给RTC。 tm里的tm_year是从1900年开始算的,如要设置2010年,tm_year的值应该为110 解决方法: 1、先写入一次RTC时间 hwclock -w 阅读全文
posted @ 2022-12-05 10:40 白菜没我白 阅读(2043) 评论(0) 推荐(0) 编辑
摘要:问题: 脚本执行到截取字符串时,报错提示:Bad substitution。 原因: 两种shell语言解释器 bash和dash,这种情况是指向了dash解释器导致。 解决方法: 1.查看shell指向:ls -l /bin/sh 2.修改脚本指向bash方法1:sudo dpkg-reconfi 阅读全文
posted @ 2022-11-17 09:14 白菜没我白 阅读(1377) 评论(0) 推荐(0) 编辑
摘要:问题: 解决方法: 1.使用sudo apt-get update命令进行更新资源 2.Linux系统软件需要升级,用以下命令:sudo apt-get upgrade 阅读全文
posted @ 2022-11-14 11:06 白菜没我白 阅读(4472) 评论(0) 推荐(1) 编辑
摘要:windows下在多个git服务器之间切换,需要使用 ssh-add.exe ~/.ssh/id_rsa_xxx 重新添加git密钥才能正常clone代码,其中“id_ras_xxx”是密钥的名字,比如本人github所用的密钥名为id_rsa_github(这里需要注意不要同公钥发生混淆,公钥名为 阅读全文
posted @ 2022-09-23 12:20 白菜没我白 阅读(551) 评论(0) 推荐(0) 编辑
摘要:在ubuntu下,DNS配置在/etc/resolv.conf中,添加下面语句 nameserver 8.8.8.8 //google的域名解析服务器 nameserver 114.114.114.114 //联通的域名解析服务器 阅读全文
posted @ 2022-09-07 15:33 白菜没我白 阅读(712) 评论(0) 推荐(0) 编辑
摘要:使用了网络代理的情况下,出现了这样的问题,首先使用了网络上提到的两种方法: 发生这种错误主要有两种原因。一种是您电脑中的CA证书已经损坏,或者是您的网络设置了一个代理 重新安装一下CA证书: sudo apt-get install --reinstall ca-certificates 如果上面的 阅读全文
posted @ 2022-08-08 18:06 白菜没我白 阅读(482) 评论(0) 推荐(0) 编辑
摘要:在ubuntu16.04上编译TX2内核时,出现了如下错误: cc1: error: unrecognized command line option "-mlittle-endian"百度多次,说是交叉编译工具导致. 目前使用的cc为 aarch64-linux-gnu-gcc 存在于位置/usr 阅读全文
posted @ 2022-08-04 10:18 白菜没我白 阅读(1718) 评论(0) 推荐(0) 编辑
摘要:问题如下图代码: 或者再如下图: 里面,有一句很关键: 解决问题: 解决问题也很简单: ssh-keygen -R 你要访问的IP地址 例如: ssh-keygen -R 108.61.163.242 阅读全文
posted @ 2022-06-07 13:30 白菜没我白 阅读(65) 评论(0) 推荐(0) 编辑
摘要:在Linux下经常进行多用户下的拷贝,移动等操作。在向/mnt/nfs/目录下拷贝数据时出现如下提示: mv: failed to preserve ownership for ‘/mnt/nfs/COCO/train2014/COCO_train2014_000000021504.jpg’: Pe 阅读全文
posted @ 2022-06-04 10:55 白菜没我白 阅读(2242) 评论(0) 推荐(0) 编辑
摘要:问题: GitHub上把 XXX.zip 这个文件下下来后,在linux下用 unzip XXX.zip 指令将文件解压到当前文件夹的时候,解压会报错“symlink error: File name too long”,一直无法解压成功。 经过一番搜索,得知这是Linux下unzip一个bug。 阅读全文
posted @ 2022-03-22 08:41 白菜没我白 阅读(961) 评论(0) 推荐(0) 编辑
摘要:错误提示如下 解决方式 1.在客户端执行下述指令 #vi ~/.ssh/known_hosts 2.例如我的机子IP地址为:119.19.19.19 则把里面与所要连接IP(119.19.19.19)相关的内容删掉即可. 转自:https://blog.csdn.net/xlgen157387/ar 阅读全文
posted @ 2022-03-07 13:43 白菜没我白 阅读(98) 评论(0) 推荐(0) 编辑
摘要:问题现象 Unpacking nvidia-340 (340.107-0ubuntu0~gpu18.04.1) ... dpkg: error processing archive /var/cache/apt/archives/nvidia-340_340.107-0ubuntu0~gpu18.0 阅读全文
posted @ 2022-01-06 14:28 白菜没我白 阅读(5784) 评论(0) 推荐(1) 编辑
摘要:原因分析: 缺失了文件 .sudo_as_admin_successful 解决方法: 创建新的文件 touch ~/.sudo_as_admin_successful 阅读全文
posted @ 2021-12-10 09:46 白菜没我白 阅读(2833) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示