【Ubuntu笔记】常见错误提示整理

和黑猫之家聊聊?

错误提示:

Failed to execute child process "dbus-launch" (No such file or directory)

解决方法:

apt-get remove golang-docker-credential-helpers

-----

错误提示:

sudo: unable to resolve host localhost.localdomain

解决方法:

编辑/etc/hosts,将

127.0.0.1 localhost

修改为:

127.0.0.1 localhost localhost.localdomain

//也可以加上你的域名,如

127.0.0.1 localhost localhost.localdomain vps.wdssmq.com

-----

错误提示:

Missing: Digest::SHA1

解决方法:

cd /tmp

wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-2.13.tar.gz

tar -zxvf Digest*.tar.gz

cd Digest*

perl Makefile.PL

make

make test

make install

-----

错误提示:

requires either NcursesW or Ncurses library

Could not build sigc++-2.0

解决方法:

//在安装rtorrent + rutorrent时遇到的两种错误提示,,精简版系统少太多东西,,统一安装一下

sudo apt-get install libtool automake build-essential libssl-dev libsigc++-2.0-dev libc6-dev libncurses5-dev subversion libcppunit-dev unzip unrar-free curl


更多精彩内容,请关注黑猫之家

来黑猫之家看看呗

Copyright © 2021-2023 | 个人技术展示 |赣ICP备18005425号-1 | 赣公网安备36070202000869 |