歡迎您光臨本站 註冊首頁

ncurses-devel 安裝解決方案小記 .

←手機掃碼閱讀     火星人 @ 2014-03-03 , reply:0

ncurses-devel 安裝解決方案小記 .

ncurses-devel 安裝解決方案小記 .


新裝了Ubuntu11.10,虛擬機用的Oracle VM VirtualBox。為了安裝飛思卡爾的LTIB,中間會出現很多沒有安裝的東西,就用apt-get
去安裝,但是有一半(大約六個)沒法之間安裝,所以只有下載包安裝,到最後只剩下兩個最難慘的包,一個是ncurses-devel ,一個是
glibc-devel,我在網上看到「ubuntu 下 編譯內核 make menuconfig 時缺少 ncurses-devel 的解決方案sudo apt-get install libncurses5-dev
」,我發現其實是同一個問題。
輸入sudo apt-get install libncurses5-dev過後出現以下問題
Error
E: The package  ncurses-devel needs to be reinstalled, but I can』t find an archive for it.
Solution
Run the following command
For ncurses-devel Pakage
dpkg --remove --force-remove-reinstreq ncurses-devel
You can replace ncurses-devel to any of your package name which is giving the error
但是#dpkg --remove --force-remove-reinstreq ncurses-devel過後問題又來啦,當然沒有問題最好不過了,直接搞定。
Error
dpkg: requested operation requires superuser privilege
solution
#dpkg --configure -a
#dpkg --remove --force-remove-reinstreq ncurses-devel
#apt-get install libncurses5-dev
ok!!
《解決方案》

謝謝分享....學習鳥

[火星人 ] ncurses-devel 安裝解決方案小記 .已經有567次圍觀

http://coctec.com/docs/service/show-post-1354.html