【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:
執(zhí)行:sudo chmod -R 777 myResources
??????????? sudo chmod -R 777 拒絕的文件名字
bash: sudo: command not found
執(zhí)行:
apt-get update
apt-get install sudo
No such file or directory
在64位的Linux上運行32位程序的時候會出現這種情況:
執(zhí)行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 install libc6: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命令的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: css实现艺术字
- 下一篇: android 模拟器 派派,派派怎么在