Linux下遇到的问题们

来源:互联网 发布:逆战柯尔特宏数据 编辑:程序博客网 时间:2024/06/05 09:29

    • su模式认证失败
    • configure command not found
    • E 软件包xxx没有可供安装的候选者

su模式认证失败

运行su模式失败,显示错误如下:

$ su密码: su:认证失败

认证失败,排除密码输入错误,找打如下方法:

$ sudo passwd root输入新的 UNIX 密码: 重新输入新的 UNIX 密码: passwd:已成功更新密码zoe@zoe-Lenovo:/home/zoe/desk$ su密码:root@zoe-Lenovo:/home/zoe/desk#

可以看到,终端显示变成了“root@zoe-Lenovo:/home/zoe/desk#”,接下来可以以root权限执行命令。

./configure command not found

在普通和su模式下运行,均出现如下问题:

# ./configure-bash: configure: command not found

参考http://blog.sina.com.cn/s/blog_55feec410100zula.html
执行如下代码,运行成功:

# chmod +x configure# ./configure

E: 软件包xxx没有可供安装的候选者

Lubuntu”软件包 没有可安装的候选者”解决办法

command line: sudo apt-get update

0 0
原创粉丝点击