【docker】三、Permission denied与sudo命令
Table of Contents
Permission denied:
bash: sudo: command not found
No such file or directory
在64位的Linux上运行32位程序的时候会出现这种情况:
不要瞎捣鼓,32位就去用32位的镜像!
Permission denied:
执行:sudo chmod -R 777 myResources
sudo chmod -R 777 拒绝的文件名字
bash: sudo: command not found
执行:
apt-get update
apt-get install sudo
No such file or directory
在64位的Linux上运行32位程序的时候会出现这种情况:
执行bin文件时提示:No such file or directory (https://blog.csdn.net/qq_33438733/article/details/79672774)
解决方法:
sudo apt-get install ia32-libs
错误提示:
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32ncurses5 lib32z1
E: Package 'ia32-libs' has no installation candidate
则
To run 32bit executable file in a 64 bit multi-arch Ubuntu system, you have to add
i386
architecture and installlibc6:i386
,libncurses5:i386
,libstdc++6:i386
these three library packages.
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
sudo ./adb
The following packages have unmet dependencies:
libc6:i386 : Depends: libgcc1:i386 but it is not going to be installed
libncurses5:i386 : Depends: libtinfo5:i386 (= 6.0+20160213-1ubuntu1) but it is not going to be installedThe following packages have unmet dependencies:
libc6:i386 : Depends: libgcc1:i386 but it is not going to be installed
libncurses5:i386 : Depends: libtinfo5:i386 (= 6.0+20160213-1ubuntu1) but it is not going to be installed
https://blog.csdn.net/duanlove/article/details/54666441
以上并没有解决我的问题
总结:
不要瞎捣鼓,32位就去用32位的镜像!
【docker】三、Permission denied与sudo命令相关推荐
- docker解决permission denied
docker 每次都要sudo命令 每次运行docker命令之后都会出现 Got permission denied while trying to connect to the Docker dae ...
- zsh: permission denied:解决终端命令行失效,文件夹无权限的问题。
在 .zshrc中添加了一个 PATH. 把终端的权限全部给搞没了. 导致 输入任何命令都失效了.还以为自己的权限被系统给收回去了.导致输入 sudo都提示 找不到该命令.需要使用命令都需要打上 $在 ...
- docker Rails Permission denied @ dir_s_mkdir
sudo chmod 777 -R public 转载于:https://www.cnblogs.com/znsongshu/p/9777543.html
- mac mongodb : 715: /data/db/WiredTiger.turtle: handle-open: open: Permission denied
mongodb 出现错误: 715: /data/db/WiredTiger.turtle: handle-open: open: Permission denied 解决: sudo mongod ...
- docker 挂载主机目录访问报错Permission denied 解决办法
Docker挂载主机目录,访问相应的文件出现Premission denied的权限访问问题 挂载后,查看相应的文件出现如下的提示: [root@ba471da26d07 soft]# ls ls: ...
- Ubuntu16.04 使用sudo cat EOF 编辑文件,提示Permission denied错误的解决办法
一.执行命令报错 在Ubuntu16.04下,使用如下命令,修改hosts主机文件,居然提示权限错误: catty@node186:~$ sudo cat <<EOF > /etc/ ...
- docker执行权限问题Got permission denied while trying to connect to the Docker daemon socket
安装docker之后,执行docker images等命令,提示权限问题,报错如下: Got permission denied while trying to connect to the Dock ...
- aws 亚马逊 服务器 运行docker run报错 Got permission denied while trying to connect to the Docker daemon socket
问题: 当aws亚马逊服务器使用ec2-user运行docker run创建实例时,因为ec2-user没有权限所以会报错Got permission denied while trying to c ...
- dial unix /var/run/docker.sock: connect: permission denied
今天刚遇到的一个问题,使用非root用户时操作docker提示无权限,在查阅了一些文章之后自己又摸索出了一些更方便的方法,顺手记录下来. 一.问题发现 二.使用root用户进行操作 1. 临时使用ro ...
最新文章
- 求排列的逆序数(分治)
- C/C++中程序内存区域划分大总结
- php 批量转换文档编码格式_据说是国内最好的文档格式转换网址~PDF,PPT,EXCEL,WORD互相转换...
- HDU 2112 HDU Today lt;SPFA算法+map函数gt;
- gogs可以自动化部署吗_三千、五千平方的仓库房可以用自动化立体仓库吗?
- mysql php示例,PHP操作MYSQL简单示例
- 高效向前“零延迟” 数据中心IT自动化势在必行
- windows 32位系统中进程最大可用内存空间为3GB (转)
- linux url解码,js对url进行编码和解码(三种方式区别)
- [04-01]css组合选择器
- C++ Windows时间函数 QueryPerformanceCounter()与QueryPerformanceFrequency()
- [已解决]linux ubuntu unicode emoji字符显示问题
- Liferay layout_configuration 分析
- 科研写作——常见句式(九)
- 做最好的自己——摘自李镇西的《做最好的老师》
- 网络广告中各种广告形式
- matlab中霍夫线检测函数,matlab 霍夫检测
- 2023北京影视技术设备展览会
- win10家庭版用户实现远程桌面解决办法
- 干货分享!怎么复制硬盘到新硬盘
热门文章
- java 法定节假日_【java】如何获得每年的法定节假日期以及全年的日历
- 【Spring Boot 2.0学习之旅-15】SpringBoot2.0响应式编程
- 微信活码应用 淘宝购物好评返现卡
- 小白学习MySQL - 一次慢SQL的定位
- 贴片电阻有哪几类封装尺寸?
- 为什么说美团的天花板是美团自己?
- python求平均值_如何用python求平均值
- python离线安装第三方库
- 【短信发送】实现腾讯云发送短信功能--工具类和SpringBoot配置两种方法实现
- 基于Citespace和vosviewer文献计量学可视化SCI论文高效写作方法--开启从小白到精通的基于文献计量学论文写作之旅