Ubuntu 14.04 無法安裝odbcinst1debian2元件與odbcinst元件 [論壇 - Ubuntu安裝問題]
正在瀏覽:
1 名遊客
Ubuntu 14.04 無法安裝odbcinst1debian2元件與odbcinst元件 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員一級
![]() ![]() 註冊日期:
2015/3/10 14:47 所屬群組:
已註冊使用者 等級: 1
HP : 0 / 0
![]() |
情況大概是...當我要安裝元件odbcinst1debian2時, 錯誤訊息告訴我, 我必須先安裝元件odbcinst
(Package odbcinst is not installed.) 但是我安裝odbcinst元件時, 錯誤訊息告訴我尚未配置odbcinst1debian2, (odbcinst1debian2:amd64 is not configured yet.) 請問我要如何解決呢...Thanks... 錯誤訊息如下================================================== # dpkg -i odbcinst1debian2_2.2.14p2-5ubuntu5_amd64.deb Selecting previously unselected package odbcinst1debian2:amd64. (Reading database ... 62273 files and directories currently installed.) Preparing to unpack odbcinst1debian2_2.2.14p2-5ubuntu5_amd64.deb ... Unpacking odbcinst1debian2:amd64 (2.2.14p2-5ubuntu5) ... dpkg: dependency problems prevent configuration of odbcinst1debian2:amd64: odbcinst1debian2:amd64 depends on odbcinst; however: Package odbcinst is not installed. (必須先安裝元件) dpkg: error processing package odbcinst1debian2:amd64 (--install): dependency problems - leaving unconfigured Errors were encountered while processing: odbcinst1debian2:amd64 # dpkg -i odbcinst_2.2.14p2-5ubuntu5_amd64.deb Selecting previously unselected package odbcinst. (Reading database ... 62297 files and directories currently installed.) Preparing to unpack odbcinst_2.2.14p2-5ubuntu5_amd64.deb ... Unpacking odbcinst (2.2.14p2-5ubuntu5) ... dpkg: dependency problems prevent configuration of odbcinst: odbcinst depends on odbcinst1debian2 (>= 2.2.14p2); however: Package odbcinst1debian2:amd64 is not configured yet. (這裡說明尚未配置) dpkg: error processing package odbcinst (--install): dependency problems - leaving unconfigured Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Errors were encountered while processing: odbcinst
2015/3/10 15:00
|
||||||||||
![]() |
回覆: Ubuntu 14.04 無法安裝odbcinst1debian2元件與odbcinst元件 |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員五級
![]() ![]() 註冊日期:
2012/4/22 10:50 所屬群組:
已註冊使用者 等級: 37
HP : 0 / 905
![]() |
執行下面的指令來解決。
個人猜測,因為你直接下載deb檔「odbcinst1debian2_2.2.14p2-5ubuntu5_amd64.deb」,用「dpkg -i」安裝「odbcinst1debian2」。 然後相依的套件「odbcinst」並沒有事先安裝。所以要求你先安裝,所以你執行「dpkg -i」就會出現你說的訊息,你只要執行「sudo apt-get install -i」就會解決了,事後補裝「odbcinst」。 我之前有做了一個「索引」,有些文章應該有討論到。 另外,我用下面的指令查詢「odbcinst」。
顯示下面的訊息
或是執行
會顯示
表示內建的套件庫是有「odbcinst1debian2」這個套件的。 所以執行下面的指令就可以安裝「odbcinst1debian2」了,會一併安裝「odbcinst 」。
另外好奇一問,「odbcinst1debian2_2.2.14p2-5ubuntu5_amd64.deb」這個檔,您是去那裡下載的? ## 額外一提 下面的指令,你可以了解「odbcinst1debian2」,相依什麼套件
或是看一下該套件的資訊
可以看到一行
也可以執行
會看到有一段
直接看網頁「odbcinst1debian2」也行 報告完畢 ![]() 軟趴趴芋圓 寫到:
2015/3/10 16:30
|
||||||||||
![]() |
您可以查看帖子.
您不可發帖.
您不可回覆.
您不可編輯自己的帖子.
您不可刪除自己的帖子.
您不可發起投票調查.
您不可在投票調查中投票.
您不可上傳附件.
您不可不經審核直接發帖.