WSL:Sub-process /usr/bin/dpkg returned an error code (1)
在WSL中安裝圖形化介面sudo apt-get install xfce4
時遇到 Sub-process /usr/bin/dpkg returned an error code (1) 錯誤
系統提示sudo apt --fix-broken install
網上許多方法都不好用,還會報相同的錯。
最後發現是libpng12-0這個庫下載不下來,加入相應源
sudo add-apt-repository ppa:linuxuprising/libpng12
sudo apt update
然後再執行sudo apt --fix-broken install
問題解決
相關文章
- Sub-process /usr/bin/dpkg returned an error codeError
- innobackupex:Error:xtrabackup child process has died at /usr/bin/innobackupexError
- /usr/bin/xauth: error in locking authority file錯誤Error
- 解決Xcode報錯:Command /usr/bin/codesign failed with exit code 1XCodeAI
- linux中/bin和/sbin和/usr/bin和/usr/sbinLinux
- 【shell 】 test, /usr/bin/test, [ ], 和/usr/bin/[都是等價命令
- 安裝pods提示Operation not permitted usr bin xcodeprojMITXCode
- /usr/bin/python與/usr/bin/env python的區別Python
- #!/usr/bin/env python與#!/usr/bin/python的區別Python
- Linux下/bin, /sbin, /usr/bin, /usr/sbin 等的區別Linux
- /bin、/sbin、/usr/bin、/usr/sbin、/usr/local/sbin放置可執行檔案的區別
- iOS開發除錯之報錯:Command /usr/bin/codesign failed with exit code 1iOS除錯AI
- Proguard returned with error code 1. See console解決辦法”Error
- Error: Could not load module '/usr/local/nagios/bin/ndo2ErroriOS
- #!/usr/bin/env pythonPython
- /usr/bin和/usr/sbin有什麼區別
- python中#!/usr/bin/python與#!/usr/bin/env python的區別Python
- /usr/bin/ld: cannot find -lopenblas
- code EACCESnpm ERR! syscall renamenpm ERR! path /usr/local/bin/webpack errno -13NPMWeb
- -bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: b...Framework
- Command /Applications/Xcode.app/Contents/Developer/usr/bin/copypng failed with exit code 1錯誤解決辦法...APPXCodeDeveloperAI
- /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic linkSymbol
- /usr/bin/ld: cannot find -lmysqlclient_rMySqlclient
- 【jenkins】/usr/bin/env: php: No such file or directoryJenkinsPHP
- Php cli模式下執行報錯/usr/bin/php: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/bin/php)PHP模式XMLORMAIUI
- 如何修復 Ubuntu 上“…script returned error exit status 1”的錯誤UbuntuError
- returned a non-zero code: 139
- You don't have write permissions for the /usr/bin directory.
- bundler安裝失敗,Operation not permitted - /usr/bin/***MIT
- 一分鐘看懂頭部 shell #!/usr/bin 命令
- mac下/usr/local/bin No such file or directory問題解決Mac
- Authentication is required to run /usr/bin/x-terminal-emulator as rootUI
- git error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500GitErrorRPCAIHTTP
- MongoDB server returned error on SASL authentication step: BSON field 'saslCoMongoDBServerError
- ORA-27192: skgfcls: sbtclose2 returned errorError
- ORA-27030: skgfwrt: sbtwrite2 returned errorError
- MySQL error log和bin logMySqlError
- /usr/bin/Xvnc: undefined symbol: pixman_composite_trapezoidsVNCUndefinedSymbol